diff options
author | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-03 05:47:42 +0000 |
---|---|---|
committer | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-03 05:47:42 +0000 |
commit | d27893f65dbd01a0d88dcda2a69f518e4b8a636d (patch) | |
tree | 7b0573f1158681243b6605bd9f67521c9ee3193c /chrome/browser/plugin_process_host.cc | |
parent | dfe7f3288af471067ecd9117049e96aa39778da9 (diff) | |
download | chromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.zip chromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.tar.gz chromium_src-d27893f65dbd01a0d88dcda2a69f518e4b8a636d.tar.bz2 |
Moved common parts of ChildProcessHost into chrome/common and created a BrowserChildProcessHost with browser-specific implementation. This is in preparation of creating a ServiceChildProcessHost.
BUG=None
TEST=Test for regressions .
Review URL: http://codereview.chromium.org/2885017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r-- | chrome/browser/plugin_process_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index 409d6c0..5becc27 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -285,7 +285,7 @@ void PluginProcessHost::OnMapNativeViewId(gfx::NativeViewId id, #endif // defined(TOOLKIT_USES_GTK) PluginProcessHost::PluginProcessHost() - : ChildProcessHost( + : BrowserChildProcessHost( PLUGIN_PROCESS, PluginService::GetInstance()->resource_dispatcher_host()), ALLOW_THIS_IN_INITIALIZER_LIST(resolve_proxy_msg_helper_(this, NULL)) @@ -456,7 +456,7 @@ bool PluginProcessHost::Init(const WebPluginInfo& info, void PluginProcessHost::ForceShutdown() { DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); Send(new PluginProcessMsg_NotifyRenderersOfPendingShutdown()); - ChildProcessHost::ForceShutdown(); + BrowserChildProcessHost::ForceShutdown(); } void PluginProcessHost::OnProcessLaunched() { |