| Index: content/child/navigator_connect/navigator_connect_dispatcher.h
|
| diff --git a/content/child/bluetooth/bluetooth_message_filter.h b/content/child/navigator_connect/navigator_connect_dispatcher.h
|
| similarity index 53%
|
| copy from content/child/bluetooth/bluetooth_message_filter.h
|
| copy to content/child/navigator_connect/navigator_connect_dispatcher.h
|
| index db18380688f9edc31761e2644d65f44cf99b3d16..3455912d71b2fbf44e688182cb017560de80b170 100644
|
| --- a/content/child/bluetooth/bluetooth_message_filter.h
|
| +++ b/content/child/navigator_connect/navigator_connect_dispatcher.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_
|
| -#define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_
|
| +#ifndef CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_
|
| +#define CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_
|
|
|
| #include "content/child/child_message_filter.h"
|
|
|
| @@ -15,12 +15,14 @@ namespace content {
|
|
|
| class ThreadSafeSender;
|
|
|
| -class BluetoothMessageFilter : public ChildMessageFilter {
|
| +// Receives IPC messages from the browser process and dispatches them to the
|
| +// correct thread specific NavigatorConnectProvider.
|
| +class NavigatorConnectDispatcher : public ChildMessageFilter {
|
| public:
|
| - explicit BluetoothMessageFilter(ThreadSafeSender* thread_safe_sender);
|
| + explicit NavigatorConnectDispatcher(ThreadSafeSender* thread_safe_sender);
|
|
|
| private:
|
| - ~BluetoothMessageFilter() override;
|
| + ~NavigatorConnectDispatcher() override;
|
|
|
| // ChildMessageFilter implementation:
|
| base::TaskRunner* OverrideTaskRunnerForMessage(
|
| @@ -30,9 +32,9 @@ class BluetoothMessageFilter : public ChildMessageFilter {
|
| scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
|
| scoped_refptr<ThreadSafeSender> thread_safe_sender_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(BluetoothMessageFilter);
|
| + DISALLOW_COPY_AND_ASSIGN(NavigatorConnectDispatcher);
|
| };
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_
|
| +#endif // CONTENT_CHILD_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_H_
|
|
|