OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ | 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
15 #include "chrome/common/extensions/api/bluetooth.h" | |
16 #include "chrome/common/extensions/api/bluetooth_private.h" | |
17 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
19 #include "device/bluetooth/bluetooth_adapter.h" | 17 #include "device/bluetooth/bluetooth_adapter.h" |
20 #include "device/bluetooth/bluetooth_adapter_factory.h" | 18 #include "device/bluetooth/bluetooth_adapter_factory.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 19 #include "extensions/browser/extension_registry_observer.h" |
| 20 #include "extensions/common/api/bluetooth.h" |
| 21 #include "extensions/common/api/bluetooth_private.h" |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class BrowserContext; | 24 class BrowserContext; |
25 } | 25 } |
26 | 26 |
27 namespace device { | 27 namespace device { |
28 | 28 |
29 class BluetoothDevice; | 29 class BluetoothDevice; |
30 class BluetoothDiscoverySession; | 30 class BluetoothDiscoverySession; |
31 | 31 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 154 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
155 extension_registry_observer_; | 155 extension_registry_observer_; |
156 | 156 |
157 base::WeakPtrFactory<BluetoothEventRouter> weak_ptr_factory_; | 157 base::WeakPtrFactory<BluetoothEventRouter> weak_ptr_factory_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(BluetoothEventRouter); | 159 DISALLOW_COPY_AND_ASSIGN(BluetoothEventRouter); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace extensions | 162 } // namespace extensions |
163 | 163 |
164 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ | 164 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_EVENT_ROUTER_H_ |
OLD | NEW |