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

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

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment 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_unittest.cc ('k') | sync/notifier/fake_invalidation_handler.h » ('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 25335fd7daf731da4a884e1e847eb9c62a611e0b..74e7b2023de3b76d084ccf7985e63eb5660f7764 100644
--- a/sync/internal_api/test/fake_sync_manager.cc
+++ b/sync/internal_api/test/fake_sync_manager.cc
@@ -55,12 +55,11 @@ ModelTypeSet FakeSyncManager::GetAndResetEnabledTypes() {
}
void FakeSyncManager::Invalidate(
- const ObjectIdInvalidationMap& invalidation_map,
- IncomingInvalidationSource source) {
+ const ObjectIdInvalidationMap& invalidation_map) {
if (!sync_task_runner_->PostTask(
FROM_HERE,
base::Bind(&FakeSyncManager::InvalidateOnSyncThread,
- base::Unretained(this), invalidation_map, source))) {
+ base::Unretained(this), invalidation_map))) {
NOTREACHED();
}
}
@@ -276,10 +275,9 @@ void FakeSyncManager::RefreshTypes(ModelTypeSet types) {
}
void FakeSyncManager::InvalidateOnSyncThread(
- const ObjectIdInvalidationMap& invalidation_map,
- IncomingInvalidationSource source) {
+ const ObjectIdInvalidationMap& invalidation_map) {
DCHECK(sync_task_runner_->RunsTasksOnCurrentThread());
- registrar_.DispatchInvalidationsToHandlers(invalidation_map, source);
+ registrar_.DispatchInvalidationsToHandlers(invalidation_map);
}
void FakeSyncManager::UpdateInvalidatorStateOnSyncThread(
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/notifier/fake_invalidation_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698