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

Unified Diff: components/invalidation/p2p_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
« no previous file with comments | « components/invalidation/p2p_invalidation_service.h ('k') | components/invalidation/p2p_invalidator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/p2p_invalidation_service.cc
diff --git a/components/invalidation/p2p_invalidation_service.cc b/components/invalidation/p2p_invalidation_service.cc
index 9829415494ba0533337d007b4b5fa255b71d2080..a528e9f07e38670b0a177b7c43a2fb788a8e9bee 100644
--- a/components/invalidation/p2p_invalidation_service.cc
+++ b/components/invalidation/p2p_invalidation_service.cc
@@ -46,10 +46,10 @@ void P2PInvalidationService::RegisterInvalidationHandler(
invalidator_->RegisterHandler(handler);
}
-void P2PInvalidationService::UpdateRegisteredInvalidationIds(
+bool P2PInvalidationService::UpdateRegisteredInvalidationIds(
syncer::InvalidationHandler* handler,
const syncer::ObjectIdSet& ids) {
- invalidator_->UpdateRegisteredIds(handler, ids);
+ return invalidator_->UpdateRegisteredIds(handler, ids);
}
void P2PInvalidationService::UnregisterInvalidationHandler(
« no previous file with comments | « components/invalidation/p2p_invalidation_service.h ('k') | components/invalidation/p2p_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698