Index: device/bluetooth/bluetooth_device_mac.h |
diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_mac.h |
similarity index 65% |
copy from device/bluetooth/bluetooth_device_win.h |
copy to device/bluetooth/bluetooth_device_mac.h |
index b1e9d805cd23c2a667b5e35e42aacbd115663273..105de1ce0ea848de5f0aee93a080163618ec2043 100644 |
--- a/device/bluetooth/bluetooth_device_win.h |
+++ b/device/bluetooth/bluetooth_device_mac.h |
@@ -1,28 +1,21 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
-#define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
+#define DEVICE_BLUETOOTH_BlUETOOTH_DEVICE_MAC_H_ |
#include <string> |
-#include <vector> |
#include "base/basictypes.h" |
#include "device/bluetooth/bluetooth_device.h" |
-#include "device/bluetooth/bluetooth_task_manager_win.h" |
namespace device { |
-class BluetoothAdapterWin; |
- |
-class BluetoothDeviceWin : public BluetoothDevice { |
+class BluetoothDeviceMac : public BluetoothDevice { |
public: |
- explicit BluetoothDeviceWin( |
- const BluetoothTaskManagerWin::DeviceState& state); |
- virtual ~BluetoothDeviceWin(); |
- |
- void SetVisible(bool visible); |
+ BluetoothDeviceMac(); |
+ virtual ~BluetoothDeviceMac(); |
// BluetoothDevice override |
virtual bool IsPaired() const OVERRIDE; |
@@ -61,23 +54,9 @@ class BluetoothDeviceWin : public BluetoothDevice { |
const ErrorCallback& error_callback) OVERRIDE; |
private: |
- friend class BluetoothAdapterWin; |
- |
- // Computes the fingerprint that can be used to compare the devices. |
- static uint32 ComputeDeviceFingerprint( |
- const BluetoothTaskManagerWin::DeviceState& state); |
- |
- uint32 device_fingerprint() const { |
- return device_fingerprint_; |
- } |
- |
- // Used to compare the devices. |
- uint32 device_fingerprint_; |
- ServiceRecordList service_record_list_; |
- |
- DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); |
+ DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); |
}; |
} // namespace device |
-#endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ |
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |