Lines Matching defs:GoogleServiceAuthError
5 // 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 {
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 FromConnectionError(int error);
151 static GoogleServiceAuthError FromClientLoginCaptchaChallenge(
158 static GoogleServiceAuthError FromServiceError(
163 static GoogleServiceAuthError FromUnexpectedServiceResponse(
167 // (avoids err_ = GoogleServiceAuthError(GoogleServiceAuthError::NONE), due
169 static GoogleServiceAuthError AuthErrorNone();
187 GoogleServiceAuthError(State s, int error);
189 // Construct a GoogleServiceAuthError from |state| and |error_message|.
190 GoogleServiceAuthError(State state, const std::string& error_message);
192 explicit GoogleServiceAuthError(const std::string& error_message);
194 GoogleServiceAuthError(State s, const std::string& captcha_token,
201 GoogleServiceAuthError(State s, const std::string& captcha_token,