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

Unified Diff: trunk/src/sync/notifier/fake_invalidator.cc

Issue 17610004: Revert 208315 "Make use of InvalidationService" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 | « trunk/src/sync/notifier/fake_invalidator.h ('k') | trunk/src/sync/notifier/invalidation_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/sync/notifier/fake_invalidator.cc
===================================================================
--- trunk/src/sync/notifier/fake_invalidator.cc (revision 208346)
+++ trunk/src/sync/notifier/fake_invalidator.cc (working copy)
@@ -27,6 +27,11 @@
return token_;
}
+const ObjectIdInvalidationMap&
+FakeInvalidator::GetLastSentInvalidationMap() const {
+ return last_sent_invalidation_map_;
+}
+
void FakeInvalidator::EmitOnInvalidatorStateChange(InvalidatorState state) {
registrar_.UpdateInvalidatorState(state);
}
@@ -64,4 +69,9 @@
token_ = token;
}
+void FakeInvalidator::SendInvalidation(
+ const ObjectIdInvalidationMap& invalidation_map) {
+ last_sent_invalidation_map_ = invalidation_map;
+}
+
} // namespace syncer
« no previous file with comments | « trunk/src/sync/notifier/fake_invalidator.h ('k') | trunk/src/sync/notifier/invalidation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698