Searched refs:GoogleServiceAuthError (Results 1 - 25 of 227) sorted by relevance

12345678910

/external/chromium_org/components/signin/core/browser/
H A Dsignin_error_controller_unittest.cc53 GoogleServiceAuthError(
54 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
75 GoogleServiceAuthError(
76 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
81 GoogleServiceAuthError(GoogleServiceAuthError::ACCOUNT_DISABLED));
87 GoogleServiceAuthError::AuthErrorNone());
91 GoogleServiceAuthError::AuthErrorNone());
110 GoogleServiceAuthError(
111 GoogleServiceAuthError
[all...]
H A Dfake_auth_status_provider.h23 const GoogleServiceAuthError& error);
25 void set_error_without_status_change(const GoogleServiceAuthError& error) {
32 virtual GoogleServiceAuthError GetAuthStatus() const OVERRIDE;
38 GoogleServiceAuthError auth_error_;
H A Dsignin_error_controller.cc21 : auth_error_(GoogleServiceAuthError::AuthErrorNone()) {
46 GoogleServiceAuthError::State prev_state = auth_error_.state();
56 GoogleServiceAuthError error = (*it)->GetAuthStatus();
59 if (error.state() == GoogleServiceAuthError::NONE ||
60 error.state() == GoogleServiceAuthError::CONNECTION_FAILED) {
86 if (!error_changed && prev_state != GoogleServiceAuthError::NONE) {
88 auth_error_ = GoogleServiceAuthError::AuthErrorNone();
100 return auth_error_.state() != GoogleServiceAuthError::NONE &&
101 auth_error_.state() != GoogleServiceAuthError::CONNECTION_FAILED;
H A Dfake_auth_status_provider.cc9 auth_error_(GoogleServiceAuthError::AuthErrorNone()) {
25 GoogleServiceAuthError FakeAuthStatusProvider::GetAuthStatus() const {
31 const GoogleServiceAuthError& error) {
H A Dsignin_oauth_helper.cc33 const GoogleServiceAuthError& error) {
43 const GoogleServiceAuthError& error) {
56 GoogleServiceAuthError(GoogleServiceAuthError::SERVICE_ERROR));
67 const GoogleServiceAuthError& error) {
H A Dsignin_error_controller.h33 virtual GoogleServiceAuthError GetAuthStatus() const = 0;
66 const GoogleServiceAuthError& auth_error() const { return auth_error_; }
77 GoogleServiceAuthError auth_error_;
/external/chromium_org/google_apis/gaia/
H A Dgoogle_service_auth_error.cc16 GoogleServiceAuthError::Captcha::Captcha() : image_width(0), image_height(0) {
19 GoogleServiceAuthError::Captcha::Captcha(
26 GoogleServiceAuthError::Captcha::~Captcha() {
29 bool GoogleServiceAuthError::Captcha::operator==(const Captcha& b) const {
38 GoogleServiceAuthError::SecondFactor::SecondFactor() : field_length(0) {
41 GoogleServiceAuthError::SecondFactor::SecondFactor(
48 GoogleServiceAuthError::SecondFactor::~SecondFactor() {
51 bool GoogleServiceAuthError::SecondFactor::operator==(
59 bool GoogleServiceAuthError::operator==(
60 const GoogleServiceAuthError
67 GoogleServiceAuthError::GoogleServiceAuthError(State s) function in class:GoogleServiceAuthError
76 GoogleServiceAuthError::GoogleServiceAuthError( function in class:GoogleServiceAuthError
238 GoogleServiceAuthError::GoogleServiceAuthError(State s, int error) function in class:GoogleServiceAuthError
243 GoogleServiceAuthError::GoogleServiceAuthError( function in class:GoogleServiceAuthError
[all...]
H A Dgoogle_service_auth_error_unittest.cc21 void TestSimpleState(GoogleServiceAuthError::State state) {
22 GoogleServiceAuthError error(state);
33 for (int i = GoogleServiceAuthError::NONE;
34 i <= GoogleServiceAuthError::USER_NOT_SIGNED_UP; ++i) {
35 TestSimpleState(static_cast<GoogleServiceAuthError::State>(i));
40 GoogleServiceAuthError error(GoogleServiceAuthError::AuthErrorNone());
47 GoogleServiceAuthError error(
48 GoogleServiceAuthError::FromConnectionError(net::OK));
H A Dgoogle_service_auth_error.h5 // A GoogleServiceAuthError is immutable, plain old data representing an
11 // A GoogleServiceAuthError without additional data is just a State, defined
13 // error events concisely by doing OnAuthError(GoogleServiceAuthError::NONE),
19 // may forward declare and typedef GoogleServiceAuthError to something shorter
33 class GoogleServiceAuthError { class
138 bool operator==(const GoogleServiceAuthError &b) const;
140 // Construct a GoogleServiceAuthError from a State with no additional data.
141 explicit GoogleServiceAuthError(State s);
143 // Construct a GoogleServiceAuthError from a network error.
145 static GoogleServiceAuthError FromConnectionErro
[all...]
H A Doauth2_access_token_consumer.h10 class GoogleServiceAuthError;
25 virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) {}
H A Dgaia_auth_consumer.h12 class GoogleServiceAuthError;
65 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {}
70 const GoogleServiceAuthError& error) {}
73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {}
78 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {}
81 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {}
84 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {}
87 virtual void OnListAccountsFailure(const GoogleServiceAuthError& error) {}
91 const GoogleServiceAuthError& error) {}
H A Dubertoken_fetcher_unittest.cc24 last_error_(GoogleServiceAuthError::AuthErrorNone()),
34 virtual void OnUbertokenFailure(const GoogleServiceAuthError& error)
42 GoogleServiceAuthError last_error_;
86 GoogleServiceAuthError error(GoogleServiceAuthError::USER_NOT_SIGNED_UP);
95 GoogleServiceAuthError error(GoogleServiceAuthError::USER_NOT_SIGNED_UP);
105 GoogleServiceAuthError error(GoogleServiceAuthError::CONNECTION_FAILED);
123 GoogleServiceAuthError erro
[all...]
H A Doauth2_access_token_fetcher_impl.cc82 static GoogleServiceAuthError CreateAuthError(URLRequestStatus status) {
85 return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED);
89 return GoogleServiceAuthError::FromConnectionError(status.error());
189 GoogleServiceAuthError(GoogleServiceAuthError::SERVICE_UNAVAILABLE));
197 GoogleServiceAuthError(GoogleServiceAuthError::SERVICE_ERROR));
209 ? GoogleServiceAuthError(
210 GoogleServiceAuthError
[all...]
/external/chromium_org/chrome/browser/signin/
H A Dsignin_global_error_unittest.cc80 GoogleServiceAuthError(
81 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
95 GoogleServiceAuthError::State error_state;
100 { GoogleServiceAuthError::NONE, false },
101 { GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS, true },
102 { GoogleServiceAuthError::USER_NOT_SIGNED_UP, true },
103 { GoogleServiceAuthError::CONNECTION_FAILED, false },
104 { GoogleServiceAuthError::CAPTCHA_REQUIRED, true },
105 { GoogleServiceAuthError::ACCOUNT_DELETED, true },
106 { GoogleServiceAuthError
[all...]
H A Dsignin_error_notifier_ash_unittest.cc141 GoogleServiceAuthError(
142 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
168 GoogleServiceAuthError(
169 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
180 GoogleServiceAuthError(
181 GoogleServiceAuthError::UNEXPECTED_SERVICE_RESPONSE));
185 GoogleServiceAuthError::AuthErrorNone());
196 kTestAccountId, kTestUsername, GoogleServiceAuthError::AuthErrorNone());
206 GoogleServiceAuthError::State error_state;
211 { GoogleServiceAuthError
[all...]
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_signin_helper_delegate.h11 class GoogleServiceAuthError;
26 virtual void OnPassiveSigninFailure(const GoogleServiceAuthError& error) = 0;
/external/chromium_org/sync/internal_api/public/
H A Dsync_auth_provider.h10 class GoogleServiceAuthError;
18 typedef base::Callback<void(const GoogleServiceAuthError& error,
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_info_fetcher.cc56 GoogleServiceAuthError error = GoogleServiceAuthError::AuthErrorNone();
59 error = GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED);
61 error = GoogleServiceAuthError::FromConnectionError(status.error());
65 error = GoogleServiceAuthError(
66 GoogleServiceAuthError::CONNECTION_FAILED);
68 if (error.state() != GoogleServiceAuthError::NONE) {
84 delegate_->OnGetUserInfoFailure(GoogleServiceAuthError(
85 GoogleServiceAuthError
[all...]
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_registration_utility_stub.cc37 callback_.Run(GoogleServiceAuthError(GoogleServiceAuthError::NONE), token);
42 const GoogleServiceAuthError::State state) {
45 GoogleServiceAuthError error(state);
/external/chromium_org/chromeos/login/auth/
H A Dauth_status_consumer.h44 : reason_(reason), error_(GoogleServiceAuthError::NONE) {
59 const GoogleServiceAuthError& error) {
80 if (error_.state() == GoogleServiceAuthError::CONNECTION_FAILED) {
94 const GoogleServiceAuthError& error() const { return error_; }
98 AuthFailure(FailureReason reason, GoogleServiceAuthError error)
102 GoogleServiceAuthError error_;
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Dgaia_web_auth_flow_unittest.cc33 GoogleServiceAuthError::State ubertoken_error_state)
38 if (ubertoken_error_.state() == GoogleServiceAuthError::NONE)
49 GoogleServiceAuthError ubertoken_error_;
56 GoogleServiceAuthError service_error,
66 : ubertoken_error_state_(GoogleServiceAuthError::NONE),
86 GoogleServiceAuthError GetNoneServiceError() {
87 return GoogleServiceAuthError(GoogleServiceAuthError::NONE);
91 GoogleServiceAuthError::State ubertoken_error_state) {
97 GoogleServiceAuthError
[all...]
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dpolicy_oauth2_token_fetcher.cc80 const GoogleServiceAuthError& error) {
93 GoogleServiceAuthError(GoogleServiceAuthError::NONE));
97 const GoogleServiceAuthError& error) {
104 void PolicyOAuth2TokenFetcher::RetryOnError(const GoogleServiceAuthError& error,
107 if ((error.state() == GoogleServiceAuthError::CONNECTION_FAILED ||
108 error.state() == GoogleServiceAuthError::SERVICE_UNAVAILABLE ||
109 error.state() == GoogleServiceAuthError::REQUEST_CANCELED) &&
128 const GoogleServiceAuthError& error) {
H A Dpolicy_oauth2_token_fetcher.h39 const GoogleServiceAuthError&)> TokenCallback;
70 const GoogleServiceAuthError& error) OVERRIDE;
75 virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
87 void RetryOnError(const GoogleServiceAuthError& error,
92 const GoogleServiceAuthError& error);
/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Donline_attempt_unittest.cc71 void RunFailureTest(const GoogleServiceAuthError& error) {
109 GoogleServiceAuthError error(GoogleServiceAuthError::REQUEST_CANCELED);
156 GoogleServiceAuthError(GoogleServiceAuthError::HOSTED_NOT_ALLOWED)));
200 GoogleServiceAuthError::FromConnectionError(net::ERR_CONNECTION_RESET));
205 GoogleServiceAuthError(GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
210 GoogleServiceAuthError(GoogleServiceAuthError
[all...]
/external/chromium_org/chrome/browser/chromeos/login/signin/
H A Dauth_sync_observer.cc53 GoogleServiceAuthError::State state =
55 if (state != GoogleServiceAuthError::NONE &&
56 state != GoogleServiceAuthError::CONNECTION_FAILED &&
57 state != GoogleServiceAuthError::SERVICE_UNAVAILABLE &&
58 state != GoogleServiceAuthError::REQUEST_CANCELED) {
83 } else if (state == GoogleServiceAuthError::NONE) {

Completed in 388 milliseconds

12345678910