chromium/google_apis/gaia/google_service_auth_error.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "google_apis/gaia/google_service_auth_error.h"

#include <memory>
#include <string>
#include <utility>

#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/stringprintf.h"
#include "net/base/net_errors.h"

namespace {
const char* InvalidCredentialsReasonToString(
    GoogleServiceAuthError::InvalidGaiaCredentialsReason reason) {}
}  // namespace

bool GoogleServiceAuthError::operator==(
    const GoogleServiceAuthError& b) const {}

bool GoogleServiceAuthError::operator!=(
    const GoogleServiceAuthError& b) const {}

GoogleServiceAuthError::GoogleServiceAuthError()
    :{}

GoogleServiceAuthError::GoogleServiceAuthError(State s)
    :{}

GoogleServiceAuthError::GoogleServiceAuthError(State state,
                                               const std::string& error_message)
    :{}

GoogleServiceAuthError::GoogleServiceAuthError(
    const GoogleServiceAuthError& other) = default;

GoogleServiceAuthError& GoogleServiceAuthError::operator=(
    const GoogleServiceAuthError& other) = default;

// static
GoogleServiceAuthError
    GoogleServiceAuthError::FromConnectionError(int error) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::FromInvalidGaiaCredentialsReason(
    InvalidGaiaCredentialsReason reason) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::FromServiceUnavailable(
    const std::string& error_message) {}

// static
GoogleServiceAuthError
GoogleServiceAuthError::FromScopeLimitedUnrecoverableError(
    const std::string& error_message) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::FromServiceError(
    const std::string& error_message) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::FromUnexpectedServiceResponse(
    const std::string& error_message) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::FromTokenBindingChallenge(
    const std::string& challenge) {}

// static
GoogleServiceAuthError GoogleServiceAuthError::AuthErrorNone() {}

// static
bool GoogleServiceAuthError::IsValid(State state) {}

GoogleServiceAuthError::State GoogleServiceAuthError::state() const {}

int GoogleServiceAuthError::network_error() const {}

const std::string& GoogleServiceAuthError::error_message() const {}

const std::string& GoogleServiceAuthError::GetTokenBindingChallenge() const {}

GoogleServiceAuthError::InvalidGaiaCredentialsReason
GoogleServiceAuthError::GetInvalidGaiaCredentialsReason() const {}

std::string GoogleServiceAuthError::ToString() const {}

bool GoogleServiceAuthError::IsPersistentError() const {}

bool GoogleServiceAuthError::IsScopePersistentError() const {}

bool GoogleServiceAuthError::IsTransientError() const {}

GoogleServiceAuthError::GoogleServiceAuthError(State s, int error)
    :{}