OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_ | |
6 #define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_ | |
7 | |
8 #include "content/child/worker_thread_message_filter.h" | |
9 | |
10 namespace content { | |
11 | |
12 class BluetoothMessageFilter : public WorkerThreadMessageFilter { | |
13 public: | |
14 explicit BluetoothMessageFilter(ThreadSafeSender* thread_safe_sender); | |
15 | |
16 private: | |
17 ~BluetoothMessageFilter() override; | |
18 | |
19 // WorkerThreadMessageFilter: | |
20 bool ShouldHandleMessage(const IPC::Message& msg) const override; | |
21 void OnFilteredMessageReceived(const IPC::Message& msg) override; | |
22 bool GetWorkerThreadIdForMessage(const IPC::Message& msg, | |
23 int* ipc_thread_id) override; | |
24 | |
25 DISALLOW_COPY_AND_ASSIGN(BluetoothMessageFilter); | |
26 }; | |
27 | |
28 } // namespace content | |
29 | |
30 #endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_MESSAGE_FILTER_H_ | |
OLD | NEW |