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

Unified Diff: components/sync/device_info/device_info_service.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_service.h
diff --git a/components/sync/device_info/device_info_service.h b/components/sync/device_info/device_info_service.h
index 40096e900ab945fe388e01efe4226389f7b385e1..1e90982257524b5c4ee180e536c2fca1fa481cfc 100644
--- a/components/sync/device_info/device_info_service.h
+++ b/components/sync/device_info/device_info_service.h
@@ -72,7 +72,8 @@ class DeviceInfoService : public syncer_v2::ModelTypeService,
bool IsSyncing() const override;
std::unique_ptr<sync_driver::DeviceInfo> GetDeviceInfo(
const std::string& client_id) const override;
- ScopedVector<sync_driver::DeviceInfo> GetAllDeviceInfo() const override;
+ std::vector<std::unique_ptr<sync_driver::DeviceInfo>> GetAllDeviceInfo()
+ const override;
void AddObserver(Observer* observer) override;
void RemoveObserver(Observer* observer) override;
int CountActiveDevices() const override;

Powered by Google App Engine
This is Rietveld 408576698