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 123c80fecbb0955583245862c980fdb43f6ac0e1..417c94157c73f504ad0e39b478d4a327ffdc9a79 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; |