#include "extensions/browser/api/storage/storage_frontend.h"
#include <memory>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "components/value_store/value_store.h"
#include "components/value_store/value_store_factory_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_utils.h"
#include "extensions/browser/api/extensions_api_client.h"
#include "extensions/browser/api/storage/settings_namespace.h"
#include "extensions/browser/api/storage/settings_test_util.h"
#include "extensions/browser/extensions_test.h"
#include "testing/gtest/include/gtest/gtest.h"
ValueStore;
namespace extensions {
settings;
namespace {
const ValueStore::WriteOptions DEFAULTS = …;
}
class ExtensionSettingsFrontendTest : public ExtensionsTest { … };
TEST_F(ExtensionSettingsFrontendTest, Basics) { … }
TEST_F(ExtensionSettingsFrontendTest, SettingsPreservedAcrossReconstruction) { … }
TEST_F(ExtensionSettingsFrontendTest, SettingsClearedOnUninstall) { … }
TEST_F(ExtensionSettingsFrontendTest, LeveldbDatabaseDeletedFromDiskOnClear) { … }
TEST_F(ExtensionSettingsFrontendTest,
DISABLED_QuotaLimitsEnforcedCorrectlyForSyncAndLocal) { … }
}