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); |