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

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

Issue 2310683002: Remove most ScopedVector usage from c/b/extensions. (Closed)
Patch Set: remove scoped_vector includes 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..477f41a827b1ae9165f3169ca2991bf48618852f 100644
--- a/components/sync/device_info/device_info_tracker.h
+++ b/components/sync/device_info/device_info_tracker.h
@@ -8,7 +8,6 @@
#include <memory>
#include <string>
-#include "base/memory/scoped_vector.h"
#include "components/sync/device_info/device_info.h"
namespace sync_driver {
@@ -32,7 +31,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.
« no previous file with comments | « components/sync/device_info/device_info_sync_service.cc ('k') | extensions/browser/external_provider_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698