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

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

Issue 367153005: Sync: Refactoring of DEVICE_INFO syncable type - Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed build issues in browser_tests Created 6 years, 5 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: chrome/browser/sync/profile_sync_service_mock.h
diff --git a/chrome/browser/sync/profile_sync_service_mock.h b/chrome/browser/sync/profile_sync_service_mock.h
index 6f451dab27fa7f4b68f2e55dccadec7be1ba043d..970e88346ff3d366edf73c5d993e347c3731eb06 100644
--- a/chrome/browser/sync/profile_sync_service_mock.h
+++ b/chrome/browser/sync/profile_sync_service_mock.h
@@ -37,9 +37,10 @@ class ProfileSyncServiceMock : public ProfileSyncService {
content::BrowserContext* profile);
MOCK_METHOD0(DisableForUser, void());
- MOCK_METHOD3(OnBackendInitialized,
+ MOCK_METHOD4(OnBackendInitialized,
void(const syncer::WeakHandle<syncer::JsBackend>&,
const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&,
+ const std::string&,
bool));
MOCK_METHOD0(OnSyncCycleCompleted, void());
MOCK_METHOD0(OnAuthError, void());
@@ -100,12 +101,6 @@ class ProfileSyncServiceMock : public ProfileSyncService {
virtual ScopedVector<browser_sync::DeviceInfo>
GetAllSignedInDevices() const OVERRIDE;
- virtual scoped_ptr<browser_sync::DeviceInfo> GetLocalDeviceInfo()
- const OVERRIDE;
- MOCK_CONST_METHOD0(GetLocalDeviceInfoMock,
- browser_sync::DeviceInfo*());
- MOCK_CONST_METHOD0(GetLocalSyncCacheGUID, std::string());
-
// DataTypeManagerObserver mocks.
MOCK_METHOD0(OnConfigureBlocked, void());
MOCK_METHOD1(OnConfigureDone,

Powered by Google App Engine
This is Rietveld 408576698