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

Unified Diff: chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc

Issue 1155443009: [Sync] Rename SyncActive to IsSyncActive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More non-android cases. 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 | « chrome/browser/sync/about_sync_util.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc b/chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc
index eeca282014669836f1f264fecb1a2fb8e96ae5e3..c61804007658fb04c55c52c29309858dc2aae83e 100644
--- a/chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc
+++ b/chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc
@@ -49,7 +49,7 @@ void HistoryDeleteDirectivesDataTypeController::OnStateChanged() {
}
bool HistoryDeleteDirectivesDataTypeController::DisableTypeIfNecessary() {
- if (!sync_service_->SyncActive())
+ if (!sync_service_->IsSyncActive())
return false;
if (ReadyForStart())
« no previous file with comments | « chrome/browser/sync/about_sync_util.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698