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

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

Issue 13862023: Add abstract BluetoothProfile class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add constructor and destructor for Options Created 7 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.h ('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 (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 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 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void ConfirmPairing() OVERRIDE; 64 virtual void ConfirmPairing() OVERRIDE;
65 virtual void RejectPairing() OVERRIDE; 65 virtual void RejectPairing() OVERRIDE;
66 virtual void CancelPairing() OVERRIDE; 66 virtual void CancelPairing() OVERRIDE;
67 virtual void Disconnect( 67 virtual void Disconnect(
68 const base::Closure& callback, 68 const base::Closure& callback,
69 const ErrorCallback& error_callback) OVERRIDE; 69 const ErrorCallback& error_callback) OVERRIDE;
70 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE; 70 virtual void Forget(const ErrorCallback& error_callback) OVERRIDE;
71 virtual void ConnectToService( 71 virtual void ConnectToService(
72 const std::string& service_uuid, 72 const std::string& service_uuid,
73 const SocketCallback& callback) OVERRIDE; 73 const SocketCallback& callback) OVERRIDE;
74 virtual void ConnectToProfile(
75 device::BluetoothProfile* profile,
76 const ErrorCallback& error_callback) OVERRIDE;
74 virtual void SetOutOfBandPairingData( 77 virtual void SetOutOfBandPairingData(
75 const device::BluetoothOutOfBandPairingData& data, 78 const device::BluetoothOutOfBandPairingData& data,
76 const base::Closure& callback, 79 const base::Closure& callback,
77 const ErrorCallback& error_callback) OVERRIDE; 80 const ErrorCallback& error_callback) OVERRIDE;
78 virtual void ClearOutOfBandPairingData( 81 virtual void ClearOutOfBandPairingData(
79 const base::Closure& callback, 82 const base::Closure& callback,
80 const ErrorCallback& error_callback) OVERRIDE; 83 const ErrorCallback& error_callback) OVERRIDE;
81 84
82 protected: 85 protected:
83 // BluetoothDevice override 86 // BluetoothDevice override
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // Note: This should remain the last member so it'll be destroyed and 453 // Note: This should remain the last member so it'll be destroyed and
451 // invalidate its weak pointers before any other members are destroyed. 454 // invalidate its weak pointers before any other members are destroyed.
452 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_; 455 base::WeakPtrFactory<BluetoothDeviceChromeOS> weak_ptr_factory_;
453 456
454 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS); 457 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceChromeOS);
455 }; 458 };
456 459
457 } // namespace chromeos 460 } // namespace chromeos
458 461
459 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_ 462 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698