Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: content/renderer/pepper/unittest_instance_util.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in GetAbsolutePath (fixes FlashDRM test failure) Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_PEPPER_UNITTEST_INSTANCE_UTIL_H_
6 #define CONTENT_RENDERER_PEPPER_UNITTEST_INSTANCE_UTIL_H_
7
8 #include "base/basictypes.h"
9
10 namespace content {
11 class PepperPluginInstanceImpl;
12 class PluginModule;
13
14 // Creates a PluginModule and PepperPluginInstanceImpl for use in tests. This
15 // was split out from PpapiUnittest to allow this to be used from tests based
16 // on RenderViewTest.
17 class UnittestInstanceUtil {
18 public:
19 UnittestInstanceUtil();
20 ~UnittestInstanceUtil();
21
22 bool SetUp();
23 void TearDown();
24
25 PepperPluginInstanceImpl* instance() const;
26 PluginModule* module() const;
27
28 private:
29 PepperPluginInstanceImpl* instance_;
30 PluginModule* module_;
31 DISALLOW_COPY_AND_ASSIGN(UnittestInstanceUtil);
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_RENDERER_PEPPER_UNITTEST_INSTANCE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698