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

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

Issue 10910099: PPAPI: Make CompletionCallbacks work right on background threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 1 month 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/ppapi_shared.gypi ('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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; 49 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE;
50 virtual base::Lock* GetProxyLock() OVERRIDE; 50 virtual base::Lock* GetProxyLock() OVERRIDE;
51 virtual void LogWithSource(PP_Instance instance, 51 virtual void LogWithSource(PP_Instance instance,
52 PP_LogLevel_Dev level, 52 PP_LogLevel_Dev level,
53 const std::string& source, 53 const std::string& source,
54 const std::string& value) OVERRIDE; 54 const std::string& value) OVERRIDE;
55 virtual void BroadcastLogWithSource(PP_Module module, 55 virtual void BroadcastLogWithSource(PP_Module module,
56 PP_LogLevel_Dev level, 56 PP_LogLevel_Dev level,
57 const std::string& source, 57 const std::string& source,
58 const std::string& value) OVERRIDE; 58 const std::string& value) OVERRIDE;
59 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE;
59 60
60 // Getters for the plugin-specific versions. 61 // Getters for the plugin-specific versions.
61 PluginResourceTracker* plugin_resource_tracker() { 62 PluginResourceTracker* plugin_resource_tracker() {
62 return &plugin_resource_tracker_; 63 return &plugin_resource_tracker_;
63 } 64 }
64 PluginVarTracker* plugin_var_tracker() { 65 PluginVarTracker* plugin_var_tracker() {
65 return &plugin_var_tracker_; 66 return &plugin_var_tracker_;
66 } 67 }
67 68
68 // The embedder should call set_proxy_delegate during startup. 69 // The embedder should call set_proxy_delegate during startup.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // called. 125 // called.
125 std::string command_line_; 126 std::string command_line_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); 128 DISALLOW_COPY_AND_ASSIGN(PluginGlobals);
128 }; 129 };
129 130
130 } // namespace proxy 131 } // namespace proxy
131 } // namespace ppapi 132 } // namespace ppapi
132 133
133 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ 134 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698