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

Unified Diff: sync/notifier/fake_invalidation_handler.cc

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 years, 11 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 e646bd6178e787ddb8c926091bd3f09c4d90f9a6..30cb2fd34958fa095ecd34dc0859414cf0db548f 100644
--- a/sync/notifier/fake_invalidation_handler.cc
+++ b/sync/notifier/fake_invalidation_handler.cc
@@ -8,7 +8,6 @@ namespace syncer {
FakeInvalidationHandler::FakeInvalidationHandler()
: state_(DEFAULT_INVALIDATION_ERROR),
- last_source_(LOCAL_INVALIDATION),
invalidation_count_(0) {}
FakeInvalidationHandler::~FakeInvalidationHandler() {}
@@ -22,11 +21,6 @@ FakeInvalidationHandler::GetLastInvalidationMap() const {
return last_invalidation_map_;
}
-IncomingInvalidationSource
-FakeInvalidationHandler::GetLastInvalidationSource() const {
- return last_source_;
-}
-
int FakeInvalidationHandler::GetInvalidationCount() const {
return invalidation_count_;
}
@@ -36,10 +30,8 @@ void FakeInvalidationHandler::OnInvalidatorStateChange(InvalidatorState state) {
}
void FakeInvalidationHandler::OnIncomingInvalidation(
- const ObjectIdInvalidationMap& invalidation_map,
- IncomingInvalidationSource source) {
+ const ObjectIdInvalidationMap& invalidation_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