Skip to content

Commit

Permalink
5463431: iwa: Only create IsolatedWebAppURLLoaderFactory for subresou…
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin authored and ckerr committed May 31, 2024
1 parent fd94de9 commit fbfe3c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ ElectronExtensionsBrowserClient::GetProcessManagerDelegate() const {

mojo::PendingRemote<network::mojom::URLLoaderFactory>
ElectronExtensionsBrowserClient::GetControlledFrameEmbedderURLLoader(
const url::Origin& app_origin,
int frame_tree_node_id,
content::BrowserContext* browser_context) {
return mojo::PendingRemote<network::mojom::URLLoaderFactory>();
Expand Down
2 changes: 2 additions & 0 deletions shell/browser/extensions/electron_extensions_browser_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/mojom/fetch_api.mojom.h"
#include "url/origin.h"

class PrefService;

Expand Down Expand Up @@ -104,6 +105,7 @@ class ElectronExtensionsBrowserClient
const override;
mojo::PendingRemote<network::mojom::URLLoaderFactory>
GetControlledFrameEmbedderURLLoader(
const url::Origin& app_origin,
int frame_tree_node_id,
content::BrowserContext* browser_context) override;
std::unique_ptr<extensions::ExtensionHostDelegate>
Expand Down

0 comments on commit fbfe3c9

Please sign in to comment.