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

Unified Diff: ios/chrome/browser/sync/sync_setup_service.cc

Issue 2790483002: Fixes History page keeps on loading when signed in with Passphrase (Closed)
Patch Set: a Created 3 years, 9 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: ios/chrome/browser/sync/sync_setup_service.cc
diff --git a/ios/chrome/browser/sync/sync_setup_service.cc b/ios/chrome/browser/sync/sync_setup_service.cc
index 601e1f580dfc3b78d91d7f5bfb536f9f692d4c4d..3455595b0ecf8ea45e146aa6129ef17de3c8f0a8 100644
--- a/ios/chrome/browser/sync/sync_setup_service.cc
+++ b/ios/chrome/browser/sync/sync_setup_service.cc
@@ -108,6 +108,10 @@ bool SyncSetupService::IsSyncEnabled() const {
return sync_service_->CanSyncStart();
}
+bool SyncSetupService::IsSecondaryPassphraseEnabled() const {
+ return sync_service_->IsUsingSecondaryPassphrase();
+}
+
void SyncSetupService::SetSyncEnabled(bool sync_enabled) {
SetSyncEnabledWithoutChangingDatatypes(sync_enabled);
if (sync_enabled && GetDataTypes().Empty())

Powered by Google App Engine
This is Rietveld 408576698