| 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 CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_
EVENT_ROUTER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_EVENT_R
OUTER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_
EVENT_ROUTER_H_ | 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_EVENT_R
OUTER_H_ |
| 7 | 7 |
| 8 #include <cstddef> | 8 #include <cstddef> |
| 9 #include <cstdint> | 9 #include <cstdint> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/scoped_observer.h" | 19 #include "base/scoped_observer.h" |
| 20 #include "chrome/common/extensions/api/bluetooth_low_energy.h" | |
| 21 #include "device/bluetooth/bluetooth_adapter.h" | 20 #include "device/bluetooth/bluetooth_adapter.h" |
| 22 #include "device/bluetooth/bluetooth_device.h" | 21 #include "device/bluetooth/bluetooth_device.h" |
| 23 #include "device/bluetooth/bluetooth_gatt_connection.h" | 22 #include "device/bluetooth/bluetooth_gatt_connection.h" |
| 24 #include "device/bluetooth/bluetooth_gatt_notify_session.h" | 23 #include "device/bluetooth/bluetooth_gatt_notify_session.h" |
| 25 #include "device/bluetooth/bluetooth_local_gatt_service.h" | 24 #include "device/bluetooth/bluetooth_local_gatt_service.h" |
| 26 #include "device/bluetooth/bluetooth_remote_gatt_service.h" | 25 #include "device/bluetooth/bluetooth_remote_gatt_service.h" |
| 27 #include "device/bluetooth/bluetooth_uuid.h" | 26 #include "device/bluetooth/bluetooth_uuid.h" |
| 28 #include "extensions/browser/extension_event_histogram_value.h" | 27 #include "extensions/browser/extension_event_histogram_value.h" |
| 29 #include "extensions/browser/extension_registry_observer.h" | 28 #include "extensions/browser/extension_registry_observer.h" |
| 29 #include "extensions/common/api/bluetooth_low_energy.h" |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 | 32 |
| 33 class ListValue; | 33 class ListValue; |
| 34 | 34 |
| 35 } // namespace base | 35 } // namespace base |
| 36 | 36 |
| 37 namespace content { | 37 namespace content { |
| 38 | 38 |
| 39 class BrowserContext; | 39 class BrowserContext; |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 578 |
| 579 // Note: This should remain the last member so it'll be destroyed and | 579 // Note: This should remain the last member so it'll be destroyed and |
| 580 // invalidate its weak pointers before any other members are destroyed. | 580 // invalidate its weak pointers before any other members are destroyed. |
| 581 base::WeakPtrFactory<BluetoothLowEnergyEventRouter> weak_ptr_factory_; | 581 base::WeakPtrFactory<BluetoothLowEnergyEventRouter> weak_ptr_factory_; |
| 582 | 582 |
| 583 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyEventRouter); | 583 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyEventRouter); |
| 584 }; | 584 }; |
| 585 | 585 |
| 586 } // namespace extensions | 586 } // namespace extensions |
| 587 | 587 |
| 588 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENER
GY_EVENT_ROUTER_H_ | 588 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_EVEN
T_ROUTER_H_ |
| OLD | NEW |