#include "chrome/browser/file_system_access/file_system_access_tab_helper.h"
#include "base/memory/raw_ptr.h"
#include "chrome/browser/file_system_access/chrome_file_system_access_permission_context.h"
#include "chrome/browser/file_system_access/file_system_access_permission_context_factory.h"
#include "chrome/browser/profiles/profile.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 "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/prerender_test_util.h"
#include "net/dns/mock_host_resolver.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class MockFileSystemAccessPermissionContext
: public ChromeFileSystemAccessPermissionContext { … };
}
class FileSystemAccessTabHelperPrerenderingBrowserTest
: public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FileSystemAccessTabHelperPrerenderingBrowserTest,
NavigatedAwayFromOrigin) { … }