summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_child_process_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 04:29:16 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 04:29:16 +0000
commit0d6e9bd0a2788f03f07f4b90a222fe06270b79b5 (patch)
tree3fc6241baab067ed8e2ad6269d6bbe671d1f5fe2 /content/browser/browser_child_process_host.cc
parent5ef8e376b54fe7c38dcf3bae8219b3cabae7597c (diff)
downloadchromium_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/browser_child_process_host.cc')
-rw-r--r--content/browser/browser_child_process_host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index 41c6232..12a023a 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -21,6 +21,7 @@
#include "content/common/plugin_messages.h"
#include "content/common/process_watcher.h"
#include "content/common/result_codes.h"
+#include "content/public/browser/notification_types.h"
#include "content/public/common/content_switches.h"
#if defined(OS_WIN)
@@ -128,6 +129,10 @@ base::TerminationStatus BrowserChildProcessHost::GetChildTerminationStatus(
return child_process_->GetChildTerminationStatus(exit_code);
}
+void BrowserChildProcessHost::OnChannelConnected(int32 peer_pid) {
+ Notify(content::NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED);
+}
+
// The ChildProcessHost default implementation calls OnChildDied() always
// but at this layer and below we need to have the final child process exit
// code to properly bucket crashes vs kills. At least on Windows we can do