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

Unified Diff: chrome/browser/plugin_process_host.h

Issue 24017: More refactoring of PluginProcessHost (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/memory_details.cc ('k') | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_process_host.h
===================================================================
--- chrome/browser/plugin_process_host.h (revision 9735)
+++ chrome/browser/plugin_process_host.h (working copy)
@@ -8,18 +8,15 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/id_map.h"
#include "base/object_watcher.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/net/resolve_proxy_msg_helper.h"
#include "chrome/browser/renderer_host/resource_message_filter.h"
#include "chrome/common/child_process_info.h"
-#include "chrome/common/ipc_channel_proxy.h"
+#include "chrome/common/ipc_channel.h"
#include "webkit/glue/webplugin.h"
-class PluginService;
-class PluginProcessHost;
class ResourceDispatcherHost;
class URLRequestContext;
struct ViewHostMsg_Resource_Request;
@@ -39,7 +36,7 @@
public base::ObjectWatcher::Delegate,
public ResolveProxyMsgHelper::Delegate {
public:
- PluginProcessHost(PluginService* plugin_service);
+ PluginProcessHost();
~PluginProcessHost();
// Initialize the new plugin process, returning true on success. This must
@@ -89,6 +86,8 @@
// Shuts down the current plugin process instance.
void Shutdown();
+ const WebPluginInfo& info() const { return info_; }
+
private:
friend class PluginResolveProxyHelper;
@@ -153,10 +152,6 @@
// Information about the plugin.
WebPluginInfo info_;
- PluginService* plugin_service_;
-
- ResourceDispatcherHost* resource_dispatcher_host_;
-
// Helper class for handling PluginProcessHost_ResolveProxy messages (manages
// the requests to the proxy service).
ResolveProxyMsgHelper resolve_proxy_msg_helper_;
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698