5868889: Shared Storage: Support saved queries in selectURL

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/5868889
This commit is contained in:
David Sanders
2024-10-30 19:56:42 -07:00
parent f41da7b5a3
commit 4e389ef21a
2 changed files with 23 additions and 0 deletions

View File

@@ -134,3 +134,4 @@ feat_allow_usage_of_sccontentsharingpicker_on_supported_platforms.patch
chore_partial_revert_of.patch
fix_software_compositing_infinite_loop.patch
disable_elf_crel_on_linux_arm.patch
fix_don_t_use_forward_declaration_header.patch

View File

@@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: David Sanders <dsanders11@ucsbalum.com>
Date: Wed, 30 Oct 2024 19:14:19 -0700
Subject: fix: don't use forward declaration header
Fails to build from source unless the full header is included. Being upstreamed at https://chromium-review.googlesource.com/c/chromium/src/+/5981701.
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/5868889
diff --git a/content/browser/shared_storage/shared_storage_saved_query_data.h b/content/browser/shared_storage/shared_storage_saved_query_data.h
index 206c720fcb797eb36e13183044e13d4e2159b48f..3f37b06492305e279eb46886ddfa6f9a170eaf6e 100644
--- a/content/browser/shared_storage/shared_storage_saved_query_data.h
+++ b/content/browser/shared_storage/shared_storage_saved_query_data.h
@@ -9,7 +9,7 @@
#include <queue>
-#include "base/functional/callback_forward.h"
+#include "base/functional/callback.h"
#include "content/common/content_export.h"
namespace content {