diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 04:29:16 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 04:29:16 +0000 |
commit | 0d6e9bd0a2788f03f07f4b90a222fe06270b79b5 (patch) | |
tree | 3fc6241baab067ed8e2ad6269d6bbe671d1f5fe2 /content/browser/plugin_process_host.cc | |
parent | 5ef8e376b54fe7c38dcf3bae8219b3cabae7597c (diff) | |
download | chromium_src-0d6e9bd0a2788f03f07f4b90a222fe06270b79b5.zip chromium_src-0d6e9bd0a2788f03f07f4b90a222fe06270b79b5.tar.gz chromium_src-0d6e9bd0a2788f03f07f4b90a222fe06270b79b5.tar.bz2 |
Move content_notification_types.h from content\common to content\public\browser. I dropped the "content" from the name to match other files whose chrome version adds a "chrome_" prefix. I also moved it to the browser directory since notifications are only used in the browser process. I will move the other notification files in future changes.
BUG=98716
Review URL: http://codereview.chromium.org/8331001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r-- | content/browser/plugin_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index 05628f6..f120d43 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -308,6 +308,7 @@ bool PluginProcessHost::OnMessageReceived(const IPC::Message& msg) { } void PluginProcessHost::OnChannelConnected(int32 peer_pid) { + BrowserChildProcessHost::OnChannelConnected(peer_pid); for (size_t i = 0; i < pending_requests_.size(); ++i) { RequestPluginChannel(pending_requests_[i]); } @@ -354,7 +355,7 @@ void PluginProcessHost::CancelPendingRequestsForResourceContext( } void PluginProcessHost::OpenChannelToPlugin(Client* client) { - InstanceCreated(); + Notify(content::NOTIFICATION_CHILD_INSTANCE_CREATED); client->SetPluginInfo(info_); if (opening_channel()) { // The channel is already in the process of being opened. Put |