electron/shell/browser/net
Charles Kerr b428315c6d
perf: remove unnecessary .c_str() calls (#41869)
* perf: remove unnecessary c_str() call when invoking promise.RejectWithErrorMessage()

RejectWithErrorMessage() takes a std::string_view

* perf: remove unnecessary c_str() call when invoking Environment::SetVar()

the val arg to Environment::SetVar() takes a const std::string&

* refactor: use string_view variant of base::UTF8ToWide()

* perf: remove unnecessary c_str() call when instantiating a ScopedHString

ScopedHString has always taken a StringPiece

* refactor: use simpler invocation of base::make_span()

* perf: remove unnecessary c_str() call when calling base::CommandLine::HasSwitch()

HasSwitch() already takes a string_piece

* perf: remove unnecessary c_str() call when calling net::HttpResponseHeaders::AddHeader()

AddHeader() already takes a StringPiece arg

* perf: omit unnecessary str -> wstr -> str conversion in DesktopCapturer::UpdateSourcesList()

this conversion was made redundant by c670e38
2024-04-16 19:48:54 -04:00
..
asar perf: remove unnecessary .c_str() calls (#41869) 2024-04-16 19:48:54 -04:00
cert_verifier_client.cc
cert_verifier_client.h
electron_url_loader_factory.cc
electron_url_loader_factory.h
network_context_service.cc refactor: inline simple getters (#41125) 2024-01-29 20:43:28 -06:00
network_context_service.h
network_context_service_factory.cc refactor: prefer using base::NoDestructor to base::{Singleton,LazyInstance} (#41400) 2024-02-23 10:35:20 +01:00
network_context_service_factory.h refactor: prefer using base::NoDestructor to base::{Singleton,LazyInstance} (#41400) 2024-02-23 10:35:20 +01:00
node_stream_loader.cc
node_stream_loader.h
proxying_url_loader_factory.cc
proxying_url_loader_factory.h
proxying_websocket.cc
proxying_websocket.h
resolve_host_function.cc
resolve_host_function.h
resolve_proxy_helper.cc feat: add support for configuring system network context proxies (#41335) 2024-02-22 12:08:25 -05:00
resolve_proxy_helper.h feat: add support for configuring system network context proxies (#41335) 2024-02-22 12:08:25 -05:00
system_network_context_manager.cc chore: bump chromium to 123.0.6312.5 (main) (#41337) 2024-02-21 15:27:05 -05:00
system_network_context_manager.h
url_pipe_loader.cc
url_pipe_loader.h
web_request_api_interface.h