Update to Chromium version 107.0.5304.0 (#1047731)

This commit is contained in:
Marshall Greenblatt
2022-09-26 15:30:45 -04:00
parent 0089378a0a
commit 4d1fd05740
132 changed files with 1014 additions and 899 deletions

View File

@@ -1,5 +1,5 @@
diff --git chrome/browser/extensions/api/streams_private/streams_private_api.cc chrome/browser/extensions/api/streams_private/streams_private_api.cc
index b2095ffc3fc11..371d5030de6e0 100644
index cead7cfa14bae..24142c2e4896f 100644
--- chrome/browser/extensions/api/streams_private/streams_private_api.cc
+++ chrome/browser/extensions/api/streams_private/streams_private_api.cc
@@ -6,6 +6,7 @@
@@ -60,10 +60,10 @@ index b2095ffc3fc11..371d5030de6e0 100644
std::unique_ptr<StreamContainer> stream_container(
new StreamContainer(tab_id, embedded, handler_url, extension_id,
diff --git extensions/browser/extension_host.cc extensions/browser/extension_host.cc
index 04b9beb8c3fc2..7e4d3e31522c0 100644
index 53ae169ef8bbc..a4c20164ba2ae 100644
--- extensions/browser/extension_host.cc
+++ extensions/browser/extension_host.cc
@@ -59,11 +59,12 @@ ExtensionHost::ExtensionHost(const Extension* extension,
@@ -60,11 +60,12 @@ ExtensionHost::ExtensionHost(const Extension* extension,
host_type == mojom::ViewType::kOffscreenDocument ||
host_type == mojom::ViewType::kExtensionDialog ||
host_type == mojom::ViewType::kExtensionPopup);
@@ -79,7 +79,7 @@ index 04b9beb8c3fc2..7e4d3e31522c0 100644
main_frame_host_ = host_contents_->GetPrimaryMainFrame();
// Listen for when an extension is unloaded from the same profile, as it may
@@ -78,6 +79,44 @@ ExtensionHost::ExtensionHost(const Extension* extension,
@@ -79,6 +80,44 @@ ExtensionHost::ExtensionHost(const Extension* extension,
ExtensionHostRegistry::Get(browser_context_)->ExtensionHostCreated(this);
}
@@ -125,7 +125,7 @@ index 04b9beb8c3fc2..7e4d3e31522c0 100644
ExtensionRegistry::Get(browser_context_)->RemoveObserver(this);
diff --git extensions/browser/extension_host.h extensions/browser/extension_host.h
index 35f6735afb66a..40401322681cf 100644
index fd08f312145a5..1440a3e8246f9 100644
--- extensions/browser/extension_host.h
+++ extensions/browser/extension_host.h
@@ -56,6 +56,12 @@ class ExtensionHost : public DeferredStartRenderHost,
@@ -161,7 +161,7 @@ index 35f6735afb66a..40401322681cf 100644
// A pointer to the current or speculative main frame in `host_contents_`. We
// can't access this frame through the `host_contents_` directly as it does
diff --git extensions/browser/extensions_browser_client.h extensions/browser/extensions_browser_client.h
index 50105246ef3ab..ae05ce09f0f8e 100644
index 7465d1831d9bc..a4bcf0c5527de 100644
--- extensions/browser/extensions_browser_client.h
+++ extensions/browser/extensions_browser_client.h
@@ -31,6 +31,7 @@
@@ -180,7 +180,7 @@ index 50105246ef3ab..ae05ce09f0f8e 100644
class ExtensionHostDelegate;
class ExtensionSet;
class ExtensionSystem;
@@ -220,6 +222,14 @@ class ExtensionsBrowserClient {
@@ -248,6 +250,14 @@ class ExtensionsBrowserClient {
virtual std::unique_ptr<ExtensionHostDelegate>
CreateExtensionHostDelegate() = 0;
@@ -196,7 +196,7 @@ index 50105246ef3ab..ae05ce09f0f8e 100644
// once each time the extensions system is loaded per browser_context. The
// implementation may wish to use the BrowserContext to record the current
diff --git extensions/browser/process_manager.cc extensions/browser/process_manager.cc
index edf33b204d669..694bff911b4b9 100644
index 1ada4dfbdeca8..0720ce6014098 100644
--- extensions/browser/process_manager.cc
+++ extensions/browser/process_manager.cc
@@ -379,9 +379,17 @@ bool ProcessManager::CreateBackgroundHost(const Extension* extension,