#include "chrome/browser/extensions/chrome_extension_frame_host.h"
#include "chrome/browser/extensions/activity_log/activity_log.h"
#include "chrome/browser/extensions/error_console/error_console.h"
#include "chrome/browser/extensions/extension_action_runner.h"
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/common/extensions/extension_constants.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_util.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_set.h"
#include "extensions/common/extension_urls.h"
#include "third_party/blink/public/common/logging/logging_utils.h"
#include "url/gurl.h"
namespace extensions {
ChromeExtensionFrameHost::ChromeExtensionFrameHost(
content::WebContents* web_contents)
: … { … }
ChromeExtensionFrameHost::~ChromeExtensionFrameHost() = default;
void ChromeExtensionFrameHost::RequestScriptInjectionPermission(
const ExtensionId& extension_id,
mojom::InjectionType script_type,
mojom::RunLocation run_location,
RequestScriptInjectionPermissionCallback callback) { … }
void ChromeExtensionFrameHost::GetAppInstallState(
const GURL& requestor_url,
GetAppInstallStateCallback callback) { … }
void ChromeExtensionFrameHost::WatchedPageChange(
const std::vector<std::string>& css_selectors) { … }
void ChromeExtensionFrameHost::DetailedConsoleMessageAdded(
const std::u16string& message,
const std::u16string& source,
const StackTrace& stack_trace,
blink::mojom::ConsoleMessageLevel level) { … }
void ChromeExtensionFrameHost::ContentScriptsExecuting(
const base::flat_map<ExtensionId, std::vector<std::string>>&
extension_id_to_scripts,
const GURL& frame_url) { … }
}