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

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.h

Issue 2354933003: arc: bluetooth: Clean up arc_bluetooth_bridge (Closed)
Patch Set: Fix rebase Created 4 years, 3 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: components/arc/bluetooth/arc_bluetooth_bridge.h
diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.h b/components/arc/bluetooth/arc_bluetooth_bridge.h
index 6193f1d4431c76e4a54b4945ac4f5187a2bbbc0d..b0f4027618563d4a2a3eb0146a44ee2427e938f6 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
@@ -52,9 +52,6 @@ class ArcBluetoothBridge
void OnAdapterInitialized(scoped_refptr<device::BluetoothAdapter> adapter);
// Overridden from device::BluetoothAdadpter::Observer
- void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
- bool powered) override;
-
void DeviceAdded(device::BluetoothAdapter* adapter,
device::BluetoothDevice* device) override;
@@ -406,6 +403,8 @@ class ArcBluetoothBridge
std::unordered_map<std::string,
std::unique_ptr<device::BluetoothGattConnection>>
gatt_connections_;
+ // Timer to turn discovery off.
+ base::OneShotTimer discovery_off_timer_;
// Timer to turn adapter discoverable off.
base::OneShotTimer discoverable_off_timer_;
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698