electron/shell/browser/net
trop[bot] f08c6f2e85
perf: prefer GURL string_view getters (#43471)
* chore: avoid double-call to url.scheme() in WebContentsZoomController::SetZoomMode()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.scheme_piece() in GetAppInfoHelperForProtocol()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.scheme_piece() in Browser::GetApplicationNameForProtocol()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add std::less<> to HandlersMap

This lets us search it using string_view keys

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: ProtocolRegistry::FindRegistered() now takes a std::string_view

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.scheme_piece() in InspectableWebContents::LoadNetworkResource()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: ProtocolRegistry::FindIntercepted() now takes a std::string_view

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.scheme_piece() in SimpleURLLoaderWrapper::GetURLLoaderFactoryForURL()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.scheme_piece() in ProxyingURLLoaderFactory::CreateLoaderAndStart()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.host_piece() in ElectronWebUIControllerFactory::GetWebUIType()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: use gurl.host_piece() in ElectronWebUIControllerFactory::CreateWebUIControllerForURL()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-08-23 20:58:59 -05:00
..
asar chore: bump chromium to 129.0.6664.0 (main) (#43329) 2024-08-19 14:52:53 -04:00
cert_verifier_client.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
cert_verifier_client.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_url_loader_factory.cc chore: bump chromium to 129.0.6616.0 (main) (#43012) 2024-07-29 09:37:35 -04:00
electron_url_loader_factory.h perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
network_context_service.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
network_context_service.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
network_context_service_factory.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
network_context_service_factory.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
node_stream_loader.cc fix: always terminate active Node Streams (#43056) 2024-07-27 12:25:43 -05:00
node_stream_loader.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
proxying_url_loader_factory.cc perf: prefer GURL string_view getters (#43471) 2024-08-23 20:58:59 -05:00
proxying_url_loader_factory.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
proxying_websocket.cc refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
proxying_websocket.h refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
resolve_host_function.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
resolve_host_function.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
resolve_proxy_helper.cc fix: crash when resolving proxy due to network service restart (#42878) 2024-07-15 17:46:24 +09:00
resolve_proxy_helper.h fix: crash when resolving proxy due to network service restart (#42878) 2024-07-15 17:46:24 +09:00
system_network_context_manager.cc feat: accept-encoding zstd (#43150) 2024-08-12 10:00:04 -04:00
system_network_context_manager.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
url_loader_network_observer.cc feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
url_loader_network_observer.h feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
url_pipe_loader.cc chore: bump chromium to 129.0.6616.0 (main) (#43012) 2024-07-29 09:37:35 -04:00
url_pipe_loader.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
web_request_api_interface.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00