OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/child/navigator_connect/navigator_connect_dispatcher.h" | 5 #include "content/child/navigator_connect/navigator_connect_dispatcher.h" |
6 | 6 |
7 #include "content/child/navigator_connect/navigator_connect_provider.h" | 7 #include "content/child/navigator_connect/navigator_connect_provider.h" |
8 #include "content/common/navigator_connect_messages.h" | 8 #include "content/common/navigator_connect_messages.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 void NavigatorConnectDispatcher::OnFilteredMessageReceived( | 24 void NavigatorConnectDispatcher::OnFilteredMessageReceived( |
25 const IPC::Message& msg) { | 25 const IPC::Message& msg) { |
26 NavigatorConnectProvider::ThreadSpecificInstance( | 26 NavigatorConnectProvider::ThreadSpecificInstance( |
27 thread_safe_sender(), main_thread_task_runner())->OnMessageReceived(msg); | 27 thread_safe_sender(), main_thread_task_runner())->OnMessageReceived(msg); |
28 } | 28 } |
29 | 29 |
30 bool NavigatorConnectDispatcher::GetWorkerThreadIdForMessage( | 30 bool NavigatorConnectDispatcher::GetWorkerThreadIdForMessage( |
31 const IPC::Message& msg, | 31 const IPC::Message& msg, |
32 int* ipc_thread_id) { | 32 int* ipc_thread_id) { |
33 return PickleIterator(msg).ReadInt(ipc_thread_id); | 33 return base::PickleIterator(msg).ReadInt(ipc_thread_id); |
34 } | 34 } |
35 | 35 |
36 } // namespace content | 36 } // namespace content |
OLD | NEW |