#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/common/content_settings.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "net/dns/mock_host_resolver.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
constexpr char kInitialUrl[] = …;
constexpr char kSuccessMessage[] = …;
constexpr char kSecurityErrorMessage[] = …;
}
class FileSystemFileHandleBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FileSystemFileHandleBrowserTest, StorageAccessBlocked) { … }
IN_PROC_BROWSER_TEST_F(FileSystemFileHandleBrowserTest,
StorageAccessBlockedWithMultipleCall) { … }
IN_PROC_BROWSER_TEST_F(FileSystemFileHandleBrowserTest, StorageAccessAllowed) { … }
IN_PROC_BROWSER_TEST_F(FileSystemFileHandleBrowserTest,
StorageAccessAllowedWithMultipleCall) { … }
IN_PROC_BROWSER_TEST_F(FileSystemFileHandleBrowserTest,
StateChangeFromAllowToBlock) { … }