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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.cc

Issue 12374062: Bluetooth: Send UI notifications when the connecting status changes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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
Index: device/bluetooth/bluetooth_adapter_chromeos.cc
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.cc b/device/bluetooth/bluetooth_adapter_chromeos.cc
index efd97a896942c22e0536e37240fee64aa67898d4..c463b098cead8b264f4688167b893550913780f4 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.cc
+++ b/device/bluetooth/bluetooth_adapter_chromeos.cc
@@ -245,6 +245,13 @@ void BluetoothAdapterChromeOS::PoweredChanged(bool powered) {
AdapterPoweredChanged(this, powered_));
}
+void BluetoothAdapterChromeOS::DeviceChanged(BluetoothDeviceChromeOS* device) {
+ CHECK(device->adapter_ == this);
+
+ FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
+ DeviceChanged(this, device));
keybuk 2013/04/18 00:52:24 There are other instances of this code in Bluetoot
deymo 2013/04/18 01:38:40 In a deprecated implementation? It is worth the re
keybuk 2013/04/18 15:54:17 Yes.
deymo 2013/04/19 01:40:30 Done.
+}
+
void BluetoothAdapterChromeOS::OnStartDiscovery(
const base::Closure& callback,
const ErrorCallback& error_callback,

Powered by Google App Engine
This is Rietveld 408576698