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

Unified Diff: chrome/browser/sync/test/integration/fake_server_invalidation_service.cc

Issue 1146533005: [Sync] InvalidationService shouldn't CHECK when registering ObjectId for more than one handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from Bartosz. Created 5 years, 7 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/test/integration/fake_server_invalidation_service.cc
diff --git a/chrome/browser/sync/test/integration/fake_server_invalidation_service.cc b/chrome/browser/sync/test/integration/fake_server_invalidation_service.cc
index 3324d0c2ed3a242fb4098ade63e1a46764d32411..ce2b3a56df6ef7d6981dfc4cf079032f4face026 100644
--- a/chrome/browser/sync/test/integration/fake_server_invalidation_service.cc
+++ b/chrome/browser/sync/test/integration/fake_server_invalidation_service.cc
@@ -30,10 +30,10 @@ void FakeServerInvalidationService::RegisterInvalidationHandler(
invalidator_registrar_.RegisterHandler(handler);
}
-void FakeServerInvalidationService::UpdateRegisteredInvalidationIds(
+bool FakeServerInvalidationService::UpdateRegisteredInvalidationIds(
syncer::InvalidationHandler* handler,
const syncer::ObjectIdSet& ids) {
- invalidator_registrar_.UpdateRegisteredIds(handler, ids);
+ return invalidator_registrar_.UpdateRegisteredIds(handler, ids);
}
void FakeServerInvalidationService::UnregisterInvalidationHandler(
« no previous file with comments | « chrome/browser/sync/test/integration/fake_server_invalidation_service.h ('k') | components/invalidation/fake_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698