Searched refs:AuthError (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/sync/ |
D | sync_ui_util.cc | 26 typedef GoogleServiceAuthError AuthError; typedef 35 void GetStatusLabelsForAuthError(const AuthError& auth_error, in GetStatusLabelsForAuthError() 40 if (auth_error.state() == AuthError::INVALID_GAIA_CREDENTIALS || in GetStatusLabelsForAuthError() 41 auth_error.state() == AuthError::ACCOUNT_DELETED || in GetStatusLabelsForAuthError() 42 auth_error.state() == AuthError::ACCOUNT_DISABLED) { in GetStatusLabelsForAuthError() 51 } else if (auth_error.state() == AuthError::SERVICE_UNAVAILABLE) { in GetStatusLabelsForAuthError() 55 } else if (auth_error.state() == AuthError::CONNECTION_FAILED) { in GetStatusLabelsForAuthError() 103 const AuthError& auth_error = service->GetAuthError(); in GetStatusInfo() 112 DCHECK_EQ(auth_error.state(), AuthError::NONE); in GetStatusInfo() 137 } else if (auth_error.state() != AuthError::NONE) { in GetStatusInfo() [all …]
|
D | sync_setup_wizard_unittest.cc | 32 typedef GoogleServiceAuthError AuthError; typedef 76 const AuthError& error) { in set_auth_state() 244 AuthError invalid_gaia(AuthError::INVALID_GAIA_CREDENTIALS); in TEST_F() 261 EXPECT_EQ(static_cast<int>(AuthError::INVALID_GAIA_CREDENTIALS), error); in TEST_F() 262 service_->set_auth_state(kTestUser, AuthError::None()); in TEST_F() 265 AuthError captcha_error(AuthError::FromCaptchaChallenge( in TEST_F() 278 EXPECT_EQ(static_cast<int>(AuthError::CAPTCHA_REQUIRED), error); in TEST_F() 279 service_->set_auth_state(kTestUser, AuthError::None()); in TEST_F() 515 AuthError invalid_gaia(AuthError::INVALID_GAIA_CREDENTIALS); in TEST_F() 529 EXPECT_EQ(static_cast<int>(AuthError::INVALID_GAIA_CREDENTIALS), error); in TEST_F() [all …]
|
D | profile_sync_service.cc | 57 typedef GoogleServiceAuthError AuthError; typedef 70 : last_auth_error_(AuthError::None()), in ProfileSyncService() 537 wizard_.Step(AuthError::NONE == last_auth_error_.state() ? in UpdateAuthErrorState()
|
/external/chromium/chrome/browser/sync/glue/ |
D | sync_backend_host.cc | 53 typedef GoogleServiceAuthError AuthError; typedef 68 last_auth_error_(AuthError::None()), in SyncBackendHost() 77 last_auth_error_(AuthError::None()), in SyncBackendHost() 966 void SyncBackendHost::Core::OnAuthError(const AuthError& auth_error) { in OnAuthError()
|
/external/chromium/chrome/browser/sync/engine/ |
D | syncapi.cc | 100 typedef GoogleServiceAuthError AuthError; typedef 1929 OnAuthError(AuthError(AuthError::INVALID_GAIA_CREDENTIALS))); in RaiseAuthNeededEvent() 2268 OnAuthError(AuthError::None())); in HandleServerConnectionEvent() 2274 OnAuthError(AuthError(AuthError::INVALID_GAIA_CREDENTIALS))); in HandleServerConnectionEvent()
|