OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) { | 35 FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) { |
36 return NULL; | 36 return NULL; |
37 } | 37 } |
38 | 38 |
39 PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) { | 39 PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) { |
40 return 0; | 40 return 0; |
41 } | 41 } |
42 | 42 |
| 43 std::string TestGlobals::GetCmdLine() { |
| 44 return std::string(); |
| 45 } |
| 46 |
| 47 void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) { |
| 48 } |
| 49 |
43 base::Lock* TestGlobals::GetProxyLock() { | 50 base::Lock* TestGlobals::GetProxyLock() { |
44 return NULL; | 51 return NULL; |
45 } | 52 } |
46 | 53 |
47 void TestGlobals::LogWithSource(PP_Instance instance, | 54 void TestGlobals::LogWithSource(PP_Instance instance, |
48 PP_LogLevel_Dev level, | 55 PP_LogLevel_Dev level, |
49 const std::string& source, | 56 const std::string& source, |
50 const std::string& value) { | 57 const std::string& value) { |
51 } | 58 } |
52 | 59 |
53 void TestGlobals::BroadcastLogWithSource(PP_Module module, | 60 void TestGlobals::BroadcastLogWithSource(PP_Module module, |
54 PP_LogLevel_Dev level, | 61 PP_LogLevel_Dev level, |
55 const std::string& source, | 62 const std::string& source, |
56 const std::string& value) { | 63 const std::string& value) { |
57 } | 64 } |
58 | 65 |
59 } // namespace ppapi | 66 } // namespace ppapi |
OLD | NEW |