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

Unified Diff: chrome/browser/sync/profile_sync_service_mock.cc

Issue 22706006: Implementation of the DeviceInfo get API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For try runs Created 7 years, 4 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/common/extensions/api/api.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_mock.cc
diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc
index 150273b1e3ff7be487c2eeee720681b1e700c7fd..6985ccef1d75df5137a85e349c52a34da00a947c 100644
--- a/chrome/browser/sync/profile_sync_service_mock.cc
+++ b/chrome/browser/sync/profile_sync_service_mock.cc
@@ -41,11 +41,11 @@ BrowserContextKeyedService* ProfileSyncServiceMock::BuildMockProfileSyncService(
}
ScopedVector<browser_sync::DeviceInfo>
- ProfileSyncServiceMock::GetAllSignedInDevices() const {
- ScopedVector<browser_sync::DeviceInfo> devices;
- std::vector<browser_sync::DeviceInfo*>* device_vector =
- GetAllSignedInDevicesMock();
- devices.get() = *device_vector;
- return devices.Pass();
+ ProfileSyncServiceMock::GetAllSignedinDevices() const {
+ ScopedVector<browser_sync::DeviceInfo> devices;
+ std::vector<browser_sync::DeviceInfo*>* device_vector =
+ GetAllSignedinDevicesMock();
+ devices.get() = *device_vector;
+ return devices.Pass();
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/common/extensions/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698