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

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

Issue 2438373002: arc: bluetooth: Set advertisement max slot to 1 (Closed)
Patch Set: remove unit test 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
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 aeb2f85476a19953cae7a79766db965dc4f23bb1..416c93bd1102c950c8edc1ca5d7418b2a5e3966d 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_;

Powered by Google App Engine
This is Rietveld 408576698