mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: bump chromium to 144.0.7506.0 (main) (#48744)
* chore: bump chromium in DEPS to 144.0.7504.0
* chore: bump chromium in DEPS to 144.0.7506.0
* chore: update patches
* Revert "build: explicitly disable reclient"
This reverts commit e08c6adb08.
No longer needed after https://crrev.com/c/7099239
* 7097498: Remove MSG_ROUTING_* constants from ipc_message.h
https://chromium-review.googlesource.com/c/chromium/src/+/7097498
* 7090671: [//gpu] Remove unneeded GpuInfo methods
https://chromium-review.googlesource.com/c/chromium/src/+/7090671
* 7103701: Remove IPC::PlatformFileForTransit.
https://chromium-review.googlesource.com/c/chromium/src/+/7103701
(This should have been removed with https://github.com/electron/electron/pull/17406).
* chore: update filenames.libcxx.gni
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
committed by
GitHub
parent
a88de8bf1c
commit
ba135e2f7f
@@ -80,19 +80,6 @@ void GPUInfoEnumerator::EndVideoEncodeAcceleratorSupportedProfile() {
|
||||
value_stack_.pop();
|
||||
}
|
||||
|
||||
void GPUInfoEnumerator::BeginImageDecodeAcceleratorSupportedProfile() {
|
||||
value_stack_.push(std::move(current_));
|
||||
current_ = {};
|
||||
}
|
||||
|
||||
void GPUInfoEnumerator::EndImageDecodeAcceleratorSupportedProfile() {
|
||||
auto& top_value = value_stack_.top();
|
||||
top_value.Set(kImageDecodeAcceleratorSupportedProfileKey,
|
||||
std::move(current_));
|
||||
current_ = std::move(top_value);
|
||||
value_stack_.pop();
|
||||
}
|
||||
|
||||
void GPUInfoEnumerator::BeginAuxAttributes() {
|
||||
value_stack_.push(std::move(current_));
|
||||
current_ = {};
|
||||
|
||||
@@ -21,8 +21,6 @@ class GPUInfoEnumerator final : public gpu::GPUInfo::Enumerator {
|
||||
"videoDecodeAcceleratorSupportedProfile";
|
||||
const char* const kVideoEncodeAcceleratorSupportedProfileKey =
|
||||
"videoEncodeAcceleratorSupportedProfile";
|
||||
const char* const kImageDecodeAcceleratorSupportedProfileKey =
|
||||
"imageDecodeAcceleratorSupportedProfile";
|
||||
const char* const kAuxAttributesKey = "auxAttributes";
|
||||
const char* const kOverlayInfo = "overlayInfo";
|
||||
|
||||
@@ -45,8 +43,6 @@ class GPUInfoEnumerator final : public gpu::GPUInfo::Enumerator {
|
||||
void EndVideoDecodeAcceleratorSupportedProfile() override;
|
||||
void BeginVideoEncodeAcceleratorSupportedProfile() override;
|
||||
void EndVideoEncodeAcceleratorSupportedProfile() override;
|
||||
void BeginImageDecodeAcceleratorSupportedProfile() override;
|
||||
void EndImageDecodeAcceleratorSupportedProfile() override;
|
||||
void BeginAuxAttributes() override;
|
||||
void EndAuxAttributes() override;
|
||||
void BeginOverlayInfo() override;
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
#include "electron/fuses.h"
|
||||
#include "extensions/browser/extension_navigation_ui_data.h"
|
||||
#include "extensions/common/extension_id.h"
|
||||
#include "ipc/constants.mojom.h"
|
||||
#include "mojo/public/cpp/bindings/binder_map.h"
|
||||
#include "mojo/public/cpp/bindings/self_owned_associated_receiver.h"
|
||||
#include "net/ssl/ssl_cert_request_info.h"
|
||||
@@ -1388,8 +1389,8 @@ void ElectronBrowserClient::WillCreateURLLoaderFactory(
|
||||
new ProxyingURLLoaderFactory(
|
||||
web_request.get(), protocol_registry->intercept_handlers(),
|
||||
render_process_id,
|
||||
frame_host ? frame_host->GetRoutingID() : MSG_ROUTING_NONE, &next_id_,
|
||||
std::move(navigation_ui_data), std::move(navigation_id),
|
||||
frame_host ? frame_host->GetRoutingID() : IPC::mojom::kRoutingIdNone,
|
||||
&next_id_, std::move(navigation_ui_data), std::move(navigation_id),
|
||||
std::move(proxied_receiver), std::move(target_factory_remote),
|
||||
std::move(header_client_receiver), type);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "content/public/browser/content_browser_client.h"
|
||||
#include "extensions/browser/api/web_request/web_request_info.h"
|
||||
#include "ipc/constants.mojom.h"
|
||||
#include "mojo/public/cpp/bindings/receiver.h"
|
||||
#include "mojo/public/cpp/bindings/receiver_set.h"
|
||||
#include "mojo/public/cpp/bindings/remote.h"
|
||||
@@ -140,7 +141,7 @@ class ProxyingURLLoaderFactory
|
||||
const std::optional<url::Origin> original_initiator_;
|
||||
const uint64_t request_id_ = 0;
|
||||
const int32_t network_service_request_id_ = 0;
|
||||
const int32_t frame_routing_id_ = MSG_ROUTING_NONE;
|
||||
const int32_t frame_routing_id_ = IPC::mojom::kRoutingIdNone;
|
||||
const uint32_t options_ = 0;
|
||||
const net::MutableNetworkTrafficAnnotationTag traffic_annotation_;
|
||||
mojo::Receiver<network::mojom::URLLoader> proxied_loader_receiver_;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "content/public/browser/render_view_host.h"
|
||||
#include "content/public/browser/shared_cors_origin_access_list.h"
|
||||
#include "content/public/browser/storage_partition.h"
|
||||
#include "ipc/ipc_channel.h"
|
||||
#include "ipc/constants.mojom.h"
|
||||
#include "net/http/http_response_headers.h"
|
||||
#include "net/http/http_status_code.h"
|
||||
#include "services/network/public/cpp/simple_url_loader.h"
|
||||
@@ -93,7 +93,7 @@ constexpr std::string_view kFrontendHostMethod = "method";
|
||||
constexpr std::string_view kFrontendHostParams = "params";
|
||||
constexpr std::string_view kTitleFormat = "Developer Tools - %s";
|
||||
|
||||
const size_t kMaxMessageChunkSize = IPC::Channel::kMaximumMessageSize / 4;
|
||||
const size_t kMaxMessageChunkSize = IPC::mojom::kChannelMaximumMessageSize / 4;
|
||||
|
||||
base::Value::Dict RectToDictionary(const gfx::Rect& bounds) {
|
||||
return base::Value::Dict{}
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "content/public/renderer/render_frame_observer.h"
|
||||
#include "ipc/platform_file_for_transit.h"
|
||||
#include "third_party/blink/public/web/web_local_frame.h"
|
||||
|
||||
namespace electron {
|
||||
@@ -40,8 +39,6 @@ class ElectronRenderFrameObserver : private content::RenderFrameObserver {
|
||||
[[nodiscard]] bool ShouldNotifyClient(int world_id) const;
|
||||
|
||||
void CreateIsolatedWorldContext();
|
||||
void OnTakeHeapSnapshot(IPC::PlatformFileForTransit file_handle,
|
||||
const std::string& channel);
|
||||
|
||||
bool has_delayed_node_initialization_ = false;
|
||||
raw_ptr<content::RenderFrame> render_frame_;
|
||||
|
||||
Reference in New Issue
Block a user