#include "components/supervised_user/core/browser/proto_fetcher_status.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
namespace supervised_user {
ProtoFetcherStatus::ProtoFetcherStatus(
State state,
class GoogleServiceAuthError google_service_auth_error)
: … { … }
ProtoFetcherStatus::~ProtoFetcherStatus() = default;
ProtoFetcherStatus::ProtoFetcherStatus(State state) : … { … }
ProtoFetcherStatus::ProtoFetcherStatus(
HttpStatusOrNetErrorType http_status_or_net_error)
: … { … }
ProtoFetcherStatus::ProtoFetcherStatus(
class GoogleServiceAuthError google_service_auth_error)
: … { … }
ProtoFetcherStatus::ProtoFetcherStatus(const ProtoFetcherStatus& other) =
default;
ProtoFetcherStatus& ProtoFetcherStatus::operator=(
const ProtoFetcherStatus& other) = default;
ProtoFetcherStatus ProtoFetcherStatus::Ok() { … }
ProtoFetcherStatus ProtoFetcherStatus::GoogleServiceAuthError(
class GoogleServiceAuthError error) { … }
ProtoFetcherStatus ProtoFetcherStatus::HttpStatusOrNetError(
int http_status_or_net_error) { … }
ProtoFetcherStatus ProtoFetcherStatus::InvalidResponse() { … }
bool ProtoFetcherStatus::IsOk() const { … }
bool ProtoFetcherStatus::IsTransientError() const { … }
bool ProtoFetcherStatus::IsPersistentError() const { … }
std::string ProtoFetcherStatus::ToString() const { … }
ProtoFetcherStatus::State ProtoFetcherStatus::state() const { … }
ProtoFetcherStatus::HttpStatusOrNetErrorType
ProtoFetcherStatus::http_status_or_net_error() const { … }
}