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

Side by Side Diff: components/browser_sync/browser/profile_sync_service_mock.h

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 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 unified diff | Download patch
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_ 5 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_ 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 MOCK_CONST_METHOD0(IsEncryptEverythingAllowed, bool()); 56 MOCK_CONST_METHOD0(IsEncryptEverythingAllowed, bool());
57 MOCK_CONST_METHOD0(IsEncryptEverythingEnabled, bool()); 57 MOCK_CONST_METHOD0(IsEncryptEverythingEnabled, bool());
58 MOCK_METHOD0(EnableEncryptEverything, void()); 58 MOCK_METHOD0(EnableEncryptEverything, void());
59 59
60 MOCK_METHOD1(ChangePreferredDataTypes, 60 MOCK_METHOD1(ChangePreferredDataTypes,
61 void(syncer::ModelTypeSet preferred_types)); 61 void(syncer::ModelTypeSet preferred_types));
62 MOCK_CONST_METHOD0(GetActiveDataTypes, syncer::ModelTypeSet()); 62 MOCK_CONST_METHOD0(GetActiveDataTypes, syncer::ModelTypeSet());
63 MOCK_CONST_METHOD0(GetPreferredDataTypes, syncer::ModelTypeSet()); 63 MOCK_CONST_METHOD0(GetPreferredDataTypes, syncer::ModelTypeSet());
64 MOCK_CONST_METHOD0(GetRegisteredDataTypes, syncer::ModelTypeSet()); 64 MOCK_CONST_METHOD0(GetRegisteredDataTypes, syncer::ModelTypeSet());
65 MOCK_CONST_METHOD0(GetLastSessionSnapshot, 65 MOCK_CONST_METHOD0(GetLastCycleSnapshot, syncer::SyncCycleSnapshot());
66 syncer::sessions::SyncSessionSnapshot());
67 66
68 MOCK_METHOD1(QueryDetailedSyncStatus, 67 MOCK_METHOD1(QueryDetailedSyncStatus,
69 bool(browser_sync::SyncBackendHost::Status* result)); 68 bool(browser_sync::SyncBackendHost::Status* result));
70 MOCK_CONST_METHOD0(GetAuthError, const GoogleServiceAuthError&()); 69 MOCK_CONST_METHOD0(GetAuthError, const GoogleServiceAuthError&());
71 MOCK_CONST_METHOD0(IsFirstSetupInProgress, bool()); 70 MOCK_CONST_METHOD0(IsFirstSetupInProgress, bool());
72 MOCK_CONST_METHOD0(GetLastSyncedTimeString, base::string16()); 71 MOCK_CONST_METHOD0(GetLastSyncedTimeString, base::string16());
73 MOCK_CONST_METHOD0(HasUnrecoverableError, bool()); 72 MOCK_CONST_METHOD0(HasUnrecoverableError, bool());
74 MOCK_CONST_METHOD0(IsSyncActive, bool()); 73 MOCK_CONST_METHOD0(IsSyncActive, bool());
75 MOCK_CONST_METHOD0(IsBackendInitialized, bool()); 74 MOCK_CONST_METHOD0(IsBackendInitialized, bool());
76 MOCK_CONST_METHOD0(IsSyncRequested, bool()); 75 MOCK_CONST_METHOD0(IsSyncRequested, bool());
(...skipping 16 matching lines...) Expand all
93 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time()); 92 MOCK_CONST_METHOD0(GetExplicitPassphraseTime, base::Time());
94 93
95 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase)); 94 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase));
96 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase, 95 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
97 PassphraseType type)); 96 PassphraseType type));
98 97
99 MOCK_METHOD0(OnSetupInProgressHandleDestroyed, void()); 98 MOCK_METHOD0(OnSetupInProgressHandleDestroyed, void());
100 }; 99 };
101 100
102 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_ 101 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_SERVICE_MOCK_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698