chromium/components/sync/test/single_type_mock_server.cc

// Copyright 2014 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/test/single_type_mock_server.h"

#include "components/sync/base/time.h"
#include "components/sync/protocol/data_type_progress_marker.pb.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync/protocol/sync.pb.h"
#include "components/sync/protocol/sync_entity.pb.h"

RepeatedPtrField;

namespace syncer {

SingleTypeMockServer::SingleTypeMockServer(DataType type)
    :{}

SingleTypeMockServer::~SingleTypeMockServer() = default;

sync_pb::SyncEntity SingleTypeMockServer::TypeRootUpdate() {}

sync_pb::SyncEntity SingleTypeMockServer::UpdateFromServer(
    int64_t version_offset,
    const ClientTagHash& tag_hash,
    const sync_pb::EntitySpecifics& specifics) {}

sync_pb::SyncEntity SingleTypeMockServer::UpdateFromServer(
    int64_t version_offset,
    const ClientTagHash& tag_hash,
    const sync_pb::EntitySpecifics& specifics,
    const std::string& collaboration_id) {}

sync_pb::SyncEntity SingleTypeMockServer::TombstoneFromServer(
    int64_t version_offset,
    const ClientTagHash& tag_hash) {}

sync_pb::ClientToServerResponse SingleTypeMockServer::DoSuccessfulCommit(
    const sync_pb::ClientToServerMessage& message) {}

size_t SingleTypeMockServer::GetNumCommitMessages() const {}

const sync_pb::ClientToServerMessage& SingleTypeMockServer::GetNthCommitMessage(
    size_t n) const {}

bool SingleTypeMockServer::HasCommitEntity(
    const ClientTagHash& tag_hash) const {}

sync_pb::SyncEntity SingleTypeMockServer::GetLastCommittedEntity(
    const ClientTagHash& tag_hash) const {}

sync_pb::DataTypeProgressMarker SingleTypeMockServer::GetProgress() const {}

sync_pb::DataTypeContext SingleTypeMockServer::GetContext() const {}

void SingleTypeMockServer::SetProgressMarkerToken(const std::string& token) {}

std::string SingleTypeMockServer::GenerateId(const ClientTagHash& tag_hash) {}

int64_t SingleTypeMockServer::GetServerVersion(
    const ClientTagHash& tag_hash) const {}

void SingleTypeMockServer::SetServerVersion(const ClientTagHash& tag_hash,
                                            int64_t version) {}

void SingleTypeMockServer::SetReturnGcDirectiveVersionWatermark(
    bool return_gc_directive) {}

void SingleTypeMockServer::AddCollaboration(
    const std::string& collaboration_id) {}

void SingleTypeMockServer::RemoveCollaboration(
    const std::string& collaboration_id) {}

}  // namespace syncer