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

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

Issue 10091003: Convert flash to thunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/callback_tracker.h" 9 #include "ppapi/shared_impl/callback_tracker.h"
10 #include "ppapi/shared_impl/ppapi_globals.h" 10 #include "ppapi/shared_impl/ppapi_globals.h"
(...skipping 20 matching lines...) Expand all
31 virtual ~TestGlobals(); 31 virtual ~TestGlobals();
32 32
33 // PpapiGlobals implementation. 33 // PpapiGlobals implementation.
34 virtual ResourceTracker* GetResourceTracker() OVERRIDE; 34 virtual ResourceTracker* GetResourceTracker() OVERRIDE;
35 virtual VarTracker* GetVarTracker() OVERRIDE; 35 virtual VarTracker* GetVarTracker() OVERRIDE;
36 virtual CallbackTracker* GetCallbackTrackerForInstance( 36 virtual CallbackTracker* GetCallbackTrackerForInstance(
37 PP_Instance instance) OVERRIDE; 37 PP_Instance instance) OVERRIDE;
38 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, 38 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
39 ApiID id) OVERRIDE; 39 ApiID id) OVERRIDE;
40 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; 40 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
41 virtual std::string GetCmdLine() OVERRIDE;
42 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE;
41 virtual base::Lock* GetProxyLock() OVERRIDE; 43 virtual base::Lock* GetProxyLock() OVERRIDE;
42 virtual void LogWithSource(PP_Instance instance, 44 virtual void LogWithSource(PP_Instance instance,
43 PP_LogLevel_Dev level, 45 PP_LogLevel_Dev level,
44 const std::string& source, 46 const std::string& source,
45 const std::string& value) OVERRIDE; 47 const std::string& value) OVERRIDE;
46 virtual void BroadcastLogWithSource(PP_Module module, 48 virtual void BroadcastLogWithSource(PP_Module module,
47 PP_LogLevel_Dev level, 49 PP_LogLevel_Dev level,
48 const std::string& source, 50 const std::string& source,
49 const std::string& value) OVERRIDE; 51 const std::string& value) OVERRIDE;
50 52
51 private: 53 private:
52 ResourceTracker resource_tracker_; 54 ResourceTracker resource_tracker_;
53 TestVarTracker var_tracker_; 55 TestVarTracker var_tracker_;
54 scoped_refptr<CallbackTracker> callback_tracker_; 56 scoped_refptr<CallbackTracker> callback_tracker_;
55 57
56 DISALLOW_COPY_AND_ASSIGN(TestGlobals); 58 DISALLOW_COPY_AND_ASSIGN(TestGlobals);
57 }; 59 };
58 60
59 } // namespace ppapi 61 } // namespace ppapi
60 62
61 #endif // PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ 63 #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