#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "storage/browser/file_system/file_system_context.h"
#include <stddef.h>
#include "base/files/scoped_temp_dir.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/stringprintf.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/gmock_expected_support.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/services/storage/public/cpp/quota_error_or.h"
#include "storage/browser/file_system/external_mount_points.h"
#include "storage/browser/file_system/file_system_backend.h"
#include "storage/browser/file_system/isolated_context.h"
#include "storage/browser/file_system/open_file_system_mode.h"
#include "storage/browser/quota/quota_manager_proxy.h"
#include "storage/browser/test/mock_quota_manager.h"
#include "storage/browser/test/mock_special_storage_policy.h"
#include "storage/browser/test/test_file_system_backend.h"
#include "storage/browser/test/test_file_system_options.h"
#include "testing/gtest/include/gtest/gtest.h"
#define FPL(x) …
#if defined(FILE_PATH_USES_DRIVE_LETTERS)
#define DRIVE …
#else
#define DRIVE
#endif
namespace storage {
namespace {
const char kTestOrigin[] = …;
GURL CreateRawFileSystemURL(const std::string& type_str,
const std::string& fs_id) { … }
class FileSystemContextTest : public testing::Test { … };
#if !BUILDFLAG(IS_CHROMEOS_ASH)
TEST_F(FileSystemContextTest, NullExternalMountPoints) { … }
#endif
TEST_F(FileSystemContextTest, FileSystemContextKeepsMountPointsAlive) { … }
TEST_F(FileSystemContextTest, ResolveURLOnOpenFileSystem_CustomBucket) { … }
TEST_F(FileSystemContextTest, CrackFileSystemURL) { … }
TEST_F(FileSystemContextTest, CanServeURLRequest) { … }
TEST_F(FileSystemContextTest, IsolatedFileSystemsTypesHandled) { … }
}
}