Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index 3e9b99eac9af3dec6bbdd91084d48882388d43b8..9ceef3f563a76602bdbdb6279575828f162c5e61 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -996,6 +996,10 @@ SyncBackendHost::Status ProfileSyncService::QueryDetailedSyncStatus() { |
} |
} |
+const GoogleServiceAuthError& ProfileSyncService::GetAuthError() const { |
+ return last_auth_error_; |
+} |
+ |
bool ProfileSyncService::SetupInProgress() const { |
return !HasSyncSetupCompleted() && WizardIsVisible(); |
} |
@@ -1023,6 +1027,10 @@ bool ProfileSyncService::unrecoverable_error_detected() const { |
return unrecoverable_error_detected_; |
} |
+bool ProfileSyncService::UIShouldDepictAuthInProgress() const { |
+ return is_auth_in_progress_; |
+} |
+ |
bool ProfileSyncService::IsPassphraseRequired() const { |
return passphrase_required_reason_ != |
sync_api::REASON_PASSPHRASE_NOT_REQUIRED; |