chromium/chrome/browser/extensions/extension_special_storage_policy_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/extensions/extension_special_storage_policy.h"

#include <stddef.h>

#include <utility>

#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_set.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
#include "testing/gtest/include/gtest/gtest.h"

BrowserThread;
Extension;
ExtensionSet;
Manifest;
ManifestLocation;
SpecialStoragePolicy;

StoragePolicy;

keys;

class ExtensionSpecialStoragePolicyTest : public testing::Test {};

TEST_F(ExtensionSpecialStoragePolicyTest, EmptyPolicy) {}

TEST_F(ExtensionSpecialStoragePolicyTest, AppWithProtectedStorage) {}

TEST_F(ExtensionSpecialStoragePolicyTest, AppWithUnlimitedStorage) {}

TEST_F(ExtensionSpecialStoragePolicyTest,
       StorageForExplicitlyGrantedOriginsShouldBeUnlimited) {}

TEST_F(ExtensionSpecialStoragePolicyTest,
       ExplicitlyUnlimitedOriginsShouldNotInterferWithExtensions) {}

TEST_F(ExtensionSpecialStoragePolicyTest, HasIsolatedStorage) {}

TEST_F(ExtensionSpecialStoragePolicyTest, OverlappingApps) {}

TEST_F(ExtensionSpecialStoragePolicyTest, HasSessionOnlyOrigins) {}

TEST_F(ExtensionSpecialStoragePolicyTest, IsStorageDurableTest) {}

TEST_F(ExtensionSpecialStoragePolicyTest, NotificationTest) {}