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

Side by Side Diff: device/bluetooth/bluetooth_device_chromeos.h

Issue 220323004: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialized |empty_device_| in BluetoothDeviceWinTest. 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
« no previous file with comments | « device/bluetooth/bluetooth_device.cc ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROMEOS_H 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.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 std::string& service_uuid, 55 const device::BluetoothUUID& 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 device::BluetoothOutOfBandPairingData& data, 62 const device::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(
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Note: This should remain the last member so it'll be destroyed and 165 // Note: This should remain the last member so it'll be destroyed and
166 // invalidate its weak pointers before any other members are destroyed. 166 // invalidate its weak pointers before any other members are destroyed.
167 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; 167 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); 169 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS);
170 }; 170 };
171 171
172 } // namespace chromeos 172 } // namespace chromeos
173 173
174 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H 174 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device.cc ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698