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

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

Issue 2442133003: arc: bluetooth: Set advertisement max slot to 1 (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f3a3c66d0e6b64e0fd4b1376542ae1e0319bcf3e..87ba1142bd0d9b3f2bd8baaabc44fcde02b9f1e3 100644
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
@@ -472,7 +472,9 @@ class ArcBluetoothBridge
// * mapped to nullptr -> reserved, awaiting data
// * mapped to a device::BluetoothAdvertisement -> in use, and the mapped
// BluetoothAdvertisement is currently registered with the adapter.
- enum { kMaxAdvertisements = 5 };
+ // TODO(crbug.com/658385) Change back to 5 when we support setting signal
+ // strength per each advertisement slot.
+ enum { kMaxAdvertisements = 1 };
std::map<int32_t, scoped_refptr<device::BluetoothAdvertisement>>
advertisements_;
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698