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

Unified Diff: components/password_manager/core/browser/password_manager_util.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 | « components/autofill/core/browser/options_util_unittest.cc ('k') | components/sync_driver/sync_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_manager_util.cc
diff --git a/components/password_manager/core/browser/password_manager_util.cc b/components/password_manager/core/browser/password_manager_util.cc
index bb5a732d7cb63e2d94ec0445410355a363313916..b4e17aa992af8449861dc604b43930bacd9c2baf 100644
--- a/components/password_manager/core/browser/password_manager_util.cc
+++ b/components/password_manager/core/browser/password_manager_util.cc
@@ -11,7 +11,7 @@ namespace password_manager_util {
password_manager::PasswordSyncState GetPasswordSyncState(
const sync_driver::SyncService* sync_service) {
if (sync_service && sync_service->HasSyncSetupCompleted() &&
- sync_service->SyncActive() &&
+ sync_service->IsSyncActive() &&
sync_service->GetActiveDataTypes().Has(syncer::PASSWORDS)) {
return sync_service->IsUsingSecondaryPassphrase()
? password_manager::SYNCING_WITH_CUSTOM_PASSPHRASE
« no previous file with comments | « components/autofill/core/browser/options_util_unittest.cc ('k') | components/sync_driver/sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698