#include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h"
#include <string>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "base/values.h"
#include "storage/browser/file_system/file_system_url.h"
#include "url/gurl.h"
_;
Invoke;
Return;
namespace sync_file_system {
MockRemoteFileSyncService::MockRemoteFileSyncService()
: … { … }
MockRemoteFileSyncService::~MockRemoteFileSyncService() { … }
void MockRemoteFileSyncService::DumpFiles(const GURL& origin,
ListCallback callback) { … }
void MockRemoteFileSyncService::DumpDatabase(ListCallback callback) { … }
void MockRemoteFileSyncService::SetServiceState(RemoteServiceState state) { … }
void MockRemoteFileSyncService::NotifyRemoteChangeQueueUpdated(
int64_t pending_changes) { … }
void MockRemoteFileSyncService::NotifyRemoteServiceStateUpdated(
RemoteServiceState state,
const std::string& description) { … }
void MockRemoteFileSyncService::NotifyFileStatusChanged(
const storage::FileSystemURL& url,
SyncFileType file_type,
SyncFileStatus sync_status,
SyncAction action_taken,
SyncDirection direction) { … }
void MockRemoteFileSyncService::AddServiceObserverStub(Observer* observer) { … }
void MockRemoteFileSyncService::AddFileStatusObserverStub(
FileStatusObserver* observer) { … }
void MockRemoteFileSyncService::RegisterOriginStub(
const GURL& origin,
SyncStatusCallback callback) { … }
void MockRemoteFileSyncService::DeleteOriginDirectoryStub(
const GURL& origin,
UninstallFlag flag,
SyncStatusCallback callback) { … }
void MockRemoteFileSyncService::ProcessRemoteChangeStub(
SyncFileCallback callback) { … }
RemoteServiceState MockRemoteFileSyncService::GetCurrentStateStub() const { … }
}