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

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

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/test_globals.h ('k') | ppapi/thunk/enter.h » ('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 #include "ppapi/shared_impl/test_globals.h" 5 #include "ppapi/shared_impl/test_globals.h"
6 6
7 namespace ppapi { 7 namespace ppapi {
8 8
9 TestGlobals::TestGlobals() 9 TestGlobals::TestGlobals()
10 : ppapi::PpapiGlobals(), 10 : ppapi::PpapiGlobals(),
(...skipping 14 matching lines...) Expand all
25 25
26 VarTracker* TestGlobals::GetVarTracker() { 26 VarTracker* TestGlobals::GetVarTracker() {
27 return &var_tracker_; 27 return &var_tracker_;
28 } 28 }
29 29
30 CallbackTracker* TestGlobals::GetCallbackTrackerForInstance( 30 CallbackTracker* TestGlobals::GetCallbackTrackerForInstance(
31 PP_Instance instance) { 31 PP_Instance instance) {
32 return callback_tracker_.get(); 32 return callback_tracker_.get();
33 } 33 }
34 34
35 FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) { 35 thunk::PPB_Instance_API* TestGlobals::GetInstanceAPI(
36 PP_Instance instance) {
36 return NULL; 37 return NULL;
37 } 38 }
38 39
40 thunk::ResourceCreationAPI* TestGlobals::GetResourceCreationAPI(
41 PP_Instance instance) {
42 return NULL;
43 }
44
39 PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) { 45 PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) {
40 return 0; 46 return 0;
41 } 47 }
42 48
43 std::string TestGlobals::GetCmdLine() { 49 std::string TestGlobals::GetCmdLine() {
44 return std::string(); 50 return std::string();
45 } 51 }
46 52
47 void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) { 53 void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) {
48 } 54 }
49 55
50 base::Lock* TestGlobals::GetProxyLock() { 56 base::Lock* TestGlobals::GetProxyLock() {
51 return NULL; 57 return NULL;
52 } 58 }
53 59
54 void TestGlobals::LogWithSource(PP_Instance instance, 60 void TestGlobals::LogWithSource(PP_Instance instance,
55 PP_LogLevel_Dev level, 61 PP_LogLevel_Dev level,
56 const std::string& source, 62 const std::string& source,
57 const std::string& value) { 63 const std::string& value) {
58 } 64 }
59 65
60 void TestGlobals::BroadcastLogWithSource(PP_Module module, 66 void TestGlobals::BroadcastLogWithSource(PP_Module module,
61 PP_LogLevel_Dev level, 67 PP_LogLevel_Dev level,
62 const std::string& source, 68 const std::string& source,
63 const std::string& value) { 69 const std::string& value) {
64 } 70 }
65 71
66 } // namespace ppapi 72 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/thunk/enter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698