#include "base/files/file_path.h"
#include "base/path_service.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/version_info/channel.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/browser/background_script_executor.h"
#include "extensions/common/extension_features.h"
#include "extensions/test/result_catcher.h"
#include "extensions/test/test_extension_dir.h"
#include "net/base/filename_util.h"
#include "net/dns/mock_host_resolver.h"
namespace extensions {
namespace {
class WebAccessibleResourcesApiTest : public ExtensionApiTest { … };
IN_PROC_BROWSER_TEST_F(WebAccessibleResourcesApiTest,
FileSchemeInitiators_MainWorld) { … }
IN_PROC_BROWSER_TEST_F(WebAccessibleResourcesApiTest,
FileSchemeInitiators_ContentScript) { … }
class WebAccessibleResourcesDynamicUrlScriptingApiTest
: public ExtensionApiTest { … };
IN_PROC_BROWSER_TEST_F(WebAccessibleResourcesDynamicUrlScriptingApiTest,
ContentScript) { … }
IN_PROC_BROWSER_TEST_F(WebAccessibleResourcesDynamicUrlScriptingApiTest,
ExecuteScript) { … }
}
}