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

Unified Diff: content/browser/renderer_host/buffered_resource_handler.h

Issue 7980011: Convert the PluginService interface to be an async wrapper around PluginList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 9 years, 3 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
Index: content/browser/renderer_host/buffered_resource_handler.h
diff --git a/content/browser/renderer_host/buffered_resource_handler.h b/content/browser/renderer_host/buffered_resource_handler.h
index 8257f5460d8a9671a3755a100aebe21c1888de90..01171a28be34d5ad0b8d5b9d8ebd3986d17a098a 100644
--- a/content/browser/renderer_host/buffered_resource_handler.h
+++ b/content/browser/renderer_host/buffered_resource_handler.h
@@ -9,6 +9,7 @@
#include <string>
#include "content/browser/renderer_host/resource_handler.h"
+#include "webkit/plugins/webplugininfo.h"
jam 2011/09/21 00:04:51 nit: forward declare
class MessageLoop;
class ResourceDispatcherHost;
@@ -69,11 +70,8 @@ class BufferedResourceHandler : public ResourceHandler {
// A reference to |handler| is acquired.
void UseAlternateResourceHandler(int request_id, ResourceHandler* handler);
- // Called on the file thread to load the list of plugins.
- void LoadPlugins();
-
// Called on the IO thread once the list of plugins has been loaded.
- void OnPluginsLoaded();
+ void OnPluginsLoaded(std::vector<webkit::WebPluginInfo> plugins);
jam 2011/09/21 00:04:51 nit: const reference
scoped_refptr<ResourceHandler> real_handler_;
scoped_refptr<ResourceResponse> response_;

Powered by Google App Engine
This is Rietveld 408576698