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

Unified Diff: sync/notifier/fake_invalidation_handler.cc

Issue 11052007: Rename ModelType/ObjectIdStateMap to InvalidationMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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/notifier/fake_invalidation_handler.h ('k') | sync/notifier/fake_invalidator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/fake_invalidation_handler.cc
diff --git a/sync/notifier/fake_invalidation_handler.cc b/sync/notifier/fake_invalidation_handler.cc
index d63a549e5797b3a39e691d35988fce32403c9a49..e646bd6178e787ddb8c926091bd3f09c4d90f9a6 100644
--- a/sync/notifier/fake_invalidation_handler.cc
+++ b/sync/notifier/fake_invalidation_handler.cc
@@ -17,9 +17,9 @@ InvalidatorState FakeInvalidationHandler::GetInvalidatorState() const {
return state_;
}
-const ObjectIdStateMap&
-FakeInvalidationHandler::GetLastInvalidationIdStateMap() const {
- return last_id_state_map_;
+const ObjectIdInvalidationMap&
+FakeInvalidationHandler::GetLastInvalidationMap() const {
+ return last_invalidation_map_;
}
IncomingInvalidationSource
@@ -36,9 +36,9 @@ void FakeInvalidationHandler::OnInvalidatorStateChange(InvalidatorState state) {
}
void FakeInvalidationHandler::OnIncomingInvalidation(
- const ObjectIdStateMap& id_state_map,
+ const ObjectIdInvalidationMap& invalidation_map,
IncomingInvalidationSource source) {
- last_id_state_map_ = id_state_map;
+ last_invalidation_map_ = invalidation_map;
last_source_ = source;
++invalidation_count_;
}
« no previous file with comments | « sync/notifier/fake_invalidation_handler.h ('k') | sync/notifier/fake_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698