summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_service.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 00:52:35 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 00:52:35 +0000
commitdabe607133c5b62e6b0134017f35cb87d0d4f3b6 (patch)
treedb5d35947dcfa2810c7e7e19364ecaae37aa0912 /chrome/browser/plugin_service.cc
parenta91baaa1bab5fe3de395aad464015a098290a46b (diff)
downloadchromium_src-dabe607133c5b62e6b0134017f35cb87d0d4f3b6.zip
chromium_src-dabe607133c5b62e6b0134017f35cb87d0d4f3b6.tar.gz
chromium_src-dabe607133c5b62e6b0134017f35cb87d0d4f3b6.tar.bz2
Hide the details about ResourceDispatcherHost messages from child processes. The usage of RDH is now like RD, the client sends the message to RDH to see if it should handle it. I added methods to the Receiver interface so that RDH can get to the process id/handle/type when starting requests.
Review URL: http://codereview.chromium.org/42202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_service.cc')
-rw-r--r--chrome/browser/plugin_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc
index ed9f042..26f791b 100644
--- a/chrome/browser/plugin_service.cc
+++ b/chrome/browser/plugin_service.cc
@@ -110,7 +110,7 @@ PluginProcessHost* PluginService::FindOrStartPluginProcess(
}
// This plugin isn't loaded by any plugin process, so create a new process.
- plugin_host = new PluginProcessHost(main_message_loop_);
+ plugin_host = new PluginProcessHost();
if (!plugin_host->Init(info, clsid, ui_locale_)) {
DCHECK(false); // Init is not expected to fail
delete plugin_host;