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

Unified Diff: sync/internal_api/test/fake_sync_manager.cc

Issue 12022041: Separate local and remote sync invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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 | « sync/internal_api/sync_manager_impl.cc ('k') | sync/notifier/invalidator_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/test/fake_sync_manager.cc
diff --git a/sync/internal_api/test/fake_sync_manager.cc b/sync/internal_api/test/fake_sync_manager.cc
index e07c8e789f614466ef0d33f3f70f0f75e592829e..25335fd7daf731da4a884e1e847eb9c62a611e0b 100644
--- a/sync/internal_api/test/fake_sync_manager.cc
+++ b/sync/internal_api/test/fake_sync_manager.cc
@@ -271,6 +271,10 @@ SyncEncryptionHandler* FakeSyncManager::GetEncryptionHandler() {
return fake_encryption_handler_.get();
}
+void FakeSyncManager::RefreshTypes(ModelTypeSet types) {
+ last_refresh_request_types_ = types;
+}
+
void FakeSyncManager::InvalidateOnSyncThread(
const ObjectIdInvalidationMap& invalidation_map,
IncomingInvalidationSource source) {
@@ -284,4 +288,8 @@ void FakeSyncManager::UpdateInvalidatorStateOnSyncThread(
registrar_.UpdateInvalidatorState(state);
}
+ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() {
+ return last_refresh_request_types_;
+}
+
} // namespace syncer
« no previous file with comments | « sync/internal_api/sync_manager_impl.cc ('k') | sync/notifier/invalidator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698