| 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())
|
|
|