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

Unified Diff: content/common/child_process_host.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « content/common/child_process_host.h ('k') | content/common/content_notification_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_host.cc
===================================================================
--- content/common/child_process_host.cc (revision 91968)
+++ content/common/child_process_host.cc (working copy)
@@ -133,7 +133,7 @@
}
void ChildProcessHost::InstanceCreated() {
- Notify(NotificationType::CHILD_INSTANCE_CREATED);
+ Notify(content::NOTIFICATION_CHILD_INSTANCE_CREATED);
}
bool ChildProcessHost::OnMessageReceived(const IPC::Message& msg) {
@@ -161,7 +161,7 @@
void ChildProcessHost::ShutdownStarted() {
}
-void ChildProcessHost::Notify(NotificationType type) {
+void ChildProcessHost::Notify(int type) {
}
ChildProcessHost::ListenerHook::ListenerHook(ChildProcessHost* host)
@@ -209,7 +209,7 @@
host_->opening_channel_ = false;
host_->OnChannelConnected(peer_pid);
// Notify in the main loop of the connection.
- host_->Notify(NotificationType::CHILD_PROCESS_HOST_CONNECTED);
+ host_->Notify(content::NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED);
for (size_t i = 0; i < host_->filters_.size(); ++i)
host_->filters_[i]->OnChannelConnected(peer_pid);
« no previous file with comments | « content/common/child_process_host.h ('k') | content/common/content_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698