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

Unified Diff: sync/tools/sync_client.cc

Issue 377413003: Remove most remaining sync/notifier dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win compile Created 6 years, 5 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/sync_notifier.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 2b626db4198b5479ebd9aa3b86e2541329cbbfa3..6e012e8ab9071ac67f03bb9b961230464f083fd4 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -221,7 +221,7 @@ class InvalidatorShim : public InvalidationHandler {
: sync_manager_(sync_manager) {}
virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE {
- sync_manager_->OnInvalidatorStateChange(state);
+ sync_manager_->SetInvalidatorEnabled(state == INVALIDATIONS_ENABLED);
}
virtual void OnIncomingInvalidation(
« no previous file with comments | « sync/sync_notifier.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698