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

Unified Diff: components/invalidation/fake_invalidator.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/fake_invalidator.h ('k') | components/invalidation/invalidation_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/fake_invalidator.cc
diff --git a/components/invalidation/fake_invalidator.cc b/components/invalidation/fake_invalidator.cc
index 00bbc87b7afeb4a591637c82cebac2f28e59195b..d82c3972e36173224a87dc9ad3246f62ac242858 100644
--- a/components/invalidation/fake_invalidator.cc
+++ b/components/invalidation/fake_invalidator.cc
@@ -42,9 +42,9 @@ void FakeInvalidator::RegisterHandler(InvalidationHandler* handler) {
registrar_.RegisterHandler(handler);
}
-void FakeInvalidator::UpdateRegisteredIds(InvalidationHandler* handler,
+bool FakeInvalidator::UpdateRegisteredIds(InvalidationHandler* handler,
const ObjectIdSet& ids) {
- registrar_.UpdateRegisteredIds(handler, ids);
+ return registrar_.UpdateRegisteredIds(handler, ids);
}
void FakeInvalidator::UnregisterHandler(InvalidationHandler* handler) {
« no previous file with comments | « components/invalidation/fake_invalidator.h ('k') | components/invalidation/invalidation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698