chromium/components/sync/engine/syncer_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 "components/sync/engine/syncer_error.h"

#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "components/sync/engine/sync_protocol_error.h"
#include "net/base/net_errors.h"
#include "net/http/http_status_code.h"

namespace syncer {

SyncerError::SyncerError(Type type, ValueType value)
    :{}

// static
SyncerError SyncerError::Success() {}

// static
SyncerError SyncerError::NetworkError(int error_code) {}

// static
SyncerError SyncerError::HttpError(net::HttpStatusCode status_code) {}

// static
SyncerError SyncerError::ProtocolError(SyncProtocolErrorType error_type) {}

// static
SyncerError SyncerError::ProtocolViolationError() {}

int SyncerError::GetNetworkErrorOrDie() const {}

net::HttpStatusCode SyncerError::GetHttpErrorOrDie() const {}

SyncProtocolErrorType SyncerError::GetProtocolErrorOrDie() const {}

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

}  // namespace syncer