#include "chrome/browser/sync_file_system/drive_backend/remote_change_processor_wrapper.h"
#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/sync_file_system/remote_change_processor.h"
namespace sync_file_system {
namespace drive_backend {
RemoteChangeProcessorWrapper::RemoteChangeProcessorWrapper(
RemoteChangeProcessor* remote_change_processor)
: … { … }
RemoteChangeProcessorWrapper::~RemoteChangeProcessorWrapper() = default;
void RemoteChangeProcessorWrapper::PrepareForProcessRemoteChange(
const storage::FileSystemURL& url,
RemoteChangeProcessor::PrepareChangeCallback callback) { … }
void RemoteChangeProcessorWrapper::ApplyRemoteChange(
const FileChange& change,
const base::FilePath& local_path,
const storage::FileSystemURL& url,
SyncStatusCallback callback) { … }
void RemoteChangeProcessorWrapper::FinalizeRemoteSync(
const storage::FileSystemURL& url,
bool clear_local_changes,
base::OnceClosure completion_callback) { … }
void RemoteChangeProcessorWrapper::RecordFakeLocalChange(
const storage::FileSystemURL& url,
const FileChange& change,
SyncStatusCallback callback) { … }
}
}