Chromium Code Reviews| 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_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, | 128 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, |
| 129 bool powered) OVERRIDE; | 129 bool powered) OVERRIDE; |
| 130 virtual void DeviceAdded(device::BluetoothAdapter* adapter, | 130 virtual void DeviceAdded(device::BluetoothAdapter* adapter, |
| 131 device::BluetoothDevice* device) OVERRIDE; | 131 device::BluetoothDevice* device) OVERRIDE; |
| 132 virtual void DeviceChanged(device::BluetoothAdapter* adapter, | 132 virtual void DeviceChanged(device::BluetoothAdapter* adapter, |
| 133 device::BluetoothDevice* device) OVERRIDE; | 133 device::BluetoothDevice* device) OVERRIDE; |
| 134 virtual void DeviceRemoved(device::BluetoothAdapter* adapter, | 134 virtual void DeviceRemoved(device::BluetoothAdapter* adapter, |
| 135 device::BluetoothDevice* device) OVERRIDE; | 135 device::BluetoothDevice* device) OVERRIDE; |
| 136 | 136 |
| 137 private: | 137 private: |
| 138 // Displays a connecting message. | |
| 139 void DeviceConnecting(device::BluetoothDevice* device); | |
|
kevers
2013/02/06 20:09:39
Nit. Undocumented argument.
deymo
2013/02/07 02:01:21
Done.
| |
| 140 | |
| 138 // Called by device::BluetoothAdapter in response to a failure to | 141 // Called by device::BluetoothAdapter in response to a failure to |
| 139 // change the power status of the adapter. | 142 // change the power status of the adapter. |
| 140 void EnableChangeError(); | 143 void EnableChangeError(); |
| 141 | 144 |
| 142 // Called by device::BluetoothAdapter in response to a failure to | 145 // Called by device::BluetoothAdapter in response to a failure to |
| 143 // set the adapter into discovery mode. | 146 // set the adapter into discovery mode. |
| 144 void FindDevicesError(); | 147 void FindDevicesError(); |
| 145 | 148 |
| 146 // Called by device::BluetoothAdapter in response to a failure to | 149 // Called by device::BluetoothAdapter in response to a failure to |
| 147 // remove the adapter from discovery mode. | 150 // remove the adapter from discovery mode. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 198 // than this object does. | 201 // than this object does. |
| 199 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; | 202 base::WeakPtrFactory<BluetoothOptionsHandler> weak_ptr_factory_; |
| 200 | 203 |
| 201 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); | 204 DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); |
| 202 }; | 205 }; |
| 203 | 206 |
| 204 } // namespace options | 207 } // namespace options |
| 205 } // namespace chromeos | 208 } // namespace chromeos |
| 206 | 209 |
| 207 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ | 210 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_BLUETOOTH_OPTIONS_HANDLER_H_ |
| OLD | NEW |