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

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

Issue 11416214: PPAPI: Move PPB_Console out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Examples Created 8 years 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 52
53 void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) { 53 void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) {
54 } 54 }
55 55
56 base::Lock* TestGlobals::GetProxyLock() { 56 base::Lock* TestGlobals::GetProxyLock() {
57 return NULL; 57 return NULL;
58 } 58 }
59 59
60 void TestGlobals::LogWithSource(PP_Instance instance, 60 void TestGlobals::LogWithSource(PP_Instance instance,
61 PP_LogLevel_Dev level, 61 PP_LogLevel level,
62 const std::string& source, 62 const std::string& source,
63 const std::string& value) { 63 const std::string& value) {
64 } 64 }
65 65
66 void TestGlobals::BroadcastLogWithSource(PP_Module module, 66 void TestGlobals::BroadcastLogWithSource(PP_Module module,
67 PP_LogLevel_Dev level, 67 PP_LogLevel level,
68 const std::string& source, 68 const std::string& source,
69 const std::string& value) { 69 const std::string& value) {
70 } 70 }
71 71
72 MessageLoopShared* TestGlobals::GetCurrentMessageLoop() { 72 MessageLoopShared* TestGlobals::GetCurrentMessageLoop() {
73 return NULL; 73 return NULL;
74 } 74 }
75 75
76 bool TestGlobals::IsHostGlobals() const { 76 bool TestGlobals::IsHostGlobals() const {
77 // Pretend to be the host-side, for code that expects one or the other. 77 // Pretend to be the host-side, for code that expects one or the other.
78 // TODO(dmichael): just make it settable which one we're pretending to be? 78 // TODO(dmichael): just make it settable which one we're pretending to be?
79 return true; 79 return true;
80 } 80 }
81 81
82 } // namespace ppapi 82 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698