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

Unified Diff: device/bluetooth/bluetooth_device_chromeos.h

Issue 276573004: Bluetooth: Implement new socket API for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DCHECK nits Created 6 years, 7 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 | « device/bluetooth/bluetooth_adapter_chromeos.cc ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_chromeos.h
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
index 4a15a08c2b7a62e157bbb547cc7441e93335edb5..c60a4de6509021b1dbd8a25e4e6cb002b194c92a 100644
--- a/device/bluetooth/bluetooth_device_chromeos.h
+++ b/device/bluetooth/bluetooth_device_chromeos.h
@@ -99,6 +99,9 @@ class BluetoothDeviceChromeOS
// Returns the current pairing object or NULL if no pairing is in progress.
BluetoothPairingChromeOS* GetPairing() const;
+ // Returns the object path of the device.
+ const dbus::ObjectPath& object_path() const { return object_path_; }
+
protected:
// BluetoothDevice override
virtual std::string GetDeviceName() const OVERRIDE;
@@ -163,16 +166,6 @@ class BluetoothDeviceChromeOS
const std::string& error_name,
const std::string& error_message);
- // Called by dbus:: on completion of the D-Bus method call to
- // connect a peofile.
- void OnConnectProfile(device::BluetoothProfile* profile,
- const base::Closure& callback);
- void OnConnectProfileError(
- device::BluetoothProfile* profile,
- const ConnectToProfileErrorCallback& error_callback,
- const std::string& error_name,
- const std::string& error_message);
-
// Called by dbus:: on completion of the D-Bus method call to start the
// connection monitor.
void OnStartConnectionMonitor(const base::Closure& callback);
@@ -180,9 +173,6 @@ class BluetoothDeviceChromeOS
const std::string& error_name,
const std::string& error_message);
- // Returns the object path of the device; used by BluetoothAdapterChromeOS
- const dbus::ObjectPath& object_path() const { return object_path_; }
-
// The adapter that owns this device instance.
BluetoothAdapterChromeOS* adapter_;
« no previous file with comments | « device/bluetooth/bluetooth_adapter_chromeos.cc ('k') | device/bluetooth/bluetooth_device_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698