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

Side by Side Diff: trunk/src/device/bluetooth/bluetooth_device_mac.h

Issue 224763003: Revert 261566 "device/bluetooth: Rename device::bluetooth_utils:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_DEVICE_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void SetPinCode(const std::string& pincode) OVERRIDE; 45 virtual void SetPinCode(const std::string& pincode) OVERRIDE;
46 virtual void SetPasskey(uint32 passkey) OVERRIDE; 46 virtual void SetPasskey(uint32 passkey) OVERRIDE;
47 virtual void ConfirmPairing() OVERRIDE; 47 virtual void ConfirmPairing() OVERRIDE;
48 virtual void RejectPairing() OVERRIDE; 48 virtual void RejectPairing() OVERRIDE;
49 virtual void CancelPairing() OVERRIDE; 49 virtual void CancelPairing() OVERRIDE;
50 virtual void Disconnect( 50 virtual void Disconnect(
51 const base::Closure& callback, 51 const base::Closure& callback,
52 const ErrorCallback& error_callback) OVERRIDE; 52 const ErrorCallback& error_callback) OVERRIDE;
53 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; 53 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE;
54 virtual void ConnectToService( 54 virtual void ConnectToService(
55 const device::BluetoothUUID& service_uuid, 55 const std::string& service_uuid,
56 const SocketCallback& callback) OVERRIDE; 56 const SocketCallback& callback) OVERRIDE;
57 virtual void ConnectToProfile( 57 virtual void ConnectToProfile(
58 device::BluetoothProfile* profile, 58 device::BluetoothProfile* profile,
59 const base::Closure& callback, 59 const base::Closure& callback,
60 const ErrorCallback& error_callback) OVERRIDE; 60 const ErrorCallback& error_callback) OVERRIDE;
61 virtual void SetOutOfBandPairingData( 61 virtual void SetOutOfBandPairingData(
62 const BluetoothOutOfBandPairingData& data, 62 const BluetoothOutOfBandPairingData& data,
63 const base::Closure& callback, 63 const base::Closure& callback,
64 const ErrorCallback& error_callback) OVERRIDE; 64 const ErrorCallback& error_callback) OVERRIDE;
65 virtual void ClearOutOfBandPairingData( 65 virtual void ClearOutOfBandPairingData(
66 const base::Closure& callback, 66 const base::Closure& callback,
67 const ErrorCallback& error_callback) OVERRIDE; 67 const ErrorCallback& error_callback) OVERRIDE;
68 68
69 protected: 69 protected:
70 // BluetoothDevice override 70 // BluetoothDevice override
71 virtual std::string GetDeviceName() const OVERRIDE; 71 virtual std::string GetDeviceName() const OVERRIDE;
72 72
73 private: 73 private:
74 friend class BluetoothAdapterMac; 74 friend class BluetoothAdapterMac;
75 75
76 IOBluetoothDevice* device_; 76 IOBluetoothDevice* device_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); 78 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
79 }; 79 };
80 80
81 } // namespace device 81 } // namespace device
82 82
83 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 83 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_device_chromeos.cc ('k') | trunk/src/device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698