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

Side by Side Diff: ppapi/proxy/plugin_globals.h

Issue 25328002: PPAPI: Remove instance param from GetFileTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/proxy/file_io_resource.cc ('k') | ppapi/proxy/plugin_globals.cc » ('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 #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
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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/file_io_resource.cc ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698