Searched refs:GoogleServiceAuthError (Results 1 - 25 of 227) sorted by last modified time

12345678910

/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_downloader_impl.cc106 const GoogleServiceAuthError& error) {
H A Dattachment_downloader_impl_unittest.cc37 void RespondToAccessTokenRequest(GoogleServiceAuthError error);
60 GoogleServiceAuthError error) {
64 if (error == GoogleServiceAuthError::AuthErrorNone()) {
262 GoogleServiceAuthError::AuthErrorNone());
278 GoogleServiceAuthError::AuthErrorNone());
295 GoogleServiceAuthError::AuthErrorNone());
312 GoogleServiceAuthError::AuthErrorNone());
319 GoogleServiceAuthError(GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS));
334 GoogleServiceAuthError
[all...]
H A Dattachment_uploader_impl.cc76 const GoogleServiceAuthError& error) OVERRIDE;
215 const GoogleServiceAuthError& error) {
H A Dattachment_uploader_impl_unittest.cc59 void SetResponse(const GoogleServiceAuthError& error,
83 GoogleServiceAuthError response_error_;
91 : response_error_(GoogleServiceAuthError::AuthErrorNone()),
100 void MockOAuth2TokenService::SetResponse(const GoogleServiceAuthError& error,
/external/chromium_org/sync/internal_api/public/attachments/
H A Dattachment_downloader_impl.h52 const GoogleServiceAuthError& error) OVERRIDE;
/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/google_apis/drive/
H A Dauth_service.cc52 const GoogleServiceAuthError& error) OVERRIDE;
94 const GoogleServiceAuthError& error) {
103 if (error.state() == GoogleServiceAuthError::CONNECTION_FAILED) {
106 } else if (error.state() == GoogleServiceAuthError::SERVICE_UNAVAILABLE) {
/external/chromium_org/google_apis/gaia/
H A Daccount_tracker.cc299 const GoogleServiceAuthError& error) {
H A Daccount_tracker.h18 class GoogleServiceAuthError;
134 const GoogleServiceAuthError& error) OVERRIDE;
H A Dfake_oauth2_token_service.cc75 GoogleServiceAuthError::AuthErrorNone(), access_token, expiration);
82 const GoogleServiceAuthError& auth_error) {
H A Dfake_oauth2_token_service.h37 const GoogleServiceAuthError& auth_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 Dgaia_auth_fetcher.cc724 GoogleServiceAuthError GaiaAuthFetcher::GenerateAuthError(
729 return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED);
733 return GoogleServiceAuthError::FromConnectionError(status.error());
737 return GoogleServiceAuthError(GoogleServiceAuthError::TWO_FACTOR);
747 return GoogleServiceAuthError::FromClientLoginCaptchaChallenge(
753 return GoogleServiceAuthError(GoogleServiceAuthError::ACCOUNT_DELETED);
755 return GoogleServiceAuthError(GoogleServiceAuthErro
[all...]
H A Dgaia_auth_fetcher.h202 static GoogleServiceAuthError GenerateOAuthLoginError(
388 static GoogleServiceAuthError GenerateAuthError(
H A Dgaia_auth_fetcher_unittest.cc181 void(const GoogleServiceAuthError& error));
183 const GoogleServiceAuthError& error));
185 void(const GoogleServiceAuthError& error));
187 const GoogleServiceAuthError& error));
189 const GoogleServiceAuthError& error));
201 GoogleServiceAuthError expected_error =
202 GoogleServiceAuthError::FromConnectionError(-101);
204 GoogleServiceAuthError matching_error =
205 GoogleServiceAuthError::FromConnectionError(-101);
209 expected_error = GoogleServiceAuthError
[all...]
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.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 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 Dmerge_session_helper.cc213 GoogleServiceAuthError error(GoogleServiceAuthError::REQUEST_CANCELED);
246 const GoogleServiceAuthError& error) {
286 const GoogleServiceAuthError& error) {
299 SignalComplete(account_id, GoogleServiceAuthError::AuthErrorNone());
303 const GoogleServiceAuthError& error) {
H A Dmerge_session_helper.h17 class GoogleServiceAuthError;
39 // GoogleServiceAuthError::AuthErrorNone() then the merge succeeeded.
41 const GoogleServiceAuthError& error) = 0;
133 const GoogleServiceAuthError& error);
151 virtual void OnUbertokenFailure(const GoogleServiceAuthError& error) OVERRIDE;
155 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error)
H A Dmerge_session_helper_unittest.cc35 const GoogleServiceAuthError& ));
71 : no_error_(GoogleServiceAuthError::NONE),
72 error_(GoogleServiceAuthError::SERVICE_ERROR),
73 canceled_(GoogleServiceAuthError::REQUEST_CANCELED),
83 const GoogleServiceAuthError& error) {
93 const GoogleServiceAuthError& error) {
121 const GoogleServiceAuthError& no_error() { return no_error_; }
122 const GoogleServiceAuthError& error() { return error_; }
123 const GoogleServiceAuthError& canceled() { return canceled_; }
131 GoogleServiceAuthError no_error
[all...]
H A Doauth2_access_token_consumer.h10 class GoogleServiceAuthError;
25 virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) {}
H A Doauth2_access_token_fetcher.cc20 const GoogleServiceAuthError& error) {
H A Doauth2_access_token_fetcher.h50 void FireOnGetTokenFailure(const GoogleServiceAuthError& error);
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...]

Completed in 739 milliseconds

12345678910