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

Unified Diff: content/browser/plugin_service.h

Issue 8243010: Queue callbacks in PluginService::GetPlugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/plugin_loader.cc ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_service.h
diff --git a/content/browser/plugin_service.h b/content/browser/plugin_service.h
index b53bb5d65eff006b1339431593a406973c109f0d..3fac1af1c8e77758bcc936b4babc632276247a12 100644
--- a/content/browser/plugin_service.h
+++ b/content/browser/plugin_service.h
@@ -37,6 +37,7 @@
struct PepperPluginInfo;
class PluginDirWatcherDelegate;
+class PluginLoader;
namespace base {
class MessageLoopProxy;
@@ -198,6 +199,12 @@ class CONTENT_EXPORT PluginService
void GetPluginsInternal(base::MessageLoopProxy* target_loop,
const GetPluginsCallback& callback);
+#if defined(OS_POSIX)
+ void LoadPluginsOutOfProcess(
+ base::MessageLoopProxy* target_loop,
+ const PluginService::GetPluginsCallback& callback);
+#endif
+
// Binding directly to GetAllowedPluginForOpenChannelToPlugin() isn't possible
// because more arity is needed <http://crbug.com/98542>. This just forwards.
void ForwardGetAllowedPluginForOpenChannelToPlugin(
@@ -257,6 +264,10 @@ class CONTENT_EXPORT PluginService
std::set<PluginProcessHost::Client*> pending_plugin_clients_;
+#if defined(OS_POSIX)
+ scoped_refptr<PluginLoader> plugin_loader_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(PluginService);
};
« no previous file with comments | « content/browser/plugin_loader.cc ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698