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

Unified Diff: chrome/browser/android/most_visited_sites.cc

Issue 1175243009: [Sync] Rename SyncEnabledAndLoggedIn() to CanStartSync(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a const transition. Created 5 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
Index: chrome/browser/android/most_visited_sites.cc
diff --git a/chrome/browser/android/most_visited_sites.cc b/chrome/browser/android/most_visited_sites.cc
index f5834cde747eaeefb672b08d409db12b9cf6a219..5b1c5e4bea9333c613c0a428f8d2a8d0741de766 100644
--- a/chrome/browser/android/most_visited_sites.cc
+++ b/chrome/browser/android/most_visited_sites.cc
@@ -111,7 +111,7 @@ SyncState GetSyncState(Profile* profile) {
if (!sync)
return SyncState::SYNC_OR_HISTORY_SYNC_DISABLED;
return suggestions::GetSyncState(
- sync->IsSyncEnabledAndLoggedIn(),
+ sync->CanSyncStart(),
sync->IsSyncActive() && sync->ConfigurationDone(),
sync->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES));
}

Powered by Google App Engine
This is Rietveld 408576698