#include "chrome/browser/sync_file_system/local/syncable_file_operation_runner.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <string>
#include "base/files/file.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h"
#include "chrome/browser/sync_file_system/local/local_file_change_tracker.h"
#include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
#include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
#include "chrome/browser/sync_file_system/local/sync_file_system_backend.h"
#include "chrome/browser/sync_file_system/local/syncable_file_system_operation.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_utils.h"
#include "storage/browser/blob/blob_storage_context.h"
#include "storage/browser/file_system/copy_or_move_hook_delegate.h"
#include "storage/browser/file_system/file_system_context.h"
#include "storage/browser/file_system/file_system_operation_runner.h"
#include "storage/browser/test/mock_blob_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/leveldb_chrome.h"
File;
FileSystemOperation;
FileSystemURL;
ScopedTextBlob;
namespace sync_file_system {
namespace {
const char kParent[] = …;
const char kFile[] = …;
const char kDir[] = …;
const char kChild[] = …;
const char kOther[] = …;
}
class SyncableFileOperationRunnerTest : public testing::Test { … };
TEST_F(SyncableFileOperationRunnerTest, SimpleQueue) { … }
TEST_F(SyncableFileOperationRunnerTest, DISABLED_WriteToParentAndChild) { … }
TEST_F(SyncableFileOperationRunnerTest, CopyAndMove) { … }
TEST_F(SyncableFileOperationRunnerTest, Write) { … }
TEST_F(SyncableFileOperationRunnerTest, QueueAndCancel) { … }
TEST_F(SyncableFileOperationRunnerTest, CopyInForeignFile) { … }
TEST_F(SyncableFileOperationRunnerTest, Cancel) { … }
}