Commit cb220e9b authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Browser: Build proper ancestor for patches


Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent ee7316bc
0001-Browser-Change-app-and-package-name-to-browser.patch
0001-Browser-Use-our-custom-icon-instead-of-chromium.patch
0001-Browser-Rename-strings-to-browser.patch
0001-Browser-Point-to-our-default-popular-sites.patch
0001-Browser-Enable-do-not-track-by-default.patch
0001-Browser-Add-provider-to-share-default-search-engine.patch
0001-Browser-Disable-async-DNS-by-default-on-Android.patch
0001-Browser-Enable-custom-tabs-by-default.patch
0001-Browser-Enable-search-suggestion-by-default.patch
0001-Browser-Hide-and-disable-touch-to-search-option.patch
0001-Browser-Modify-default-search-engines.patch
0001-Browser-Redirect-users-to-e-foundation-docs.patch
0001-Revert-Bromite-auto-updater.patch
0001-Revert-Block-gateway-attacks-via-websockets.patch
0001-Revert-Disable-unified-autoplay-feature.patch
0002-Browser-Use-our-custom-icon-instead-of-chromium.patch
0003-Browser-Rename-strings-to-browser.patch
0004-Browser-Point-to-our-default-popular-sites.patch
0005-Browser-Enable-do-not-track-by-default.patch
0006-Browser-Add-provider-to-share-default-search-engine.patch
0007-Browser-Disable-async-DNS-by-default-on-Android.patch
0008-Browser-Enable-custom-tabs-by-default.patch
0009-Browser-Enable-search-suggestion-by-default.patch
0010-Browser-Hide-and-disable-touch-to-search-option.patch
0011-Browser-Modify-default-search-engines.patch
0012-Browser-Redirect-users-to-e-foundation-docs.patch
0013-Revert-Bromite-auto-updater.patch
0014-Revert-Block-gateway-attacks-via-websockets.patch
0015-Revert-Disable-unified-autoplay-feature.patch
From 009e3ecb9fae3ff95cf8b9f02ca045093a2526fc Mon Sep 17 00:00:00 2001
From 0483002eca7497584d9cbf288e71c00585db1a18 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 05:39:25 +0000
Subject: [PATCH] Browser: Change app and package name to browser
Subject: [PATCH 01/15] Browser: Change app and package name to browser
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......@@ -10,10 +10,10 @@ Signed-off-by: Aayush Gupta <theimpulson@e.email>
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 710985b89777b..211eeded4a74e 100644
index 907198952831d..fd62c42f31081 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -43,16 +43,7 @@ if (android_64bit_target_cpu && skip_secondary_abi_for_cq) {
@@ -44,16 +44,7 @@ if (android_64bit_target_cpu && skip_secondary_abi_for_cq) {
assert(current_toolchain != android_secondary_abi_toolchain)
}
......@@ -31,7 +31,7 @@ index 710985b89777b..211eeded4a74e 100644
declare_args() {
# Android package name to use when compiling the public chrome targets
@@ -64,7 +55,7 @@ declare_args() {
@@ -65,7 +56,7 @@ declare_args() {
# for details.
chrome_public_manifest_package = _default_package
}
......
From 1a39cb7d6e46f9bcfebaa3e681e2716c040345ea Mon Sep 17 00:00:00 2001
From 82c72f29370241681032cb6a0e0ff66cac39b13e Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 06:04:08 +0000
Subject: [PATCH] Browser: Use our custom icon instead of chromium
Subject: [PATCH 02/15] Browser: Use our custom icon instead of chromium
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......
From aae9f02fc5ef2e5d0cdfc87781a6009b73bf4c2c Mon Sep 17 00:00:00 2001
From e9ffa388f4a1fa94a6063fefc8d5187977e9e663 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 07:12:30 +0000
Subject: [PATCH] Browser: Rename strings to browser
Subject: [PATCH 03/15] Browser: Rename strings to browser
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......@@ -159,7 +159,7 @@ index 69f2ba955ca4e..308181c06128e 100644
}
}
diff --git a/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/WebContentsDarkModeMessageController.java b/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/WebContentsDarkModeMessageController.java
index 1091c418a12d9..6422dfbe06a2b 100644
index 2a227f2611c06..2742962163a3f 100644
--- a/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/WebContentsDarkModeMessageController.java
+++ b/chrome/browser/ui/android/night_mode/java/src/org/chromium/chrome/browser/night_mode/WebContentsDarkModeMessageController.java
@@ -107,7 +107,7 @@ public class WebContentsDarkModeMessageController {
......@@ -172,7 +172,7 @@ index 1091c418a12d9..6422dfbe06a2b 100644
resources.getString(R.string.auto_dark_message_button))
.with(MessageBannerProperties.ON_PRIMARY_ACTION,
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
index 3dca6672b74a0..9408db809dd0e 100644
index 43d9f67276f59..cf23b1613ea04 100644
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
@@ -198,6 +198,8 @@ CHAR_LIMIT guidelines:
......
From dc58e5dfcc72d2ea3874d589cb6936bcf1e69ac1 Mon Sep 17 00:00:00 2001
From 0da7533b08dcdf223ddca92f9f8dc91c5848ee0c Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 07:29:59 +0000
Subject: [PATCH] Browser: Point to our default popular sites
Subject: [PATCH 04/15] Browser: Point to our default popular sites
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......
From 5a9b5acefb9cab0f42466624a90f14743567f02a Mon Sep 17 00:00:00 2001
From d039e8770c9d5e39b30dc9d848828ee2ed7cf0ca Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 07:34:57 +0000
Subject: [PATCH] Browser: Enable do not track by default
Subject: [PATCH 05/15] Browser: Enable do not track by default
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......@@ -9,10 +9,10 @@ Signed-off-by: Aayush Gupta <theimpulson@e.email>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index 20bb8b5bd368b..c529edeea5f35 100644
index 5a0ab16f3bd41..e182299bbc871 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -86,7 +86,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
@@ -88,7 +88,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacementPopup);
registry->RegisterDictionaryPref(prefs::kAppWindowPlacement);
registry->RegisterBooleanPref(
......
From 013fbab37c4c5288cf0163bb3f88de0a58e06211 Mon Sep 17 00:00:00 2001
From 43e86ecef816c0c2cdd073c68fbe5efa2e3457a0 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 08:03:13 +0000
Subject: [PATCH] Browser: Add provider to share default search engine
Subject: [PATCH 06/15] Browser: Add provider to share default search engine
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......@@ -12,7 +12,7 @@ Signed-off-by: Aayush Gupta <theimpulson@e.email>
create mode 100644 chrome/android/java/src/org/chromium/chrome/browser/provider/SearchEngineProvider.java
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index e2cf845e088ff..fdea2d7c83b21 100644
index 1f92223560abf..b15bdbec74b4d 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -1276,6 +1276,12 @@ by a child template that "extends" this file.
......
From 26005fd02b8c03fc6ddd6c450ab766a522e6b53b Mon Sep 17 00:00:00 2001
From 35fbaeb983a52194182f5fc6a22adda965fbd22d Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 26 Nov 2021 08:26:03 +0000
Subject: [PATCH] Browser: Disable async DNS by default on Android
Subject: [PATCH 07/15] Browser: Disable async DNS by default on Android
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......@@ -9,10 +9,10 @@ Signed-off-by: Aayush Gupta <theimpulson@e.email>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index aac450f4fee76..49f2559598d00 100644
index 14634473c3ad7..1f0dc7157902c 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -80,7 +80,7 @@ const base::Feature kAppShimNewCloseBehavior{"AppShimNewCloseBehavior",
@@ -94,7 +94,7 @@ const base::Feature kAppShimNewCloseBehavior{"AppShimNewCloseBehavior",
// Enables the built-in DNS resolver.
const base::Feature kAsyncDns {
"AsyncDns",
......
From 2e1722f561cd6c96af515feb8ff9486990981496 Mon Sep 17 00:00:00 2001
From 6297b37e796b9e3e80c87f028498f4fda1a3468a Mon Sep 17 00:00:00 2001
From: Aayush Gupta <aayushgupta219@gmail.com>
Date: Mon, 29 Nov 2021 03:37:37 +0000
Subject: [PATCH] Browser: Enable custom tabs by default
Subject: [PATCH 08/15] Browser: Enable custom tabs by default
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
---
......@@ -9,10 +9,10 @@ Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/android/java/res/xml/privacy_preferences.xml
index f6f21411b6a69..a0e31a8f34380 100644
index b8566845ca902..881077bbeb57c 100644
--- a/chrome/android/java/res/xml/privacy_preferences.xml
+++ b/chrome/android/java/res/xml/privacy_preferences.xml
@@ -64,7 +64,7 @@
@@ -69,7 +69,7 @@
android:key="allow_custom_tab_intents"
android:title="@string/allow_custom_tab_intents_title"
android:summary="@string/allow_custom_tab_intents_summary"
......
From b576939773355b9d851b0f0e9cdcfc14cdef961a Mon Sep 17 00:00:00 2001
From d7a0ef04d4a470036d3452b3fcbf4667cf83da2d Mon Sep 17 00:00:00 2001
From: Aayush Gupta <aayushgupta219@gmail.com>
Date: Mon, 29 Nov 2021 03:39:21 +0000
Subject: [PATCH] Browser: Enable search suggestion by default
Subject: [PATCH 09/15] Browser: Enable search suggestion by default
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
---
......@@ -9,10 +9,10 @@ Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index c8a3976280250..f50da2ceba636 100644
index 1b5aa94e6201c..012c403391a14 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -281,7 +281,7 @@ const char Profile::kProfileKey[] = "__PROFILE__";
@@ -276,7 +276,7 @@ const char Profile::kProfileKey[] = "__PROFILE__";
void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(
prefs::kSearchSuggestEnabled,
......
From 53a12891438279dd934039596fdc4c6e43632f17 Mon Sep 17 00:00:00 2001
From 3472af43e5933df0cce5b563f32f2babf161ebb2 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <aayushgupta219@gmail.com>
Date: Mon, 29 Nov 2021 03:54:44 +0000
Subject: [PATCH] Browser: Hide and disable touch to search option
Subject: [PATCH 10/15] Browser: Hide and disable touch to search option
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
---
......
From 96365c6465a37907a0739c9f4dc93d815ef6fdcd Mon Sep 17 00:00:00 2001
From ebe75ee3245d7c4fcf5c352e54d8fa3b6d1f912c Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Thu, 18 Mar 2021 13:42:44 +0100
Subject: [PATCH] Browser: Modify default search engines
Subject: [PATCH 11/15] Browser: Modify default search engines
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......
From 5966c52e44f78b0dbab2c105a3b37f4f19ce9976 Mon Sep 17 00:00:00 2001
From 5f38ebf9f3046835323a70ca5053dc98de3edbd0 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Tue, 11 May 2021 14:22:00 +0200
Subject: [PATCH] Browser: Redirect users to e foundation docs
Subject: [PATCH 12/15] Browser: Redirect users to e foundation docs
Signed-off-by: Aayush Gupta <theimpulson@e.email>
---
......
From 1d012f0399261f139baab13606ec83d8a3fb8efd Mon Sep 17 00:00:00 2001
From dcf3f7dcef69bbd732c61309d6aa20f05e05527d Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 18 Feb 2022 03:53:58 +0000
Subject: [PATCH] Revert "Bromite auto updater"
Subject: [PATCH 13/15] Revert "Bromite auto updater"
This reverts commit 0de02a8418c39518b8bc60dda468719ebfea77bf.
---
......
From f7e241693701738621e5280f07cdf1b572149d3d Mon Sep 17 00:00:00 2001
From d8d07bd9fe9f84897cca2fd650634e2c3e9ef94c Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 3 Dec 2021 11:43:51 +0000
Subject: [PATCH] Revert "Block gateway attacks via websockets"
Subject: [PATCH 14/15] Revert "Block gateway attacks via websockets"
This reverts commit ce669a7dbf93a63153f4ac781a30f009332c033e.
---
......@@ -17,10 +17,10 @@ This reverts commit ce669a7dbf93a63153f4ac781a30f009332c033e.
9 files changed, 2 insertions(+), 76 deletions(-)
diff --git a/third_party/blink/renderer/core/loader/base_fetch_context.h b/third_party/blink/renderer/core/loader/base_fetch_context.h
index bfe800ce07458..f7dcbd05c61b2 100644
index fdc210d12c8a5..583228ab8ffad 100644
--- a/third_party/blink/renderer/core/loader/base_fetch_context.h
+++ b/third_party/blink/renderer/core/loader/base_fetch_context.h
@@ -82,7 +82,6 @@ class CORE_EXPORT BaseFetchContext : public FetchContext {
@@ -83,7 +83,6 @@ class CORE_EXPORT BaseFetchContext : public FetchContext {
virtual SubresourceFilter* GetSubresourceFilter() const = 0;
virtual bool ShouldBlockWebSocketByMixedContentCheck(const KURL&) const = 0;
......@@ -29,10 +29,10 @@ index bfe800ce07458..f7dcbd05c61b2 100644
CreateWebSocketHandshakeThrottle() = 0;
diff --git a/third_party/blink/renderer/core/loader/frame_fetch_context.cc b/third_party/blink/renderer/core/loader/frame_fetch_context.cc
index 3f3fb149b8d03..669f29b70d1b7 100644
index 566884f366a18..4a00c469af765 100644
--- a/third_party/blink/renderer/core/loader/frame_fetch_context.cc
+++ b/third_party/blink/renderer/core/loader/frame_fetch_context.cc
@@ -568,24 +568,6 @@ bool FrameFetchContext::ShouldBlockRequestByInspector(const KURL& url) const {
@@ -566,24 +566,6 @@ bool FrameFetchContext::ShouldBlockRequestByInspector(const KURL& url) const {
return should_block_request;
}
......@@ -58,10 +58,10 @@ index 3f3fb149b8d03..669f29b70d1b7 100644
const ResourceRequest& resource_request,
const ResourceLoaderOptions& options,
diff --git a/third_party/blink/renderer/core/loader/frame_fetch_context.h b/third_party/blink/renderer/core/loader/frame_fetch_context.h
index a69c53451bf92..f281495009d07 100644
index b37e9c1d849da..2af72a5b83379 100644
--- a/third_party/blink/renderer/core/loader/frame_fetch_context.h
+++ b/third_party/blink/renderer/core/loader/frame_fetch_context.h
@@ -165,7 +165,6 @@ class CORE_EXPORT FrameFetchContext final : public BaseFetchContext,
@@ -166,7 +166,6 @@ class CORE_EXPORT FrameFetchContext final : public BaseFetchContext,
bool ShouldBlockWebSocketByMixedContentCheck(const KURL&) const override;
std::unique_ptr<WebSocketHandshakeThrottle> CreateWebSocketHandshakeThrottle()
override;
......@@ -70,7 +70,7 @@ index a69c53451bf92..f281495009d07 100644
mojom::blink::RequestContextType request_context,
const absl::optional<ResourceRequest::RedirectInfo>& redirect_info,
diff --git a/third_party/blink/renderer/core/loader/worker_fetch_context.cc b/third_party/blink/renderer/core/loader/worker_fetch_context.cc
index 9bb27cb77a3ac..eaab716d70399 100644
index d5c7c5a8e4ccb..935d25a62b815 100644
--- a/third_party/blink/renderer/core/loader/worker_fetch_context.cc
+++ b/third_party/blink/renderer/core/loader/worker_fetch_context.cc
@@ -24,7 +24,6 @@
......@@ -107,7 +107,7 @@ index 9bb27cb77a3ac..eaab716d70399 100644
const ResourceRequest& resource_request,
const ResourceLoaderOptions& options,
diff --git a/third_party/blink/renderer/core/loader/worker_fetch_context.h b/third_party/blink/renderer/core/loader/worker_fetch_context.h
index 0d3b733e2f6f4..4768a5616eda2 100644
index 062c782dd1ad8..4ecf0ddb28e57 100644
--- a/third_party/blink/renderer/core/loader/worker_fetch_context.h
+++ b/third_party/blink/renderer/core/loader/worker_fetch_context.h
@@ -62,7 +62,6 @@ class WorkerFetchContext final : public BaseFetchContext {
......@@ -196,7 +196,7 @@ index 95c141bbe6c1b..2ea9b38c93a72 100644
const String& reason,
WebSocketChannel* channel,
diff --git a/third_party/blink/renderer/modules/websockets/websocket_common.h b/third_party/blink/renderer/modules/websockets/websocket_common.h
index 99e585ddff1c6..e4507b0e90836 100644
index 423549dbb4b0a..43be1290cce12 100644
--- a/third_party/blink/renderer/modules/websockets/websocket_common.h
+++ b/third_party/blink/renderer/modules/websockets/websocket_common.h
@@ -8,8 +8,6 @@
......@@ -208,7 +208,7 @@ index 99e585ddff1c6..e4507b0e90836 100644
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
@@ -53,8 +51,6 @@ class MODULES_EXPORT WebSocketCommon {
@@ -57,8 +55,6 @@ class MODULES_EXPORT WebSocketCommon {
void SetState(State state) { state_ = state; }
const KURL& Url() const { return url_; }
......
From b0f5f294a1724c2fd8735e0deaa94e1619351df4 Mon Sep 17 00:00:00 2001
From 16d1d67ee856a95c587d6322b5ccdc979b35f863 Mon Sep 17 00:00:00 2001
From: Aayush Gupta <theimpulson@e.email>
Date: Fri, 3 Dec 2021 11:44:25 +0000
Subject: [PATCH] Revert "Disable unified autoplay feature"
Subject: [PATCH 15/15] Revert "Disable unified autoplay feature"
This reverts commit b6149686435b207a5dfe9a3706ba85c449a335b2.
---
......@@ -9,10 +9,10 @@ This reverts commit b6149686435b207a5dfe9a3706ba85c449a335b2.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 499940f2d5c2e..126a752b63bb6 100644
index d7d43b37110bc..9eddd917d5004 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -498,7 +498,7 @@ const base::Feature kUseR16Texture{"use-r16-texture",
@@ -491,7 +491,7 @@ const base::Feature kUseR16Texture{"use-r16-texture",
// Enables the Unified Autoplay policy by overriding the platform's default
// autoplay policy.
const base::Feature kUnifiedAutoplay{"UnifiedAutoplay",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment