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 #ifndef PPAPI_PROXY_PLUGIN_GLOBALS_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
6 #define PPAPI_PROXY_PLUGIN_GLOBALS_H_ | 6 #define PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; | 65 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; |
66 virtual void LogWithSource(PP_Instance instance, | 66 virtual void LogWithSource(PP_Instance instance, |
67 PP_LogLevel level, | 67 PP_LogLevel level, |
68 const std::string& source, | 68 const std::string& source, |
69 const std::string& value) OVERRIDE; | 69 const std::string& value) OVERRIDE; |
70 virtual void BroadcastLogWithSource(PP_Module module, | 70 virtual void BroadcastLogWithSource(PP_Module module, |
71 PP_LogLevel level, | 71 PP_LogLevel level, |
72 const std::string& source, | 72 const std::string& source, |
73 const std::string& value) OVERRIDE; | 73 const std::string& value) OVERRIDE; |
74 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; | 74 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; |
75 base::TaskRunner* GetFileTaskRunner(PP_Instance instance) OVERRIDE; | 75 base::TaskRunner* GetFileTaskRunner() OVERRIDE; |
76 | 76 |
77 // Returns the channel for sending to the browser. | 77 // Returns the channel for sending to the browser. |
78 IPC::Sender* GetBrowserSender(); | 78 IPC::Sender* GetBrowserSender(); |
79 | 79 |
80 // Returns the language code of the current UI language. | 80 // Returns the language code of the current UI language. |
81 std::string GetUILanguage(); | 81 std::string GetUILanguage(); |
82 | 82 |
83 // Sets the active url which is reported by breakpad. | 83 // Sets the active url which is reported by breakpad. |
84 void SetActiveURL(const std::string& url); | 84 void SetActiveURL(const std::string& url); |
85 | 85 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // lazily, since it might not be needed. | 160 // lazily, since it might not be needed. |
161 scoped_ptr<base::Thread> file_thread_; | 161 scoped_ptr<base::Thread> file_thread_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); | 163 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace proxy | 166 } // namespace proxy |
167 } // namespace ppapi | 167 } // namespace ppapi |
168 | 168 |
169 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ | 169 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
OLD | NEW |