| 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/ppapi_globals.h" | 5 #include "ppapi/shared_impl/ppapi_globals.h" |
| 6 | 6 |
| 7 #include "base/lazy_instance.h" // For testing purposes only. | 7 #include "base/lazy_instance.h" // For testing purposes only. |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "base/threading/thread_local.h" // For testing purposes only. | 10 #include "base/threading/thread_local.h" // For testing purposes only. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 62 } |
| 63 | 63 |
| 64 bool PpapiGlobals::IsHostGlobals() const { | 64 bool PpapiGlobals::IsHostGlobals() const { |
| 65 return false; | 65 return false; |
| 66 } | 66 } |
| 67 | 67 |
| 68 bool PpapiGlobals::IsPluginGlobals() const { | 68 bool PpapiGlobals::IsPluginGlobals() const { |
| 69 return false; | 69 return false; |
| 70 } | 70 } |
| 71 | 71 |
| 72 void PpapiGlobals::MarkPluginIsActive() { |
| 73 } |
| 74 |
| 72 // static | 75 // static |
| 73 PpapiGlobals* PpapiGlobals::GetThreadLocalPointer() { | 76 PpapiGlobals* PpapiGlobals::GetThreadLocalPointer() { |
| 74 return tls_ppapi_globals_for_test.Pointer()->Get(); | 77 return tls_ppapi_globals_for_test.Pointer()->Get(); |
| 75 } | 78 } |
| 76 | 79 |
| 77 } // namespace ppapi | 80 } // namespace ppapi |
| OLD | NEW |