chromium/chrome/browser/sync_file_system/fake_remote_change_processor.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/fake_remote_change_processor.h"

#include <stddef.h>

#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/sync_file_system/file_change.h"
#include "chrome/browser/sync_file_system/sync_file_metadata.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "storage/browser/file_system/file_system_url.h"
#include "storage/common/file_system/file_system_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace sync_file_system {

FakeRemoteChangeProcessor::FakeRemoteChangeProcessor() {}

FakeRemoteChangeProcessor::~FakeRemoteChangeProcessor() {}

void FakeRemoteChangeProcessor::PrepareForProcessRemoteChange(
    const storage::FileSystemURL& url,
    PrepareChangeCallback callback) {}

void FakeRemoteChangeProcessor::ApplyRemoteChange(
    const FileChange& change,
    const base::FilePath& local_path,
    const storage::FileSystemURL& url,
    SyncStatusCallback callback) {}

void FakeRemoteChangeProcessor::FinalizeRemoteSync(
    const storage::FileSystemURL& url,
    bool clear_local_changes,
    base::OnceClosure completion_callback) {}

void FakeRemoteChangeProcessor::RecordFakeLocalChange(
    const storage::FileSystemURL& url,
    const FileChange& change,
    SyncStatusCallback callback) {}

void FakeRemoteChangeProcessor::UpdateLocalFileMetadata(
    const storage::FileSystemURL& url,
    const FileChange& change) {}

void FakeRemoteChangeProcessor::ClearLocalChanges(
    const storage::FileSystemURL& url) {}

const FakeRemoteChangeProcessor::URLToFileChangesMap&
FakeRemoteChangeProcessor::GetAppliedRemoteChanges() const {}

void FakeRemoteChangeProcessor::VerifyConsistency(
    const URLToFileChangesMap& expected_changes) {}

}  // namespace sync_file_system