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

Unified Diff: device/bluetooth/bluetooth_adapter_win.h

Issue 2567903004: Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map (Closed)
Patch Set: Created 4 years 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_win.h
diff --git a/device/bluetooth/bluetooth_adapter_win.h b/device/bluetooth/bluetooth_adapter_win.h
index d9b8570bb5518389ed98cf6dd1ea97519dc476ad..628769ed519fdef62f3b43cbf6351b9179b611f7 100644
--- a/device/bluetooth/bluetooth_adapter_win.h
+++ b/device/bluetooth/bluetooth_adapter_win.h
@@ -81,8 +81,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterWin
const BluetoothTaskManagerWin::AdapterState& state) override;
void DiscoveryStarted(bool success) override;
void DiscoveryStopped() override;
- void DevicesPolled(const ScopedVector<BluetoothTaskManagerWin::DeviceState>&
- devices) override;
+ void DevicesPolled(
+ const std::vector<std::unique_ptr<BluetoothTaskManagerWin::DeviceState>>&
+ devices) override;
const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner() const {
return ui_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698