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

Unified Diff: components/sync/device_info/device_info_tracker.h

Issue 2310683002: Remove most ScopedVector usage from c/b/extensions. (Closed)
Patch Set: fix webstore_api 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/sync/device_info/device_info_tracker.h
diff --git a/components/sync/device_info/device_info_tracker.h b/components/sync/device_info/device_info_tracker.h
index c3321417a096e9aa03534b73b7f913c2b6e41912..a7264e9b0d29eec2975dede6e116da6b06124b1c 100644
--- a/components/sync/device_info/device_info_tracker.h
+++ b/components/sync/device_info/device_info_tracker.h
@@ -32,7 +32,7 @@ class DeviceInfoTracker {
virtual std::unique_ptr<DeviceInfo> GetDeviceInfo(
const std::string& client_id) const = 0;
// Gets DeviceInfo for all synced devices (including the local one).
- virtual ScopedVector<DeviceInfo> GetAllDeviceInfo() const = 0;
+ virtual std::vector<std::unique_ptr<DeviceInfo>> GetAllDeviceInfo() const = 0;
// Registers an observer to be called on syncing any updated DeviceInfo.
virtual void AddObserver(Observer* observer) = 0;
// Unregisters an observer.

Powered by Google App Engine
This is Rietveld 408576698