Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: device/bluetooth/bluetooth_device_mac.h

Issue 12660013: Added BluetoothDeviceMac (empty implementation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I forgot to add ConfirmPairing() empty implementation. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698