| 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_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "chrome/browser/chromeos/dbus/bluetooth_adapter_client.h" | 16 #include "chromeos/dbus/bluetooth_adapter_client.h" |
| 17 #include "chrome/browser/chromeos/dbus/bluetooth_device_client.h" | 17 #include "chromeos/dbus/bluetooth_device_client.h" |
| 18 #include "chrome/browser/chromeos/dbus/bluetooth_manager_client.h" | 18 #include "chromeos/dbus/bluetooth_manager_client.h" |
| 19 #include "dbus/object_path.h" | 19 #include "dbus/object_path.h" |
| 20 | 20 |
| 21 namespace chromeos { | 21 namespace chromeos { |
| 22 | 22 |
| 23 class BluetoothDevice; | 23 class BluetoothDevice; |
| 24 | 24 |
| 25 // The BluetoothAdapter class represents a local Bluetooth adapter which | 25 // The BluetoothAdapter class represents a local Bluetooth adapter which |
| 26 // may be used to interact with remote Bluetooth devices. As well as | 26 // may be used to interact with remote Bluetooth devices. As well as |
| 27 // providing support for determining whether an adapter is present, and | 27 // providing support for determining whether an adapter is present, and |
| 28 // whether the radio is powered, this class also provides support for | 28 // whether the radio is powered, this class also provides support for |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 // instance. | 295 // instance. |
| 296 typedef std::map<const std::string, BluetoothDevice*> DevicesMap; | 296 typedef std::map<const std::string, BluetoothDevice*> DevicesMap; |
| 297 DevicesMap devices_; | 297 DevicesMap devices_; |
| 298 | 298 |
| 299 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapter); | 299 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapter); |
| 300 }; | 300 }; |
| 301 | 301 |
| 302 } // namespace chromeos | 302 } // namespace chromeos |
| 303 | 303 |
| 304 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ | 304 #endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_ADAPTER_H_ |
| OLD | NEW |