| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const ErrorCallback& error_callback) OVERRIDE; | 58 const ErrorCallback& error_callback) OVERRIDE; |
| 59 virtual void ReadLocalOutOfBandPairingData( | 59 virtual void ReadLocalOutOfBandPairingData( |
| 60 const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& | 60 const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& |
| 61 callback, | 61 callback, |
| 62 const ErrorCallback& error_callback) OVERRIDE; | 62 const ErrorCallback& error_callback) OVERRIDE; |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 friend class device::BluetoothAdapterFactory; | 65 friend class device::BluetoothAdapterFactory; |
| 66 friend class BluetoothDeviceExperimentalChromeOS; | 66 friend class BluetoothDeviceExperimentalChromeOS; |
| 67 friend class BluetoothExperimentalChromeOSTest; | 67 friend class BluetoothExperimentalChromeOSTest; |
| 68 friend class BluetoothProfileExperimentalChromeOS; |
| 68 | 69 |
| 69 BluetoothAdapterExperimentalChromeOS(); | 70 BluetoothAdapterExperimentalChromeOS(); |
| 70 virtual ~BluetoothAdapterExperimentalChromeOS(); | 71 virtual ~BluetoothAdapterExperimentalChromeOS(); |
| 71 | 72 |
| 72 // ExperimentalBluetoothAdapterClient::Observer override. | 73 // ExperimentalBluetoothAdapterClient::Observer override. |
| 73 virtual void AdapterAdded(const dbus::ObjectPath& object_path) OVERRIDE; | 74 virtual void AdapterAdded(const dbus::ObjectPath& object_path) OVERRIDE; |
| 74 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) OVERRIDE; | 75 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) OVERRIDE; |
| 75 virtual void AdapterPropertyChanged( | 76 virtual void AdapterPropertyChanged( |
| 76 const dbus::ObjectPath& object_path, | 77 const dbus::ObjectPath& object_path, |
| 77 const std::string& property_name) OVERRIDE; | 78 const std::string& property_name) OVERRIDE; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // Note: This should remain the last member so it'll be destroyed and | 135 // Note: This should remain the last member so it'll be destroyed and |
| 135 // invalidate its weak pointers before any other members are destroyed. | 136 // invalidate its weak pointers before any other members are destroyed. |
| 136 base::WeakPtrFactory<BluetoothAdapterExperimentalChromeOS> weak_ptr_factory_; | 137 base::WeakPtrFactory<BluetoothAdapterExperimentalChromeOS> weak_ptr_factory_; |
| 137 | 138 |
| 138 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterExperimentalChromeOS); | 139 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterExperimentalChromeOS); |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 } // namespace chromeos | 142 } // namespace chromeos |
| 142 | 143 |
| 143 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ | 144 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ |
| OLD | NEW |