diff options
Diffstat (limited to 'content/common/child_process_host.cc')
-rw-r--r-- | content/common/child_process_host.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/child_process_host.cc b/content/common/child_process_host.cc index c1dce2e..6a14750 100644 --- a/content/common/child_process_host.cc +++ b/content/common/child_process_host.cc @@ -133,7 +133,7 @@ bool ChildProcessHost::CreateChannel() { } 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::OnChildDied() { void ChildProcessHost::ShutdownStarted() { } -void ChildProcessHost::Notify(NotificationType type) { +void ChildProcessHost::Notify(int type) { } ChildProcessHost::ListenerHook::ListenerHook(ChildProcessHost* host) @@ -209,7 +209,7 @@ void ChildProcessHost::ListenerHook::OnChannelConnected(int32 peer_pid) { 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); |