| 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 #ifndef CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ |
| 6 #define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ | 6 #define CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "content/child/worker_task_runner.h" | 10 #include "content/child/worker_task_runner.h" |
| 11 #include "content/common/bluetooth/bluetooth_device.h" | 11 #include "content/common/bluetooth/bluetooth_device.h" |
| 12 #include "content/common/bluetooth/bluetooth_error.h" | 12 #include "content/common/bluetooth/bluetooth_error.h" |
| 13 #include "third_party/WebKit/public/platform/WebBluetooth.h" | 13 #include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class MessageLoop; | 16 class MessageLoop; |
| 17 class TaskRunner; | 17 class TaskRunner; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace IPC { | 20 namespace IPC { |
| 21 class Message; | 21 class Message; |
| 22 } | 22 } |
| 23 | 23 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // Owns callback objects. | 68 // Owns callback objects. |
| 69 IDMap<blink::WebBluetoothRequestDeviceCallbacks, IDMapOwnPointer> | 69 IDMap<blink::WebBluetoothRequestDeviceCallbacks, IDMapOwnPointer> |
| 70 pending_requests_; | 70 pending_requests_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcher); | 72 DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcher); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace content | 75 } // namespace content |
| 76 | 76 |
| 77 #endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ | 77 #endif // CONTENT_CHILD_BLUETOOTH_BLUETOOTH_DISPATCHER_H_ |
| OLD | NEW |