#include <stdint.h>
#include "base/auto_reset.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync_file_system/file_status_observer.h"
#include "chrome/browser/sync_file_system/local_change_processor.h"
#include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h"
#include "chrome/browser/sync_file_system/sync_file_system_service.h"
#include "chrome/browser/sync_file_system/sync_file_system_service_factory.h"
#include "chrome/browser/sync_file_system/sync_status_code.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "content/public/test/browser_test.h"
#include "extensions/browser/extension_function.h"
#include "storage/browser/file_system/file_system_url.h"
#include "storage/browser/quota/quota_manager.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
FileSystemURL;
MockRemoteFileSyncService;
RemoteFileSyncService;
SyncFileSystemServiceFactory;
_;
Invoke;
WithArg;
namespace {
enum class SyncActionMetrics { … };
class SyncFileSystemApiTest : public extensions::ExtensionApiTest { … };
ACTION_P2(UpdateRemoteChangeQueue, origin, mock_remote_service) { … }
struct ReturnWithFakeFileAddedStatusFunctor { … };
}
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, DISABLED_GetFileStatus) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, DISABLED_GetFileStatuses) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetUsageAndQuota) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, OnFileStatusChanged) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, OnFileStatusChangedDeleted) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, OnServiceStatusChanged) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, RequestFileSystem) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, WriteFileThenGetUsage) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, ConflictResolutionPolicy) { … }
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetServiceStatus) { … }