chromium/content/browser/storage_service_sandbox_browsertest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <tuple>

#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "build/build_config.h"
#include "components/services/storage/public/mojom/storage_service.mojom.h"
#include "components/services/storage/public/mojom/storage_usage_info.mojom.h"
#include "components/services/storage/public/mojom/test_api.test-mojom.h"
#include "content/browser/dom_storage/dom_storage_context_wrapper.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "mojo/public/cpp/bindings/sync_call_restrictions.h"

namespace content {
namespace {

class StorageServiceSandboxBrowserTest : public ContentBrowserTest {};

IN_PROC_BROWSER_TEST_F(StorageServiceSandboxBrowserTest, BasicLaunch) {}

IN_PROC_BROWSER_TEST_F(StorageServiceSandboxBrowserTest, PRE_DomStorage) {}

IN_PROC_BROWSER_TEST_F(StorageServiceSandboxBrowserTest, DomStorage) {}

// TODO(crbug.com/40835229): Fix and enable the test on Fuchsia.
#if BUILDFLAG(IS_FUCHSIA)
#define MAYBE_CompactDatabase
#else
#define MAYBE_CompactDatabase
#endif
IN_PROC_BROWSER_TEST_F(StorageServiceSandboxBrowserTest,
                       MAYBE_CompactDatabase) {}

}  // namespace
}  // namespace content