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

Side by Side Diff: ppapi/shared_impl/test_globals.h

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.h ('k') | ppapi/shared_impl/test_globals.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ 5 #ifndef PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
6 #define PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ 6 #define PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/shared_impl/ppapi_globals.h" 9 #include "ppapi/shared_impl/ppapi_globals.h"
10 #include "ppapi/shared_impl/resource_tracker.h" 10 #include "ppapi/shared_impl/resource_tracker.h"
11 #include "ppapi/shared_impl/var_tracker.h" 11 #include "ppapi/shared_impl/var_tracker.h"
12 12
13 namespace ppapi { 13 namespace ppapi {
14 14
15 // Implementation of PpapiGlobals for tests that don't need either the host- or 15 // Implementation of PpapiGlobals for tests that don't need either the host- or
16 // plugin-specific implementations. 16 // plugin-specific implementations.
17 class TestGlobals : public PpapiGlobals { 17 class TestGlobals : public PpapiGlobals {
18 public: 18 public:
19 TestGlobals(); 19 TestGlobals();
20 virtual ~TestGlobals(); 20 virtual ~TestGlobals();
21 21
22 // PpapiGlobals implementation. 22 // PpapiGlobals implementation.
23 virtual ResourceTracker* GetResourceTracker() OVERRIDE; 23 virtual ResourceTracker* GetResourceTracker() OVERRIDE;
24 virtual VarTracker* GetVarTracker() OVERRIDE; 24 virtual VarTracker* GetVarTracker() OVERRIDE;
25 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, 25 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
26 proxy::InterfaceID id) OVERRIDE; 26 ApiID id) OVERRIDE;
27 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; 27 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
28 28
29 private: 29 private:
30 ResourceTracker resource_tracker_; 30 ResourceTracker resource_tracker_;
31 VarTracker var_tracker_; 31 VarTracker var_tracker_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(TestGlobals); 33 DISALLOW_COPY_AND_ASSIGN(TestGlobals);
34 }; 34 };
35 35
36 } // namespace ppapi 36 } // namespace ppapi
37 37
38 #endif // PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ 38 #endif // PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.h ('k') | ppapi/shared_impl/test_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698