chromium/chrome/browser/sync_file_system/sync_process_runner.cc

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

#include "chrome/browser/sync_file_system/sync_process_runner.h"

#include <memory>
#include <utility>

#include "base/format_macros.h"
#include "base/functional/bind.h"
#include "chrome/browser/sync_file_system/logger.h"

namespace sync_file_system {

const int64_t SyncProcessRunner::kSyncDelayInMilliseconds =;  // 1 sec
const int64_t SyncProcessRunner::kSyncDelayWithSyncError =;                           // 3 sec
const int64_t SyncProcessRunner::kSyncDelayFastInMilliseconds =;  // 100 ms
const int SyncProcessRunner::kPendingChangeThresholdForFastSync =;
const int64_t SyncProcessRunner::kSyncDelaySlowInMilliseconds =;  // 30 sec
const int64_t SyncProcessRunner::kSyncDelayMaxInMilliseconds =;  // 30 min

namespace {

class BaseTimerHelper : public SyncProcessRunner::TimerHelper {};

bool WasSuccessfulSync(SyncStatusCode status) {}

}  // namespace

SyncProcessRunner::SyncProcessRunner(const std::string& name,
                                     Client* client,
                                     std::unique_ptr<TimerHelper> timer_helper,
                                     size_t max_parallel_task)
    :{}

SyncProcessRunner::~SyncProcessRunner() {}

void SyncProcessRunner::Schedule() {}

void SyncProcessRunner::ThrottleSync(int64_t base_delay) {}

void SyncProcessRunner::ResetOldThrottling() {}

void SyncProcessRunner::ResetThrottling() {}

SyncServiceState SyncProcessRunner::GetServiceState() {}

void SyncProcessRunner::OnChangesUpdated(int64_t pending_changes) {}

SyncFileSystemService* SyncProcessRunner::GetSyncService() {}

void SyncProcessRunner::Finished(const base::TimeTicks& start_time,
                                 SyncStatusCode status) {}

void SyncProcessRunner::Run() {}

void SyncProcessRunner::ScheduleInternal(int64_t delay) {}

void SyncProcessRunner::CheckIfIdle() {}

}  // namespace sync_file_system