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

#include "components/sync/engine/events/configure_get_updates_request_event.h"
#include "components/sync/engine/events/normal_get_updates_request_event.h"
#include "components/sync/engine/events/poll_get_updates_request_event.h"
#include "components/sync/engine/get_updates_processor.h"
#include "components/sync/engine/update_handler.h"
#include "components/sync/protocol/data_type_progress_marker.pb.h"
#include "components/sync/protocol/get_updates_caller_info.pb.h"
#include "components/sync/protocol/sync.pb.h"

namespace syncer {

NormalGetUpdatesDelegate::NormalGetUpdatesDelegate(
    const NudgeTracker& nudge_tracker)
    :{}

NormalGetUpdatesDelegate::~NormalGetUpdatesDelegate() = default;

// This function assumes the progress markers have already been populated.
void NormalGetUpdatesDelegate::HelpPopulateGuMessage(
    sync_pb::GetUpdatesMessage* get_updates) const {}

std::unique_ptr<ProtocolEvent> NormalGetUpdatesDelegate::GetNetworkRequestEvent(
    base::Time timestamp,
    const sync_pb::ClientToServerMessage& request) const {}

bool NormalGetUpdatesDelegate::IsNotificationInfoRequired() const {}

ConfigureGetUpdatesDelegate::ConfigureGetUpdatesDelegate(
    sync_pb::SyncEnums::GetUpdatesOrigin origin)
    :{}

ConfigureGetUpdatesDelegate::~ConfigureGetUpdatesDelegate() = default;

void ConfigureGetUpdatesDelegate::HelpPopulateGuMessage(
    sync_pb::GetUpdatesMessage* get_updates) const {}

std::unique_ptr<ProtocolEvent>
ConfigureGetUpdatesDelegate::GetNetworkRequestEvent(
    base::Time timestamp,
    const sync_pb::ClientToServerMessage& request) const {}

bool ConfigureGetUpdatesDelegate::IsNotificationInfoRequired() const {}

PollGetUpdatesDelegate::PollGetUpdatesDelegate() = default;

PollGetUpdatesDelegate::~PollGetUpdatesDelegate() = default;

void PollGetUpdatesDelegate::HelpPopulateGuMessage(
    sync_pb::GetUpdatesMessage* get_updates) const {}

std::unique_ptr<ProtocolEvent> PollGetUpdatesDelegate::GetNetworkRequestEvent(
    base::Time timestamp,
    const sync_pb::ClientToServerMessage& request) const {}

bool PollGetUpdatesDelegate::IsNotificationInfoRequired() const {}

}  // namespace syncer