Patches for v101
This commit is contained in:
parent
0c1d649f30
commit
2bee2df09c
85 changed files with 1949 additions and 1742 deletions
|
@ -1 +1 @@
|
|||
5d4a0f5095b85ef16b5f7d69b500c549c269e1b9-
|
||||
ff572868ba4c9d9d449700cce64ff1c2698a259f-
|
|
@ -1 +1 @@
|
|||
100.0.4896.135
|
||||
101.0.4951.39
|
|
@ -1 +1 @@
|
|||
1a90e060fd3231f69f387dd2ac33b4e3eeb0e3e3
|
||||
db80a48babb94b5db03166dcaa7c0542606d14d9
|
|
@ -32,7 +32,7 @@ ungoogled-chromium-Disable-Gaia.patch
|
|||
ungoogled-chromium-Disable-domain-reliability.patch
|
||||
ungoogled-chromium-Disable-Network-Time-Tracker.patch
|
||||
Disable-safe-browsing.patch
|
||||
Skip-the-first-run-and-remove-report-sending.patch
|
||||
Remove-report-sending.patch
|
||||
Disable-all-promo-dialogs.patch
|
||||
Remove-signin-integrations.patch
|
||||
Hide-passwords-manager-link.patch
|
||||
|
|
|
@ -33,6 +33,7 @@ See discussions at:
|
|||
12 files changed, 65 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/base/android/android_image_reader_compat.cc b/base/android/android_image_reader_compat.cc
|
||||
index ede7c576267c..75166a2938ae 100644
|
||||
--- a/base/android/android_image_reader_compat.cc
|
||||
+++ b/base/android/android_image_reader_compat.cc
|
||||
@@ -23,6 +23,8 @@
|
||||
|
@ -59,6 +60,7 @@ diff --git a/base/android/android_image_reader_compat.cc b/base/android/android_
|
|||
|
||||
AndroidImageReader::AndroidImageReader() : is_supported_(LoadFunctions()) {}
|
||||
diff --git a/base/android/android_image_reader_compat.h b/base/android/android_image_reader_compat.h
|
||||
index f1d5836e679d..1291686ec0f1 100644
|
||||
--- a/base/android/android_image_reader_compat.h
|
||||
+++ b/base/android/android_image_reader_compat.h
|
||||
@@ -24,6 +24,9 @@ class BASE_EXPORT AndroidImageReader {
|
||||
|
@ -80,10 +82,11 @@ diff --git a/base/android/android_image_reader_compat.h b/base/android/android_i
|
|||
|
||||
AndroidImageReader();
|
||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||
index f29592368870..ffe5e4f40f57 100644
|
||||
--- a/chrome/browser/flag-metadata.json
|
||||
+++ b/chrome/browser/flag-metadata.json
|
||||
@@ -2232,9 +2232,9 @@
|
||||
"expiry_milestone": 100
|
||||
@@ -2287,9 +2287,9 @@
|
||||
"expiry_milestone": 106
|
||||
},
|
||||
{
|
||||
- "name": "enable-image-reader",
|
||||
|
@ -96,9 +99,10 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||
{
|
||||
"name": "enable-immersive-fullscreen-toolbar",
|
||||
diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_list.json
|
||||
index 7d84f7bb0272..032d433ae8ec 100644
|
||||
--- a/gpu/config/gpu_driver_bug_list.json
|
||||
+++ b/gpu/config/gpu_driver_bug_list.json
|
||||
@@ -3191,6 +3191,22 @@
|
||||
@@ -3198,6 +3198,22 @@
|
||||
"dont_delete_source_texture_for_egl_image"
|
||||
]
|
||||
},
|
||||
|
@ -122,6 +126,7 @@ diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_lis
|
|||
"id": 336,
|
||||
"cr_bugs": [625785],
|
||||
diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc
|
||||
index 1fa3c18a45bc..be48d86ea03f 100644
|
||||
--- a/gpu/config/gpu_finch_features.cc
|
||||
+++ b/gpu/config/gpu_finch_features.cc
|
||||
@@ -52,6 +52,11 @@ bool IsDeviceBlocked(const char* field, const std::string& block_list) {
|
||||
|
@ -137,6 +142,7 @@ diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc
|
|||
// Used to limit GL version to 2.0 for skia raster on Android.
|
||||
const base::Feature kUseGles2ForOopR{"UseGles2ForOopR",
|
||||
diff --git a/gpu/config/gpu_finch_features.h b/gpu/config/gpu_finch_features.h
|
||||
index 943273d88a72..87b4c1961537 100644
|
||||
--- a/gpu/config/gpu_finch_features.h
|
||||
+++ b/gpu/config/gpu_finch_features.h
|
||||
@@ -17,6 +17,7 @@ namespace features {
|
||||
|
@ -148,6 +154,7 @@ diff --git a/gpu/config/gpu_finch_features.h b/gpu/config/gpu_finch_features.h
|
|||
GPU_EXPORT extern const base::Feature kAndroidSurfaceControl;
|
||||
GPU_EXPORT extern const base::Feature kWebViewSurfaceControl;
|
||||
diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
|
||||
index f2c7059ea956..29bdfc96079f 100644
|
||||
--- a/gpu/config/gpu_util.cc
|
||||
+++ b/gpu/config/gpu_util.cc
|
||||
@@ -117,6 +117,9 @@ GpuFeatureStatus GetAndroidSurfaceControlFeatureStatus(
|
||||
|
@ -173,6 +180,7 @@ diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
|
|||
|
||||
// Estimates roughly user total disk space by counting in the drives where
|
||||
diff --git a/gpu/config/gpu_workaround_list.txt b/gpu/config/gpu_workaround_list.txt
|
||||
index 3f14f7c64809..9e0c99b8d95b 100644
|
||||
--- a/gpu/config/gpu_workaround_list.txt
|
||||
+++ b/gpu/config/gpu_workaround_list.txt
|
||||
@@ -14,6 +14,7 @@ decode_encode_srgb_for_generatemipmap
|
||||
|
@ -184,9 +192,10 @@ diff --git a/gpu/config/gpu_workaround_list.txt b/gpu/config/gpu_workaround_list
|
|||
disable_accelerated_hevc_decode
|
||||
disable_accelerated_vp8_decode
|
||||
diff --git a/gpu/ipc/service/gpu_init.cc b/gpu/ipc/service/gpu_init.cc
|
||||
index bd06bfe180eb..0bfccc54abc5 100644
|
||||
--- a/gpu/ipc/service/gpu_init.cc
|
||||
+++ b/gpu/ipc/service/gpu_init.cc
|
||||
@@ -544,6 +544,11 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandLine* command_line,
|
||||
@@ -580,6 +580,11 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandLine* command_line,
|
||||
}
|
||||
#endif // BUILDFLAG(IS_WIN)
|
||||
|
||||
|
@ -199,6 +208,7 @@ diff --git a/gpu/ipc/service/gpu_init.cc b/gpu/ipc/service/gpu_init.cc
|
|||
kGpuFeatureStatusEnabled ||
|
||||
!InitializeVulkan()) {
|
||||
diff --git a/gpu/ipc/service/stream_texture_android.cc b/gpu/ipc/service/stream_texture_android.cc
|
||||
index 9cfe594a8a2e..4d2095f439c1 100644
|
||||
--- a/gpu/ipc/service/stream_texture_android.cc
|
||||
+++ b/gpu/ipc/service/stream_texture_android.cc
|
||||
@@ -6,6 +6,7 @@
|
||||
|
@ -227,9 +237,10 @@ diff --git a/gpu/ipc/service/stream_texture_android.cc b/gpu/ipc/service/stream_
|
|||
: TextureOwner::Mode::kSurfaceTextureInsecure;
|
||||
}
|
||||
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
||||
index 77999314c340..9d7d6a11ff27 100644
|
||||
--- a/media/base/media_switches.cc
|
||||
+++ b/media/base/media_switches.cc
|
||||
@@ -679,6 +679,10 @@ const base::Feature kMediaDrmPreprovisioning{"MediaDrmPreprovisioning",
|
||||
@@ -687,6 +687,10 @@ const base::Feature kMediaDrmPreprovisioning{"MediaDrmPreprovisioning",
|
||||
// Note: Has no effect if kMediaDrmPreprovisioning feature is disabled.
|
||||
const base::Feature kMediaDrmPreprovisioningAtStartup{
|
||||
"MediaDrmPreprovisioningAtStartup", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
@ -241,9 +252,10 @@ diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
|||
// Enable picture in picture web api for android.
|
||||
const base::Feature kPictureInPictureAPI{"PictureInPictureAPI",
|
||||
diff --git a/media/base/media_switches.h b/media/base/media_switches.h
|
||||
index 00401aaea310..8b6dadba4b6e 100644
|
||||
--- a/media/base/media_switches.h
|
||||
+++ b/media/base/media_switches.h
|
||||
@@ -214,6 +214,7 @@ MEDIA_EXPORT extern const base::Feature kForceHardwareAudioDecoders;
|
||||
@@ -215,6 +215,7 @@ MEDIA_EXPORT extern const base::Feature kForceHardwareAudioDecoders;
|
||||
MEDIA_EXPORT extern const base::Feature kAllowNonSecureOverlays;
|
||||
MEDIA_EXPORT extern const base::Feature kMediaControlsExpandGesture;
|
||||
MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense;
|
||||
|
@ -251,5 +263,6 @@ diff --git a/media/base/media_switches.h b/media/base/media_switches.h
|
|||
MEDIA_EXPORT extern const base::Feature kMediaDrmPreprovisioning;
|
||||
MEDIA_EXPORT extern const base::Feature kMediaDrmPreprovisioningAtStartup;
|
||||
MEDIA_EXPORT extern const base::Feature kCanPlayHls;
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ diff --git a/third_party/libaom/BUILD.gn b/third_party/libaom/BUILD.gn
|
|||
diff --git a/third_party/libaom/libaom_srcs.gni b/third_party/libaom/libaom_srcs.gni
|
||||
--- a/third_party/libaom/libaom_srcs.gni
|
||||
+++ b/third_party/libaom/libaom_srcs.gni
|
||||
@@ -650,6 +650,11 @@ aom_rc_interface_sources = [
|
||||
@@ -655,6 +655,11 @@ aom_rc_interface_sources = [
|
||||
"//third_party/libaom/source/libaom/test/yuv_video_source.h",
|
||||
]
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ diff --git a/components/search_engines/search_engine_type.h b/components/search_
|
|||
diff --git a/components/search_engines/template_url_prepopulate_data.cc b/components/search_engines/template_url_prepopulate_data.cc
|
||||
--- a/components/search_engines/template_url_prepopulate_data.cc
|
||||
+++ b/components/search_engines/template_url_prepopulate_data.cc
|
||||
@@ -42,7 +42,7 @@ const PrepopulatedEngine* const engines_AE[] = {
|
||||
@@ -41,7 +41,7 @@ const PrepopulatedEngine* const engines_AE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -51,7 +51,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ const PrepopulatedEngine* const engines_AL[] = {
|
||||
@@ -50,7 +50,7 @@ const PrepopulatedEngine* const engines_AL[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -60,7 +60,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -60,7 +60,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
@@ -59,7 +59,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_ar,
|
||||
|
@ -69,7 +69,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
@@ -67,7 +67,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
const PrepopulatedEngine* const engines_AT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -78,7 +78,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_at,
|
||||
&ecosia,
|
||||
};
|
||||
@@ -78,7 +78,7 @@ const PrepopulatedEngine* const engines_AU[] = {
|
||||
@@ -77,7 +77,7 @@ const PrepopulatedEngine* const engines_AU[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_au,
|
||||
|
@ -87,7 +87,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -87,7 +87,7 @@ const PrepopulatedEngine* const engines_BA[] = {
|
||||
@@ -86,7 +86,7 @@ const PrepopulatedEngine* const engines_BA[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -96,7 +96,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -97,7 +97,7 @@ const PrepopulatedEngine* const engines_BE[] = {
|
||||
@@ -96,7 +96,7 @@ const PrepopulatedEngine* const engines_BE[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
|
@ -105,7 +105,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Bulgaria
|
||||
@@ -105,7 +105,7 @@ const PrepopulatedEngine* const engines_BG[] = {
|
||||
@@ -104,7 +104,7 @@ const PrepopulatedEngine* const engines_BG[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -114,7 +114,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -114,7 +114,7 @@ const PrepopulatedEngine* const engines_BH[] = {
|
||||
@@ -113,7 +113,7 @@ const PrepopulatedEngine* const engines_BH[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -123,7 +123,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -123,7 +123,7 @@ const PrepopulatedEngine* const engines_BI[] = {
|
||||
@@ -122,7 +122,7 @@ const PrepopulatedEngine* const engines_BI[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -132,7 +132,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -132,7 +132,7 @@ const PrepopulatedEngine* const engines_BN[] = {
|
||||
@@ -131,7 +131,7 @@ const PrepopulatedEngine* const engines_BN[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -141,7 +141,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -141,7 +141,7 @@ const PrepopulatedEngine* const engines_BO[] = {
|
||||
@@ -140,7 +140,7 @@ const PrepopulatedEngine* const engines_BO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -150,7 +150,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -150,7 +150,7 @@ const PrepopulatedEngine* const engines_BR[] = {
|
||||
@@ -149,7 +149,7 @@ const PrepopulatedEngine* const engines_BR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_br,
|
||||
|
@ -159,7 +159,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -160,7 +160,7 @@ const PrepopulatedEngine* const engines_BY[] = {
|
||||
@@ -159,7 +159,7 @@ const PrepopulatedEngine* const engines_BY[] = {
|
||||
&yandex_by,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
|
@ -168,7 +168,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Belize
|
||||
@@ -168,7 +168,7 @@ const PrepopulatedEngine* const engines_BZ[] = {
|
||||
@@ -167,7 +167,7 @@ const PrepopulatedEngine* const engines_BZ[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -177,7 +177,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -177,7 +177,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
@@ -176,7 +176,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_ca,
|
||||
|
@ -186,7 +186,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -185,7 +185,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
@@ -184,7 +184,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
const PrepopulatedEngine* const engines_CH[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -195,7 +195,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
&yahoo_ch,
|
||||
};
|
||||
@@ -195,7 +195,7 @@ const PrepopulatedEngine* const engines_CL[] = {
|
||||
@@ -194,7 +194,7 @@ const PrepopulatedEngine* const engines_CL[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_cl,
|
||||
|
@ -204,7 +204,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -214,7 +214,7 @@ const PrepopulatedEngine* const engines_CO[] = {
|
||||
@@ -213,7 +213,7 @@ const PrepopulatedEngine* const engines_CO[] = {
|
||||
&bing,
|
||||
&yahoo_co,
|
||||
&ecosia,
|
||||
|
@ -213,7 +213,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Costa Rica
|
||||
@@ -222,7 +222,7 @@ const PrepopulatedEngine* const engines_CR[] = {
|
||||
@@ -221,7 +221,7 @@ const PrepopulatedEngine* const engines_CR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -222,7 +222,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -232,7 +232,7 @@ const PrepopulatedEngine* const engines_CZ[] = {
|
||||
@@ -231,7 +231,7 @@ const PrepopulatedEngine* const engines_CZ[] = {
|
||||
&seznam_cz,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -231,7 +231,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Germany
|
||||
@@ -240,7 +240,7 @@ const PrepopulatedEngine* const engines_DE[] = {
|
||||
@@ -239,7 +239,7 @@ const PrepopulatedEngine* const engines_DE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&ecosia,
|
||||
|
@ -240,7 +240,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_de,
|
||||
};
|
||||
|
||||
@@ -249,7 +249,7 @@ const PrepopulatedEngine* const engines_DK[] = {
|
||||
@@ -248,7 +248,7 @@ const PrepopulatedEngine* const engines_DK[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_dk,
|
||||
|
@ -249,7 +249,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -258,7 +258,7 @@ const PrepopulatedEngine* const engines_DO[] = {
|
||||
@@ -257,7 +257,7 @@ const PrepopulatedEngine* const engines_DO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -258,7 +258,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -268,7 +268,7 @@ const PrepopulatedEngine* const engines_DZ[] = {
|
||||
@@ -267,7 +267,7 @@ const PrepopulatedEngine* const engines_DZ[] = {
|
||||
&bing,
|
||||
&yahoo_fr,
|
||||
&yandex_com,
|
||||
|
@ -267,7 +267,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Ecuador
|
||||
@@ -277,7 +277,7 @@ const PrepopulatedEngine* const engines_EC[] = {
|
||||
@@ -276,7 +276,7 @@ const PrepopulatedEngine* const engines_EC[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
|
@ -276,7 +276,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Estonia
|
||||
@@ -285,7 +285,7 @@ const PrepopulatedEngine* const engines_EE[] = {
|
||||
@@ -284,7 +284,7 @@ const PrepopulatedEngine* const engines_EE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yandex_ru,
|
||||
|
@ -285,7 +285,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
};
|
||||
|
||||
@@ -295,7 +295,7 @@ const PrepopulatedEngine* const engines_EG[] = {
|
||||
@@ -294,7 +294,7 @@ const PrepopulatedEngine* const engines_EG[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
|
@ -294,7 +294,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Spain
|
||||
@@ -303,7 +303,7 @@ const PrepopulatedEngine* const engines_ES[] = {
|
||||
@@ -302,7 +302,7 @@ const PrepopulatedEngine* const engines_ES[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -303,7 +303,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -312,7 +312,7 @@ const PrepopulatedEngine* const engines_FI[] = {
|
||||
@@ -311,7 +311,7 @@ const PrepopulatedEngine* const engines_FI[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_fi,
|
||||
|
@ -312,7 +312,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -321,7 +321,7 @@ const PrepopulatedEngine* const engines_FO[] = {
|
||||
@@ -320,7 +320,7 @@ const PrepopulatedEngine* const engines_FO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_dk,
|
||||
|
@ -321,7 +321,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -339,7 +339,7 @@ const PrepopulatedEngine* const engines_GB[] = {
|
||||
@@ -338,7 +338,7 @@ const PrepopulatedEngine* const engines_GB[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_uk,
|
||||
|
@ -330,7 +330,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -348,7 +348,7 @@ const PrepopulatedEngine* const engines_GR[] = {
|
||||
@@ -347,7 +347,7 @@ const PrepopulatedEngine* const engines_GR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -339,7 +339,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -357,7 +357,7 @@ const PrepopulatedEngine* const engines_GT[] = {
|
||||
@@ -356,7 +356,7 @@ const PrepopulatedEngine* const engines_GT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -348,7 +348,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -367,7 +367,7 @@ const PrepopulatedEngine* const engines_HK[] = {
|
||||
@@ -366,7 +366,7 @@ const PrepopulatedEngine* const engines_HK[] = {
|
||||
&yahoo_hk,
|
||||
&bing,
|
||||
&baidu,
|
||||
|
@ -357,7 +357,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Honduras
|
||||
@@ -375,7 +375,7 @@ const PrepopulatedEngine* const engines_HN[] = {
|
||||
@@ -374,7 +374,7 @@ const PrepopulatedEngine* const engines_HN[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -366,7 +366,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -384,7 +384,7 @@ const PrepopulatedEngine* const engines_HR[] = {
|
||||
@@ -383,7 +383,7 @@ const PrepopulatedEngine* const engines_HR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -375,7 +375,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -393,7 +393,7 @@ const PrepopulatedEngine* const engines_HU[] = {
|
||||
@@ -392,7 +392,7 @@ const PrepopulatedEngine* const engines_HU[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -384,7 +384,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -403,7 +403,7 @@ const PrepopulatedEngine* const engines_ID[] = {
|
||||
@@ -402,7 +402,7 @@ const PrepopulatedEngine* const engines_ID[] = {
|
||||
&yahoo_id,
|
||||
&bing,
|
||||
&yandex_com,
|
||||
|
@ -393,7 +393,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Ireland
|
||||
@@ -411,7 +411,7 @@ const PrepopulatedEngine* const engines_IE[] = {
|
||||
@@ -410,7 +410,7 @@ const PrepopulatedEngine* const engines_IE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_uk,
|
||||
|
@ -402,7 +402,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -421,7 +421,7 @@ const PrepopulatedEngine* const engines_IL[] = {
|
||||
@@ -420,7 +420,7 @@ const PrepopulatedEngine* const engines_IL[] = {
|
||||
&bing,
|
||||
&yandex_ru,
|
||||
&yahoo,
|
||||
|
@ -411,7 +411,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// India
|
||||
@@ -429,7 +429,7 @@ const PrepopulatedEngine* const engines_IN[] = {
|
||||
@@ -428,7 +428,7 @@ const PrepopulatedEngine* const engines_IN[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_in,
|
||||
|
@ -420,7 +420,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&info_com,
|
||||
};
|
||||
|
||||
@@ -439,7 +439,7 @@ const PrepopulatedEngine* const engines_IQ[] = {
|
||||
@@ -438,7 +438,7 @@ const PrepopulatedEngine* const engines_IQ[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_tr,
|
||||
|
@ -429,7 +429,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Iran
|
||||
@@ -448,14 +448,14 @@ const PrepopulatedEngine* const engines_IR[] = {
|
||||
@@ -447,14 +447,14 @@ const PrepopulatedEngine* const engines_IR[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&ask,
|
||||
|
@ -446,7 +446,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
&ecosia,
|
||||
};
|
||||
@@ -465,7 +465,7 @@ const PrepopulatedEngine* const engines_IT[] = {
|
||||
@@ -464,7 +464,7 @@ const PrepopulatedEngine* const engines_IT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -455,7 +455,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -474,7 +474,7 @@ const PrepopulatedEngine* const engines_JM[] = {
|
||||
@@ -473,7 +473,7 @@ const PrepopulatedEngine* const engines_JM[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -464,7 +464,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -483,7 +483,7 @@ const PrepopulatedEngine* const engines_JO[] = {
|
||||
@@ -482,7 +482,7 @@ const PrepopulatedEngine* const engines_JO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -473,7 +473,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -492,7 +492,7 @@ const PrepopulatedEngine* const engines_JP[] = {
|
||||
@@ -491,7 +491,7 @@ const PrepopulatedEngine* const engines_JP[] = {
|
||||
&googleen, &google,
|
||||
&yahoo_jp,
|
||||
&bing,
|
||||
|
@ -482,7 +482,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&baidu,
|
||||
};
|
||||
|
||||
@@ -501,7 +501,7 @@ const PrepopulatedEngine* const engines_KE[] = {
|
||||
@@ -500,7 +500,7 @@ const PrepopulatedEngine* const engines_KE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -491,7 +491,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -519,7 +519,7 @@ const PrepopulatedEngine* const engines_KW[] = {
|
||||
@@ -518,7 +518,7 @@ const PrepopulatedEngine* const engines_KW[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -500,7 +500,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -529,7 +529,7 @@ const PrepopulatedEngine* const engines_KZ[] = {
|
||||
@@ -528,7 +528,7 @@ const PrepopulatedEngine* const engines_KZ[] = {
|
||||
&yandex_kz,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
|
@ -509,7 +509,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Lebanon
|
||||
@@ -537,7 +537,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
@@ -536,7 +536,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -518,7 +518,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -545,7 +545,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
@@ -544,7 +544,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
const PrepopulatedEngine* const engines_LI[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -527,7 +527,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
&ecosia,
|
||||
};
|
||||
@@ -555,7 +555,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
@@ -554,7 +554,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -536,7 +536,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -563,7 +563,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
@@ -562,7 +562,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
const PrepopulatedEngine* const engines_LU[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -545,7 +545,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
&ecosia,
|
||||
};
|
||||
@@ -574,7 +574,7 @@ const PrepopulatedEngine* const engines_LV[] = {
|
||||
@@ -573,7 +573,7 @@ const PrepopulatedEngine* const engines_LV[] = {
|
||||
&bing,
|
||||
&yandex_ru,
|
||||
&yahoo,
|
||||
|
@ -554,7 +554,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Libya
|
||||
@@ -583,7 +583,7 @@ const PrepopulatedEngine* const engines_LY[] = {
|
||||
@@ -582,7 +582,7 @@ const PrepopulatedEngine* const engines_LY[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
|
@ -563,7 +563,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Morocco
|
||||
@@ -592,14 +592,14 @@ const PrepopulatedEngine* const engines_MA[] = {
|
||||
@@ -591,14 +591,14 @@ const PrepopulatedEngine* const engines_MA[] = {
|
||||
&bing,
|
||||
&yahoo_fr,
|
||||
&yandex_com,
|
||||
|
@ -580,7 +580,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_fr,
|
||||
&ecosia,
|
||||
};
|
||||
@@ -619,7 +619,7 @@ const PrepopulatedEngine* const engines_ME[] = {
|
||||
@@ -618,7 +618,7 @@ const PrepopulatedEngine* const engines_ME[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_ru,
|
||||
|
@ -589,7 +589,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Macedonia
|
||||
@@ -627,7 +627,7 @@ const PrepopulatedEngine* const engines_MK[] = {
|
||||
@@ -626,7 +626,7 @@ const PrepopulatedEngine* const engines_MK[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -598,7 +598,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -636,7 +636,7 @@ const PrepopulatedEngine* const engines_MX[] = {
|
||||
@@ -635,7 +635,7 @@ const PrepopulatedEngine* const engines_MX[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_mx,
|
||||
|
@ -607,7 +607,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -645,7 +645,7 @@ const PrepopulatedEngine* const engines_MY[] = {
|
||||
@@ -644,7 +644,7 @@ const PrepopulatedEngine* const engines_MY[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_my,
|
||||
|
@ -616,7 +616,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -654,7 +654,7 @@ const PrepopulatedEngine* const engines_NI[] = {
|
||||
@@ -653,7 +653,7 @@ const PrepopulatedEngine* const engines_NI[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -625,7 +625,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -663,7 +663,7 @@ const PrepopulatedEngine* const engines_NL[] = {
|
||||
@@ -662,7 +662,7 @@ const PrepopulatedEngine* const engines_NL[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_nl,
|
||||
|
@ -634,7 +634,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -672,7 +672,7 @@ const PrepopulatedEngine* const engines_NO[] = {
|
||||
@@ -671,7 +671,7 @@ const PrepopulatedEngine* const engines_NO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -643,7 +643,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -681,7 +681,7 @@ const PrepopulatedEngine* const engines_NZ[] = {
|
||||
@@ -680,7 +680,7 @@ const PrepopulatedEngine* const engines_NZ[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_nz,
|
||||
|
@ -652,7 +652,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -690,7 +690,7 @@ const PrepopulatedEngine* const engines_OM[] = {
|
||||
@@ -689,7 +689,7 @@ const PrepopulatedEngine* const engines_OM[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -661,7 +661,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&petal_search,
|
||||
};
|
||||
|
||||
@@ -699,7 +699,7 @@ const PrepopulatedEngine* const engines_PA[] = {
|
||||
@@ -698,7 +698,7 @@ const PrepopulatedEngine* const engines_PA[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -670,7 +670,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -709,7 +709,7 @@ const PrepopulatedEngine* const engines_PE[] = {
|
||||
@@ -708,7 +708,7 @@ const PrepopulatedEngine* const engines_PE[] = {
|
||||
&bing,
|
||||
&yahoo_pe,
|
||||
&ecosia,
|
||||
|
@ -679,7 +679,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Philippines
|
||||
@@ -718,7 +718,7 @@ const PrepopulatedEngine* const engines_PH[] = {
|
||||
@@ -717,7 +717,7 @@ const PrepopulatedEngine* const engines_PH[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
|
@ -688,7 +688,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Pakistan
|
||||
@@ -726,7 +726,7 @@ const PrepopulatedEngine* const engines_PK[] = {
|
||||
@@ -725,7 +725,7 @@ const PrepopulatedEngine* const engines_PK[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -697,7 +697,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -735,7 +735,7 @@ const PrepopulatedEngine* const engines_PL[] = {
|
||||
@@ -734,7 +734,7 @@ const PrepopulatedEngine* const engines_PL[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -706,7 +706,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -744,7 +744,7 @@ const PrepopulatedEngine* const engines_PR[] = {
|
||||
@@ -743,7 +743,7 @@ const PrepopulatedEngine* const engines_PR[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -715,7 +715,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -753,7 +753,7 @@ const PrepopulatedEngine* const engines_PT[] = {
|
||||
@@ -752,7 +752,7 @@ const PrepopulatedEngine* const engines_PT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -724,7 +724,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -762,7 +762,7 @@ const PrepopulatedEngine* const engines_PY[] = {
|
||||
@@ -761,7 +761,7 @@ const PrepopulatedEngine* const engines_PY[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -733,7 +733,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -771,7 +771,7 @@ const PrepopulatedEngine* const engines_QA[] = {
|
||||
@@ -770,7 +770,7 @@ const PrepopulatedEngine* const engines_QA[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -742,7 +742,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_tr,
|
||||
};
|
||||
|
||||
@@ -780,7 +780,7 @@ const PrepopulatedEngine* const engines_RO[] = {
|
||||
@@ -779,7 +779,7 @@ const PrepopulatedEngine* const engines_RO[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -751,7 +751,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_tr,
|
||||
};
|
||||
|
||||
@@ -789,7 +789,7 @@ const PrepopulatedEngine* const engines_RS[] = {
|
||||
@@ -788,7 +788,7 @@ const PrepopulatedEngine* const engines_RS[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -760,7 +760,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
};
|
||||
|
||||
@@ -799,7 +799,7 @@ const PrepopulatedEngine* const engines_RU[] = {
|
||||
@@ -798,7 +798,7 @@ const PrepopulatedEngine* const engines_RU[] = {
|
||||
&yandex_ru,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
|
@ -769,7 +769,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Rwanda
|
||||
@@ -807,7 +807,7 @@ const PrepopulatedEngine* const engines_RW[] = {
|
||||
@@ -806,7 +806,7 @@ const PrepopulatedEngine* const engines_RW[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -778,7 +778,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -817,7 +817,7 @@ const PrepopulatedEngine* const engines_SA[] = {
|
||||
@@ -816,7 +816,7 @@ const PrepopulatedEngine* const engines_SA[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
|
@ -787,7 +787,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Sweden
|
||||
@@ -825,7 +825,7 @@ const PrepopulatedEngine* const engines_SE[] = {
|
||||
@@ -824,7 +824,7 @@ const PrepopulatedEngine* const engines_SE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_se,
|
||||
|
@ -796,7 +796,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -834,7 +834,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
@@ -833,7 +833,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_sg,
|
||||
|
@ -805,7 +805,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&baidu,
|
||||
};
|
||||
|
||||
@@ -842,7 +842,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
@@ -841,7 +841,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
const PrepopulatedEngine* const engines_SI[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -814,7 +814,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
&yandex_com,
|
||||
};
|
||||
@@ -851,7 +851,7 @@ const PrepopulatedEngine* const engines_SI[] = {
|
||||
@@ -850,7 +850,7 @@ const PrepopulatedEngine* const engines_SI[] = {
|
||||
const PrepopulatedEngine* const engines_SK[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
|
@ -823,7 +823,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
&yandex_com,
|
||||
};
|
||||
@@ -861,7 +861,7 @@ const PrepopulatedEngine* const engines_SV[] = {
|
||||
@@ -860,7 +860,7 @@ const PrepopulatedEngine* const engines_SV[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -832,7 +832,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -871,7 +871,7 @@ const PrepopulatedEngine* const engines_SY[] = {
|
||||
@@ -870,7 +870,7 @@ const PrepopulatedEngine* const engines_SY[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
|
@ -841,7 +841,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Thailand
|
||||
@@ -888,7 +888,7 @@ const PrepopulatedEngine* const engines_TN[] = {
|
||||
@@ -887,7 +887,7 @@ const PrepopulatedEngine* const engines_TN[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_fr,
|
||||
|
@ -850,7 +850,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_com,
|
||||
};
|
||||
|
||||
@@ -898,7 +898,7 @@ const PrepopulatedEngine* const engines_TR[] = {
|
||||
@@ -897,7 +897,7 @@ const PrepopulatedEngine* const engines_TR[] = {
|
||||
&yandex_tr,
|
||||
&yahoo_tr,
|
||||
&bing,
|
||||
|
@ -859,7 +859,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Trinidad and Tobago
|
||||
@@ -906,7 +906,7 @@ const PrepopulatedEngine* const engines_TT[] = {
|
||||
@@ -905,7 +905,7 @@ const PrepopulatedEngine* const engines_TT[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -868,7 +868,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -916,7 +916,7 @@ const PrepopulatedEngine* const engines_TW[] = {
|
||||
@@ -915,7 +915,7 @@ const PrepopulatedEngine* const engines_TW[] = {
|
||||
&yahoo_tw,
|
||||
&bing,
|
||||
&baidu,
|
||||
|
@ -877,7 +877,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// Tanzania
|
||||
@@ -924,7 +924,7 @@ const PrepopulatedEngine* const engines_TZ[] = {
|
||||
@@ -923,7 +923,7 @@ const PrepopulatedEngine* const engines_TZ[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -886,7 +886,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&baidu,
|
||||
};
|
||||
|
||||
@@ -933,7 +933,7 @@ const PrepopulatedEngine* const engines_UA[] = {
|
||||
@@ -932,7 +932,7 @@ const PrepopulatedEngine* const engines_UA[] = {
|
||||
&googleen, &google,
|
||||
&yandex_ua,
|
||||
&bing,
|
||||
|
@ -895,7 +895,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo,
|
||||
};
|
||||
|
||||
@@ -942,7 +942,7 @@ const PrepopulatedEngine* const engines_US[] = {
|
||||
@@ -941,7 +941,7 @@ const PrepopulatedEngine* const engines_US[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -904,7 +904,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -951,7 +951,7 @@ const PrepopulatedEngine* const engines_UY[] = {
|
||||
@@ -950,7 +950,7 @@ const PrepopulatedEngine* const engines_UY[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -913,7 +913,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -960,7 +960,7 @@ const PrepopulatedEngine* const engines_VE[] = {
|
||||
@@ -959,7 +959,7 @@ const PrepopulatedEngine* const engines_VE[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo_es,
|
||||
|
@ -922,7 +922,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -979,7 +979,7 @@ const PrepopulatedEngine* const engines_YE[] = {
|
||||
@@ -978,7 +978,7 @@ const PrepopulatedEngine* const engines_YE[] = {
|
||||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
|
@ -931,7 +931,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
};
|
||||
|
||||
// South Africa
|
||||
@@ -987,7 +987,7 @@ const PrepopulatedEngine* const engines_ZA[] = {
|
||||
@@ -986,7 +986,7 @@ const PrepopulatedEngine* const engines_ZA[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
@ -940,7 +940,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&ecosia,
|
||||
};
|
||||
|
||||
@@ -996,7 +996,7 @@ const PrepopulatedEngine* const engines_ZW[] = {
|
||||
@@ -995,7 +995,7 @@ const PrepopulatedEngine* const engines_ZW[] = {
|
||||
&googleen, &google,
|
||||
&bing,
|
||||
&yahoo,
|
||||
|
|
|
@ -13,7 +13,7 @@ disable from all its searches RLZ and field experiments querystring parameters.
|
|||
diff --git a/components/search_engines/prepopulated_engines.json b/components/search_engines/prepopulated_engines.json
|
||||
--- a/components/search_engines/prepopulated_engines.json
|
||||
+++ b/components/search_engines/prepopulated_engines.json
|
||||
@@ -133,6 +133,27 @@
|
||||
@@ -134,6 +134,27 @@
|
||||
"id": 1
|
||||
},
|
||||
|
||||
|
@ -55,7 +55,7 @@ diff --git a/components/search_engines/search_engine_type.h b/components/search_
|
|||
diff --git a/components/search_engines/template_url_prepopulate_data.cc b/components/search_engines/template_url_prepopulate_data.cc
|
||||
--- a/components/search_engines/template_url_prepopulate_data.cc
|
||||
+++ b/components/search_engines/template_url_prepopulate_data.cc
|
||||
@@ -29,7 +29,7 @@ namespace {
|
||||
@@ -28,7 +28,7 @@ namespace {
|
||||
|
||||
// Default (for countries with no better engine set)
|
||||
const PrepopulatedEngine* const engines_default[] = {
|
||||
|
@ -64,7 +64,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
};
|
||||
@@ -39,7 +39,7 @@ const PrepopulatedEngine* const engines_default[] = {
|
||||
@@ -38,7 +38,7 @@ const PrepopulatedEngine* const engines_default[] = {
|
||||
// clang-format off
|
||||
// United Arab Emirates
|
||||
const PrepopulatedEngine* const engines_AE[] = {
|
||||
|
@ -73,7 +73,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -48,7 +48,7 @@ const PrepopulatedEngine* const engines_AE[] = {
|
||||
@@ -47,7 +47,7 @@ const PrepopulatedEngine* const engines_AE[] = {
|
||||
|
||||
// Albania
|
||||
const PrepopulatedEngine* const engines_AL[] = {
|
||||
|
@ -82,7 +82,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -57,7 +57,7 @@ const PrepopulatedEngine* const engines_AL[] = {
|
||||
@@ -56,7 +56,7 @@ const PrepopulatedEngine* const engines_AL[] = {
|
||||
|
||||
// Argentina
|
||||
const PrepopulatedEngine* const engines_AR[] = {
|
||||
|
@ -91,7 +91,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_ar,
|
||||
&duckduckgo,
|
||||
@@ -66,7 +66,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
@@ -65,7 +65,7 @@ const PrepopulatedEngine* const engines_AR[] = {
|
||||
|
||||
// Austria
|
||||
const PrepopulatedEngine* const engines_AT[] = {
|
||||
|
@ -100,7 +100,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo_at,
|
||||
@@ -75,7 +75,7 @@ const PrepopulatedEngine* const engines_AT[] = {
|
||||
@@ -74,7 +74,7 @@ const PrepopulatedEngine* const engines_AT[] = {
|
||||
|
||||
// Australia
|
||||
const PrepopulatedEngine* const engines_AU[] = {
|
||||
|
@ -109,7 +109,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_au,
|
||||
&duckduckgo,
|
||||
@@ -84,7 +84,7 @@ const PrepopulatedEngine* const engines_AU[] = {
|
||||
@@ -83,7 +83,7 @@ const PrepopulatedEngine* const engines_AU[] = {
|
||||
|
||||
// Bosnia and Herzegovina
|
||||
const PrepopulatedEngine* const engines_BA[] = {
|
||||
|
@ -118,7 +118,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -93,7 +93,7 @@ const PrepopulatedEngine* const engines_BA[] = {
|
||||
@@ -92,7 +92,7 @@ const PrepopulatedEngine* const engines_BA[] = {
|
||||
|
||||
// Belgium
|
||||
const PrepopulatedEngine* const engines_BE[] = {
|
||||
|
@ -127,7 +127,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
@@ -102,7 +102,7 @@ const PrepopulatedEngine* const engines_BE[] = {
|
||||
@@ -101,7 +101,7 @@ const PrepopulatedEngine* const engines_BE[] = {
|
||||
|
||||
// Bulgaria
|
||||
const PrepopulatedEngine* const engines_BG[] = {
|
||||
|
@ -136,7 +136,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -111,7 +111,7 @@ const PrepopulatedEngine* const engines_BG[] = {
|
||||
@@ -110,7 +110,7 @@ const PrepopulatedEngine* const engines_BG[] = {
|
||||
|
||||
// Bahrain
|
||||
const PrepopulatedEngine* const engines_BH[] = {
|
||||
|
@ -145,7 +145,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -120,7 +120,7 @@ const PrepopulatedEngine* const engines_BH[] = {
|
||||
@@ -119,7 +119,7 @@ const PrepopulatedEngine* const engines_BH[] = {
|
||||
|
||||
// Burundi
|
||||
const PrepopulatedEngine* const engines_BI[] = {
|
||||
|
@ -154,7 +154,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -129,7 +129,7 @@ const PrepopulatedEngine* const engines_BI[] = {
|
||||
@@ -128,7 +128,7 @@ const PrepopulatedEngine* const engines_BI[] = {
|
||||
|
||||
// Brunei
|
||||
const PrepopulatedEngine* const engines_BN[] = {
|
||||
|
@ -163,7 +163,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -138,7 +138,7 @@ const PrepopulatedEngine* const engines_BN[] = {
|
||||
@@ -137,7 +137,7 @@ const PrepopulatedEngine* const engines_BN[] = {
|
||||
|
||||
// Bolivia
|
||||
const PrepopulatedEngine* const engines_BO[] = {
|
||||
|
@ -172,7 +172,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -147,7 +147,7 @@ const PrepopulatedEngine* const engines_BO[] = {
|
||||
@@ -146,7 +146,7 @@ const PrepopulatedEngine* const engines_BO[] = {
|
||||
|
||||
// Brazil
|
||||
const PrepopulatedEngine* const engines_BR[] = {
|
||||
|
@ -181,7 +181,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_br,
|
||||
&duckduckgo,
|
||||
@@ -156,7 +156,7 @@ const PrepopulatedEngine* const engines_BR[] = {
|
||||
@@ -155,7 +155,7 @@ const PrepopulatedEngine* const engines_BR[] = {
|
||||
|
||||
// Belarus
|
||||
const PrepopulatedEngine* const engines_BY[] = {
|
||||
|
@ -190,7 +190,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_by,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
@@ -165,7 +165,7 @@ const PrepopulatedEngine* const engines_BY[] = {
|
||||
@@ -164,7 +164,7 @@ const PrepopulatedEngine* const engines_BY[] = {
|
||||
|
||||
// Belize
|
||||
const PrepopulatedEngine* const engines_BZ[] = {
|
||||
|
@ -199,7 +199,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -174,7 +174,7 @@ const PrepopulatedEngine* const engines_BZ[] = {
|
||||
@@ -173,7 +173,7 @@ const PrepopulatedEngine* const engines_BZ[] = {
|
||||
|
||||
// Canada
|
||||
const PrepopulatedEngine* const engines_CA[] = {
|
||||
|
@ -208,7 +208,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_ca,
|
||||
&duckduckgo,
|
||||
@@ -183,7 +183,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
@@ -182,7 +182,7 @@ const PrepopulatedEngine* const engines_CA[] = {
|
||||
|
||||
// Switzerland
|
||||
const PrepopulatedEngine* const engines_CH[] = {
|
||||
|
@ -217,7 +217,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&ecosia,
|
||||
@@ -192,7 +192,7 @@ const PrepopulatedEngine* const engines_CH[] = {
|
||||
@@ -191,7 +191,7 @@ const PrepopulatedEngine* const engines_CH[] = {
|
||||
|
||||
// Chile
|
||||
const PrepopulatedEngine* const engines_CL[] = {
|
||||
|
@ -226,7 +226,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_cl,
|
||||
&duckduckgo,
|
||||
@@ -204,13 +204,13 @@ const PrepopulatedEngine* const engines_CN[] = {
|
||||
@@ -203,13 +203,13 @@ const PrepopulatedEngine* const engines_CN[] = {
|
||||
&sogou,
|
||||
&baidu,
|
||||
&bing,
|
||||
|
@ -242,7 +242,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_co,
|
||||
&ecosia,
|
||||
@@ -219,7 +219,7 @@ const PrepopulatedEngine* const engines_CO[] = {
|
||||
@@ -218,7 +218,7 @@ const PrepopulatedEngine* const engines_CO[] = {
|
||||
|
||||
// Costa Rica
|
||||
const PrepopulatedEngine* const engines_CR[] = {
|
||||
|
@ -251,7 +251,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -228,7 +228,7 @@ const PrepopulatedEngine* const engines_CR[] = {
|
||||
@@ -227,7 +227,7 @@ const PrepopulatedEngine* const engines_CR[] = {
|
||||
|
||||
// Czech Republic
|
||||
const PrepopulatedEngine* const engines_CZ[] = {
|
||||
|
@ -260,7 +260,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&seznam_cz,
|
||||
&bing,
|
||||
&yahoo,
|
||||
@@ -237,7 +237,7 @@ const PrepopulatedEngine* const engines_CZ[] = {
|
||||
@@ -236,7 +236,7 @@ const PrepopulatedEngine* const engines_CZ[] = {
|
||||
|
||||
// Germany
|
||||
const PrepopulatedEngine* const engines_DE[] = {
|
||||
|
@ -269,7 +269,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&ecosia,
|
||||
&duckduckgo,
|
||||
@@ -246,7 +246,7 @@ const PrepopulatedEngine* const engines_DE[] = {
|
||||
@@ -245,7 +245,7 @@ const PrepopulatedEngine* const engines_DE[] = {
|
||||
|
||||
// Denmark
|
||||
const PrepopulatedEngine* const engines_DK[] = {
|
||||
|
@ -278,7 +278,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_dk,
|
||||
&duckduckgo,
|
||||
@@ -255,7 +255,7 @@ const PrepopulatedEngine* const engines_DK[] = {
|
||||
@@ -254,7 +254,7 @@ const PrepopulatedEngine* const engines_DK[] = {
|
||||
|
||||
// Dominican Republic
|
||||
const PrepopulatedEngine* const engines_DO[] = {
|
||||
|
@ -287,7 +287,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -264,7 +264,7 @@ const PrepopulatedEngine* const engines_DO[] = {
|
||||
@@ -263,7 +263,7 @@ const PrepopulatedEngine* const engines_DO[] = {
|
||||
|
||||
// Algeria
|
||||
const PrepopulatedEngine* const engines_DZ[] = {
|
||||
|
@ -296,7 +296,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_fr,
|
||||
&yandex_com,
|
||||
@@ -273,7 +273,7 @@ const PrepopulatedEngine* const engines_DZ[] = {
|
||||
@@ -272,7 +272,7 @@ const PrepopulatedEngine* const engines_DZ[] = {
|
||||
|
||||
// Ecuador
|
||||
const PrepopulatedEngine* const engines_EC[] = {
|
||||
|
@ -305,7 +305,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
@@ -282,7 +282,7 @@ const PrepopulatedEngine* const engines_EC[] = {
|
||||
@@ -281,7 +281,7 @@ const PrepopulatedEngine* const engines_EC[] = {
|
||||
|
||||
// Estonia
|
||||
const PrepopulatedEngine* const engines_EE[] = {
|
||||
|
@ -314,7 +314,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yandex_ru,
|
||||
&duckduckgo,
|
||||
@@ -291,7 +291,7 @@ const PrepopulatedEngine* const engines_EE[] = {
|
||||
@@ -290,7 +290,7 @@ const PrepopulatedEngine* const engines_EE[] = {
|
||||
|
||||
// Egypt
|
||||
const PrepopulatedEngine* const engines_EG[] = {
|
||||
|
@ -323,7 +323,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
@@ -300,7 +300,7 @@ const PrepopulatedEngine* const engines_EG[] = {
|
||||
@@ -299,7 +299,7 @@ const PrepopulatedEngine* const engines_EG[] = {
|
||||
|
||||
// Spain
|
||||
const PrepopulatedEngine* const engines_ES[] = {
|
||||
|
@ -332,7 +332,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -309,7 +309,7 @@ const PrepopulatedEngine* const engines_ES[] = {
|
||||
@@ -308,7 +308,7 @@ const PrepopulatedEngine* const engines_ES[] = {
|
||||
|
||||
// Finland
|
||||
const PrepopulatedEngine* const engines_FI[] = {
|
||||
|
@ -341,7 +341,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_fi,
|
||||
&duckduckgo,
|
||||
@@ -318,7 +318,7 @@ const PrepopulatedEngine* const engines_FI[] = {
|
||||
@@ -317,7 +317,7 @@ const PrepopulatedEngine* const engines_FI[] = {
|
||||
|
||||
// Faroe Islands
|
||||
const PrepopulatedEngine* const engines_FO[] = {
|
||||
|
@ -350,7 +350,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_dk,
|
||||
&duckduckgo,
|
||||
@@ -327,7 +327,7 @@ const PrepopulatedEngine* const engines_FO[] = {
|
||||
@@ -326,7 +326,7 @@ const PrepopulatedEngine* const engines_FO[] = {
|
||||
|
||||
// France
|
||||
const PrepopulatedEngine* const engines_FR[] = {
|
||||
|
@ -359,7 +359,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_fr,
|
||||
&qwant,
|
||||
@@ -336,7 +336,7 @@ const PrepopulatedEngine* const engines_FR[] = {
|
||||
@@ -335,7 +335,7 @@ const PrepopulatedEngine* const engines_FR[] = {
|
||||
|
||||
// United Kingdom
|
||||
const PrepopulatedEngine* const engines_GB[] = {
|
||||
|
@ -368,7 +368,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_uk,
|
||||
&duckduckgo,
|
||||
@@ -345,7 +345,7 @@ const PrepopulatedEngine* const engines_GB[] = {
|
||||
@@ -344,7 +344,7 @@ const PrepopulatedEngine* const engines_GB[] = {
|
||||
|
||||
// Greece
|
||||
const PrepopulatedEngine* const engines_GR[] = {
|
||||
|
@ -377,7 +377,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -354,7 +354,7 @@ const PrepopulatedEngine* const engines_GR[] = {
|
||||
@@ -353,7 +353,7 @@ const PrepopulatedEngine* const engines_GR[] = {
|
||||
|
||||
// Guatemala
|
||||
const PrepopulatedEngine* const engines_GT[] = {
|
||||
|
@ -386,7 +386,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -363,7 +363,7 @@ const PrepopulatedEngine* const engines_GT[] = {
|
||||
@@ -362,7 +362,7 @@ const PrepopulatedEngine* const engines_GT[] = {
|
||||
|
||||
// Hong Kong
|
||||
const PrepopulatedEngine* const engines_HK[] = {
|
||||
|
@ -395,7 +395,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_hk,
|
||||
&bing,
|
||||
&baidu,
|
||||
@@ -372,7 +372,7 @@ const PrepopulatedEngine* const engines_HK[] = {
|
||||
@@ -371,7 +371,7 @@ const PrepopulatedEngine* const engines_HK[] = {
|
||||
|
||||
// Honduras
|
||||
const PrepopulatedEngine* const engines_HN[] = {
|
||||
|
@ -404,7 +404,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -381,7 +381,7 @@ const PrepopulatedEngine* const engines_HN[] = {
|
||||
@@ -380,7 +380,7 @@ const PrepopulatedEngine* const engines_HN[] = {
|
||||
|
||||
// Croatia
|
||||
const PrepopulatedEngine* const engines_HR[] = {
|
||||
|
@ -413,7 +413,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -390,7 +390,7 @@ const PrepopulatedEngine* const engines_HR[] = {
|
||||
@@ -389,7 +389,7 @@ const PrepopulatedEngine* const engines_HR[] = {
|
||||
|
||||
// Hungary
|
||||
const PrepopulatedEngine* const engines_HU[] = {
|
||||
|
@ -422,7 +422,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -399,7 +399,7 @@ const PrepopulatedEngine* const engines_HU[] = {
|
||||
@@ -398,7 +398,7 @@ const PrepopulatedEngine* const engines_HU[] = {
|
||||
|
||||
// Indonesia
|
||||
const PrepopulatedEngine* const engines_ID[] = {
|
||||
|
@ -431,7 +431,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_id,
|
||||
&bing,
|
||||
&yandex_com,
|
||||
@@ -408,7 +408,7 @@ const PrepopulatedEngine* const engines_ID[] = {
|
||||
@@ -407,7 +407,7 @@ const PrepopulatedEngine* const engines_ID[] = {
|
||||
|
||||
// Ireland
|
||||
const PrepopulatedEngine* const engines_IE[] = {
|
||||
|
@ -440,7 +440,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_uk,
|
||||
&duckduckgo,
|
||||
@@ -417,7 +417,7 @@ const PrepopulatedEngine* const engines_IE[] = {
|
||||
@@ -416,7 +416,7 @@ const PrepopulatedEngine* const engines_IE[] = {
|
||||
|
||||
// Israel
|
||||
const PrepopulatedEngine* const engines_IL[] = {
|
||||
|
@ -449,7 +449,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yandex_ru,
|
||||
&yahoo,
|
||||
@@ -426,7 +426,7 @@ const PrepopulatedEngine* const engines_IL[] = {
|
||||
@@ -425,7 +425,7 @@ const PrepopulatedEngine* const engines_IL[] = {
|
||||
|
||||
// India
|
||||
const PrepopulatedEngine* const engines_IN[] = {
|
||||
|
@ -458,7 +458,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_in,
|
||||
&duckduckgo,
|
||||
@@ -435,7 +435,7 @@ const PrepopulatedEngine* const engines_IN[] = {
|
||||
@@ -434,7 +434,7 @@ const PrepopulatedEngine* const engines_IN[] = {
|
||||
|
||||
// Iraq
|
||||
const PrepopulatedEngine* const engines_IQ[] = {
|
||||
|
@ -467,7 +467,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_tr,
|
||||
@@ -444,7 +444,7 @@ const PrepopulatedEngine* const engines_IQ[] = {
|
||||
@@ -443,7 +443,7 @@ const PrepopulatedEngine* const engines_IQ[] = {
|
||||
|
||||
// Iran
|
||||
const PrepopulatedEngine* const engines_IR[] = {
|
||||
|
@ -476,7 +476,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&ask,
|
||||
@@ -453,7 +453,7 @@ const PrepopulatedEngine* const engines_IR[] = {
|
||||
@@ -452,7 +452,7 @@ const PrepopulatedEngine* const engines_IR[] = {
|
||||
|
||||
// Iceland
|
||||
const PrepopulatedEngine* const engines_IS[] = {
|
||||
|
@ -485,7 +485,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo,
|
||||
@@ -462,7 +462,7 @@ const PrepopulatedEngine* const engines_IS[] = {
|
||||
@@ -461,7 +461,7 @@ const PrepopulatedEngine* const engines_IS[] = {
|
||||
|
||||
// Italy
|
||||
const PrepopulatedEngine* const engines_IT[] = {
|
||||
|
@ -494,7 +494,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -471,7 +471,7 @@ const PrepopulatedEngine* const engines_IT[] = {
|
||||
@@ -470,7 +470,7 @@ const PrepopulatedEngine* const engines_IT[] = {
|
||||
|
||||
// Jamaica
|
||||
const PrepopulatedEngine* const engines_JM[] = {
|
||||
|
@ -503,7 +503,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -480,7 +480,7 @@ const PrepopulatedEngine* const engines_JM[] = {
|
||||
@@ -479,7 +479,7 @@ const PrepopulatedEngine* const engines_JM[] = {
|
||||
|
||||
// Jordan
|
||||
const PrepopulatedEngine* const engines_JO[] = {
|
||||
|
@ -512,7 +512,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -489,7 +489,7 @@ const PrepopulatedEngine* const engines_JO[] = {
|
||||
@@ -488,7 +488,7 @@ const PrepopulatedEngine* const engines_JO[] = {
|
||||
|
||||
// Japan
|
||||
const PrepopulatedEngine* const engines_JP[] = {
|
||||
|
@ -521,7 +521,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_jp,
|
||||
&bing,
|
||||
&duckduckgo,
|
||||
@@ -498,7 +498,7 @@ const PrepopulatedEngine* const engines_JP[] = {
|
||||
@@ -497,7 +497,7 @@ const PrepopulatedEngine* const engines_JP[] = {
|
||||
|
||||
// Kenya
|
||||
const PrepopulatedEngine* const engines_KE[] = {
|
||||
|
@ -530,7 +530,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -507,7 +507,7 @@ const PrepopulatedEngine* const engines_KE[] = {
|
||||
@@ -506,7 +506,7 @@ const PrepopulatedEngine* const engines_KE[] = {
|
||||
|
||||
// South Korea
|
||||
const PrepopulatedEngine* const engines_KR[] = {
|
||||
|
@ -539,7 +539,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&naver,
|
||||
&daum,
|
||||
&bing,
|
||||
@@ -516,7 +516,7 @@ const PrepopulatedEngine* const engines_KR[] = {
|
||||
@@ -515,7 +515,7 @@ const PrepopulatedEngine* const engines_KR[] = {
|
||||
|
||||
// Kuwait
|
||||
const PrepopulatedEngine* const engines_KW[] = {
|
||||
|
@ -548,7 +548,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -525,7 +525,7 @@ const PrepopulatedEngine* const engines_KW[] = {
|
||||
@@ -524,7 +524,7 @@ const PrepopulatedEngine* const engines_KW[] = {
|
||||
|
||||
// Kazakhstan
|
||||
const PrepopulatedEngine* const engines_KZ[] = {
|
||||
|
@ -557,7 +557,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_kz,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
@@ -534,7 +534,7 @@ const PrepopulatedEngine* const engines_KZ[] = {
|
||||
@@ -533,7 +533,7 @@ const PrepopulatedEngine* const engines_KZ[] = {
|
||||
|
||||
// Lebanon
|
||||
const PrepopulatedEngine* const engines_LB[] = {
|
||||
|
@ -566,7 +566,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -543,7 +543,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
@@ -542,7 +542,7 @@ const PrepopulatedEngine* const engines_LB[] = {
|
||||
|
||||
// Liechtenstein
|
||||
const PrepopulatedEngine* const engines_LI[] = {
|
||||
|
@ -575,7 +575,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo,
|
||||
@@ -552,7 +552,7 @@ const PrepopulatedEngine* const engines_LI[] = {
|
||||
@@ -551,7 +551,7 @@ const PrepopulatedEngine* const engines_LI[] = {
|
||||
|
||||
// Lithuania
|
||||
const PrepopulatedEngine* const engines_LT[] = {
|
||||
|
@ -584,7 +584,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -561,7 +561,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
@@ -560,7 +560,7 @@ const PrepopulatedEngine* const engines_LT[] = {
|
||||
|
||||
// Luxembourg
|
||||
const PrepopulatedEngine* const engines_LU[] = {
|
||||
|
@ -593,7 +593,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo,
|
||||
@@ -570,7 +570,7 @@ const PrepopulatedEngine* const engines_LU[] = {
|
||||
@@ -569,7 +569,7 @@ const PrepopulatedEngine* const engines_LU[] = {
|
||||
|
||||
// Latvia
|
||||
const PrepopulatedEngine* const engines_LV[] = {
|
||||
|
@ -602,7 +602,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yandex_ru,
|
||||
&yahoo,
|
||||
@@ -579,7 +579,7 @@ const PrepopulatedEngine* const engines_LV[] = {
|
||||
@@ -578,7 +578,7 @@ const PrepopulatedEngine* const engines_LV[] = {
|
||||
|
||||
// Libya
|
||||
const PrepopulatedEngine* const engines_LY[] = {
|
||||
|
@ -611,7 +611,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
@@ -588,7 +588,7 @@ const PrepopulatedEngine* const engines_LY[] = {
|
||||
@@ -587,7 +587,7 @@ const PrepopulatedEngine* const engines_LY[] = {
|
||||
|
||||
// Morocco
|
||||
const PrepopulatedEngine* const engines_MA[] = {
|
||||
|
@ -620,7 +620,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_fr,
|
||||
&yandex_com,
|
||||
@@ -597,7 +597,7 @@ const PrepopulatedEngine* const engines_MA[] = {
|
||||
@@ -596,7 +596,7 @@ const PrepopulatedEngine* const engines_MA[] = {
|
||||
|
||||
// Monaco
|
||||
const PrepopulatedEngine* const engines_MC[] = {
|
||||
|
@ -629,7 +629,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo_fr,
|
||||
@@ -606,7 +606,7 @@ const PrepopulatedEngine* const engines_MC[] = {
|
||||
@@ -605,7 +605,7 @@ const PrepopulatedEngine* const engines_MC[] = {
|
||||
|
||||
// Moldova
|
||||
const PrepopulatedEngine* const engines_MD[] = {
|
||||
|
@ -638,7 +638,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
&bing,
|
||||
&mail_ru,
|
||||
@@ -615,7 +615,7 @@ const PrepopulatedEngine* const engines_MD[] = {
|
||||
@@ -614,7 +614,7 @@ const PrepopulatedEngine* const engines_MD[] = {
|
||||
|
||||
// Montenegro
|
||||
const PrepopulatedEngine* const engines_ME[] = {
|
||||
|
@ -647,7 +647,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_ru,
|
||||
@@ -624,7 +624,7 @@ const PrepopulatedEngine* const engines_ME[] = {
|
||||
@@ -623,7 +623,7 @@ const PrepopulatedEngine* const engines_ME[] = {
|
||||
|
||||
// Macedonia
|
||||
const PrepopulatedEngine* const engines_MK[] = {
|
||||
|
@ -656,7 +656,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -633,7 +633,7 @@ const PrepopulatedEngine* const engines_MK[] = {
|
||||
@@ -632,7 +632,7 @@ const PrepopulatedEngine* const engines_MK[] = {
|
||||
|
||||
// Mexico
|
||||
const PrepopulatedEngine* const engines_MX[] = {
|
||||
|
@ -665,7 +665,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_mx,
|
||||
&duckduckgo,
|
||||
@@ -642,7 +642,7 @@ const PrepopulatedEngine* const engines_MX[] = {
|
||||
@@ -641,7 +641,7 @@ const PrepopulatedEngine* const engines_MX[] = {
|
||||
|
||||
// Malaysia
|
||||
const PrepopulatedEngine* const engines_MY[] = {
|
||||
|
@ -674,7 +674,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_my,
|
||||
&duckduckgo,
|
||||
@@ -651,7 +651,7 @@ const PrepopulatedEngine* const engines_MY[] = {
|
||||
@@ -650,7 +650,7 @@ const PrepopulatedEngine* const engines_MY[] = {
|
||||
|
||||
// Nicaragua
|
||||
const PrepopulatedEngine* const engines_NI[] = {
|
||||
|
@ -683,7 +683,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -660,7 +660,7 @@ const PrepopulatedEngine* const engines_NI[] = {
|
||||
@@ -659,7 +659,7 @@ const PrepopulatedEngine* const engines_NI[] = {
|
||||
|
||||
// Netherlands
|
||||
const PrepopulatedEngine* const engines_NL[] = {
|
||||
|
@ -692,7 +692,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_nl,
|
||||
&duckduckgo,
|
||||
@@ -669,7 +669,7 @@ const PrepopulatedEngine* const engines_NL[] = {
|
||||
@@ -668,7 +668,7 @@ const PrepopulatedEngine* const engines_NL[] = {
|
||||
|
||||
// Norway
|
||||
const PrepopulatedEngine* const engines_NO[] = {
|
||||
|
@ -701,7 +701,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -678,7 +678,7 @@ const PrepopulatedEngine* const engines_NO[] = {
|
||||
@@ -677,7 +677,7 @@ const PrepopulatedEngine* const engines_NO[] = {
|
||||
|
||||
// New Zealand
|
||||
const PrepopulatedEngine* const engines_NZ[] = {
|
||||
|
@ -710,7 +710,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_nz,
|
||||
&duckduckgo,
|
||||
@@ -687,7 +687,7 @@ const PrepopulatedEngine* const engines_NZ[] = {
|
||||
@@ -686,7 +686,7 @@ const PrepopulatedEngine* const engines_NZ[] = {
|
||||
|
||||
// Oman
|
||||
const PrepopulatedEngine* const engines_OM[] = {
|
||||
|
@ -719,7 +719,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -696,7 +696,7 @@ const PrepopulatedEngine* const engines_OM[] = {
|
||||
@@ -695,7 +695,7 @@ const PrepopulatedEngine* const engines_OM[] = {
|
||||
|
||||
// Panama
|
||||
const PrepopulatedEngine* const engines_PA[] = {
|
||||
|
@ -728,7 +728,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -705,7 +705,7 @@ const PrepopulatedEngine* const engines_PA[] = {
|
||||
@@ -704,7 +704,7 @@ const PrepopulatedEngine* const engines_PA[] = {
|
||||
|
||||
// Peru
|
||||
const PrepopulatedEngine* const engines_PE[] = {
|
||||
|
@ -737,7 +737,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_pe,
|
||||
&ecosia,
|
||||
@@ -714,7 +714,7 @@ const PrepopulatedEngine* const engines_PE[] = {
|
||||
@@ -713,7 +713,7 @@ const PrepopulatedEngine* const engines_PE[] = {
|
||||
|
||||
// Philippines
|
||||
const PrepopulatedEngine* const engines_PH[] = {
|
||||
|
@ -746,7 +746,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&ecosia,
|
||||
@@ -723,7 +723,7 @@ const PrepopulatedEngine* const engines_PH[] = {
|
||||
@@ -722,7 +722,7 @@ const PrepopulatedEngine* const engines_PH[] = {
|
||||
|
||||
// Pakistan
|
||||
const PrepopulatedEngine* const engines_PK[] = {
|
||||
|
@ -755,7 +755,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -732,7 +732,7 @@ const PrepopulatedEngine* const engines_PK[] = {
|
||||
@@ -731,7 +731,7 @@ const PrepopulatedEngine* const engines_PK[] = {
|
||||
|
||||
// Poland
|
||||
const PrepopulatedEngine* const engines_PL[] = {
|
||||
|
@ -764,7 +764,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -741,7 +741,7 @@ const PrepopulatedEngine* const engines_PL[] = {
|
||||
@@ -740,7 +740,7 @@ const PrepopulatedEngine* const engines_PL[] = {
|
||||
|
||||
// Puerto Rico
|
||||
const PrepopulatedEngine* const engines_PR[] = {
|
||||
|
@ -773,7 +773,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -750,7 +750,7 @@ const PrepopulatedEngine* const engines_PR[] = {
|
||||
@@ -749,7 +749,7 @@ const PrepopulatedEngine* const engines_PR[] = {
|
||||
|
||||
// Portugal
|
||||
const PrepopulatedEngine* const engines_PT[] = {
|
||||
|
@ -782,7 +782,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -759,7 +759,7 @@ const PrepopulatedEngine* const engines_PT[] = {
|
||||
@@ -758,7 +758,7 @@ const PrepopulatedEngine* const engines_PT[] = {
|
||||
|
||||
// Paraguay
|
||||
const PrepopulatedEngine* const engines_PY[] = {
|
||||
|
@ -791,7 +791,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -768,7 +768,7 @@ const PrepopulatedEngine* const engines_PY[] = {
|
||||
@@ -767,7 +767,7 @@ const PrepopulatedEngine* const engines_PY[] = {
|
||||
|
||||
// Qatar
|
||||
const PrepopulatedEngine* const engines_QA[] = {
|
||||
|
@ -800,7 +800,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -777,7 +777,7 @@ const PrepopulatedEngine* const engines_QA[] = {
|
||||
@@ -776,7 +776,7 @@ const PrepopulatedEngine* const engines_QA[] = {
|
||||
|
||||
// Romania
|
||||
const PrepopulatedEngine* const engines_RO[] = {
|
||||
|
@ -809,7 +809,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -786,7 +786,7 @@ const PrepopulatedEngine* const engines_RO[] = {
|
||||
@@ -785,7 +785,7 @@ const PrepopulatedEngine* const engines_RO[] = {
|
||||
|
||||
// Serbia
|
||||
const PrepopulatedEngine* const engines_RS[] = {
|
||||
|
@ -818,7 +818,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -795,7 +795,7 @@ const PrepopulatedEngine* const engines_RS[] = {
|
||||
@@ -794,7 +794,7 @@ const PrepopulatedEngine* const engines_RS[] = {
|
||||
|
||||
// Russia
|
||||
const PrepopulatedEngine* const engines_RU[] = {
|
||||
|
@ -827,7 +827,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ru,
|
||||
&mail_ru,
|
||||
&bing,
|
||||
@@ -804,7 +804,7 @@ const PrepopulatedEngine* const engines_RU[] = {
|
||||
@@ -803,7 +803,7 @@ const PrepopulatedEngine* const engines_RU[] = {
|
||||
|
||||
// Rwanda
|
||||
const PrepopulatedEngine* const engines_RW[] = {
|
||||
|
@ -836,7 +836,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -813,7 +813,7 @@ const PrepopulatedEngine* const engines_RW[] = {
|
||||
@@ -812,7 +812,7 @@ const PrepopulatedEngine* const engines_RW[] = {
|
||||
|
||||
// Saudi Arabia
|
||||
const PrepopulatedEngine* const engines_SA[] = {
|
||||
|
@ -845,7 +845,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
@@ -822,7 +822,7 @@ const PrepopulatedEngine* const engines_SA[] = {
|
||||
@@ -821,7 +821,7 @@ const PrepopulatedEngine* const engines_SA[] = {
|
||||
|
||||
// Sweden
|
||||
const PrepopulatedEngine* const engines_SE[] = {
|
||||
|
@ -854,7 +854,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_se,
|
||||
&duckduckgo,
|
||||
@@ -831,7 +831,7 @@ const PrepopulatedEngine* const engines_SE[] = {
|
||||
@@ -830,7 +830,7 @@ const PrepopulatedEngine* const engines_SE[] = {
|
||||
|
||||
// Singapore
|
||||
const PrepopulatedEngine* const engines_SG[] = {
|
||||
|
@ -863,7 +863,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_sg,
|
||||
&duckduckgo,
|
||||
@@ -840,7 +840,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
@@ -839,7 +839,7 @@ const PrepopulatedEngine* const engines_SG[] = {
|
||||
|
||||
// Slovenia
|
||||
const PrepopulatedEngine* const engines_SI[] = {
|
||||
|
@ -872,7 +872,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo,
|
||||
@@ -849,7 +849,7 @@ const PrepopulatedEngine* const engines_SI[] = {
|
||||
@@ -848,7 +848,7 @@ const PrepopulatedEngine* const engines_SI[] = {
|
||||
|
||||
// Slovakia
|
||||
const PrepopulatedEngine* const engines_SK[] = {
|
||||
|
@ -881,7 +881,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&duckduckgo,
|
||||
&yahoo,
|
||||
@@ -858,7 +858,7 @@ const PrepopulatedEngine* const engines_SK[] = {
|
||||
@@ -857,7 +857,7 @@ const PrepopulatedEngine* const engines_SK[] = {
|
||||
|
||||
// El Salvador
|
||||
const PrepopulatedEngine* const engines_SV[] = {
|
||||
|
@ -890,7 +890,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -867,7 +867,7 @@ const PrepopulatedEngine* const engines_SV[] = {
|
||||
@@ -866,7 +866,7 @@ const PrepopulatedEngine* const engines_SV[] = {
|
||||
|
||||
// Syria
|
||||
const PrepopulatedEngine* const engines_SY[] = {
|
||||
|
@ -899,7 +899,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
@@ -876,7 +876,7 @@ const PrepopulatedEngine* const engines_SY[] = {
|
||||
@@ -875,7 +875,7 @@ const PrepopulatedEngine* const engines_SY[] = {
|
||||
|
||||
// Thailand
|
||||
const PrepopulatedEngine* const engines_TH[] = {
|
||||
|
@ -908,7 +908,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_th,
|
||||
&yandex_ru,
|
||||
@@ -885,7 +885,7 @@ const PrepopulatedEngine* const engines_TH[] = {
|
||||
@@ -884,7 +884,7 @@ const PrepopulatedEngine* const engines_TH[] = {
|
||||
|
||||
// Tunisia
|
||||
const PrepopulatedEngine* const engines_TN[] = {
|
||||
|
@ -917,7 +917,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_fr,
|
||||
&duckduckgo,
|
||||
@@ -894,7 +894,7 @@ const PrepopulatedEngine* const engines_TN[] = {
|
||||
@@ -893,7 +893,7 @@ const PrepopulatedEngine* const engines_TN[] = {
|
||||
|
||||
// Turkey
|
||||
const PrepopulatedEngine* const engines_TR[] = {
|
||||
|
@ -926,7 +926,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_tr,
|
||||
&yahoo_tr,
|
||||
&bing,
|
||||
@@ -903,7 +903,7 @@ const PrepopulatedEngine* const engines_TR[] = {
|
||||
@@ -902,7 +902,7 @@ const PrepopulatedEngine* const engines_TR[] = {
|
||||
|
||||
// Trinidad and Tobago
|
||||
const PrepopulatedEngine* const engines_TT[] = {
|
||||
|
@ -935,7 +935,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -912,7 +912,7 @@ const PrepopulatedEngine* const engines_TT[] = {
|
||||
@@ -911,7 +911,7 @@ const PrepopulatedEngine* const engines_TT[] = {
|
||||
|
||||
// Taiwan
|
||||
const PrepopulatedEngine* const engines_TW[] = {
|
||||
|
@ -944,7 +944,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yahoo_tw,
|
||||
&bing,
|
||||
&baidu,
|
||||
@@ -921,7 +921,7 @@ const PrepopulatedEngine* const engines_TW[] = {
|
||||
@@ -920,7 +920,7 @@ const PrepopulatedEngine* const engines_TW[] = {
|
||||
|
||||
// Tanzania
|
||||
const PrepopulatedEngine* const engines_TZ[] = {
|
||||
|
@ -953,7 +953,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -930,7 +930,7 @@ const PrepopulatedEngine* const engines_TZ[] = {
|
||||
@@ -929,7 +929,7 @@ const PrepopulatedEngine* const engines_TZ[] = {
|
||||
|
||||
// Ukraine
|
||||
const PrepopulatedEngine* const engines_UA[] = {
|
||||
|
@ -962,7 +962,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&yandex_ua,
|
||||
&bing,
|
||||
&duckduckgo,
|
||||
@@ -939,7 +939,7 @@ const PrepopulatedEngine* const engines_UA[] = {
|
||||
@@ -938,7 +938,7 @@ const PrepopulatedEngine* const engines_UA[] = {
|
||||
|
||||
// United States
|
||||
const PrepopulatedEngine* const engines_US[] = {
|
||||
|
@ -971,7 +971,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -948,7 +948,7 @@ const PrepopulatedEngine* const engines_US[] = {
|
||||
@@ -947,7 +947,7 @@ const PrepopulatedEngine* const engines_US[] = {
|
||||
|
||||
// Uruguay
|
||||
const PrepopulatedEngine* const engines_UY[] = {
|
||||
|
@ -980,7 +980,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -957,7 +957,7 @@ const PrepopulatedEngine* const engines_UY[] = {
|
||||
@@ -956,7 +956,7 @@ const PrepopulatedEngine* const engines_UY[] = {
|
||||
|
||||
// Venezuela
|
||||
const PrepopulatedEngine* const engines_VE[] = {
|
||||
|
@ -989,7 +989,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo_es,
|
||||
&duckduckgo,
|
||||
@@ -966,7 +966,7 @@ const PrepopulatedEngine* const engines_VE[] = {
|
||||
@@ -965,7 +965,7 @@ const PrepopulatedEngine* const engines_VE[] = {
|
||||
|
||||
// Vietnam
|
||||
const PrepopulatedEngine* const engines_VN[] = {
|
||||
|
@ -998,7 +998,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&coccoc,
|
||||
&yahoo,
|
||||
&bing,
|
||||
@@ -975,7 +975,7 @@ const PrepopulatedEngine* const engines_VN[] = {
|
||||
@@ -974,7 +974,7 @@ const PrepopulatedEngine* const engines_VN[] = {
|
||||
|
||||
// Yemen
|
||||
const PrepopulatedEngine* const engines_YE[] = {
|
||||
|
@ -1007,7 +1007,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&yandex_com,
|
||||
@@ -984,7 +984,7 @@ const PrepopulatedEngine* const engines_YE[] = {
|
||||
@@ -983,7 +983,7 @@ const PrepopulatedEngine* const engines_YE[] = {
|
||||
|
||||
// South Africa
|
||||
const PrepopulatedEngine* const engines_ZA[] = {
|
||||
|
@ -1016,7 +1016,7 @@ diff --git a/components/search_engines/template_url_prepopulate_data.cc b/compon
|
|||
&bing,
|
||||
&yahoo,
|
||||
&duckduckgo,
|
||||
@@ -993,7 +993,7 @@ const PrepopulatedEngine* const engines_ZA[] = {
|
||||
@@ -992,7 +992,7 @@ const PrepopulatedEngine* const engines_ZA[] = {
|
||||
|
||||
// Zimbabwe
|
||||
const PrepopulatedEngine* const engines_ZW[] = {
|
||||
|
|
|
@ -70,7 +70,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -57,6 +57,7 @@ import org.chromium.ui.text.SpanApplier;
|
||||
@@ -58,6 +58,7 @@ import org.chromium.ui.text.SpanApplier;
|
||||
public class PrivacySettings
|
||||
extends PreferenceFragmentCompat implements Preference.OnPreferenceChangeListener,
|
||||
INeedSnackbarManager {
|
||||
|
@ -81,7 +81,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
@@ -276,6 +276,8 @@ ChromeAutocompleteProviderClient::GetBuiltinsToProvideAsUserTypes() {
|
||||
@@ -275,6 +275,8 @@ ChromeAutocompleteProviderClient::GetBuiltinsToProvideAsUserTypes() {
|
||||
builtins_to_provide.push_back(
|
||||
base::ASCIIToUTF16(chrome::kChromeUISettingsURL));
|
||||
#endif
|
||||
|
@ -93,7 +93,7 @@ diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
|||
diff --git a/chrome/browser/browser_resources.grd b/chrome/browser/browser_resources.grd
|
||||
--- a/chrome/browser/browser_resources.grd
|
||||
+++ b/chrome/browser/browser_resources.grd
|
||||
@@ -88,6 +88,12 @@
|
||||
@@ -74,6 +74,12 @@
|
||||
<include name="IDR_HANGOUT_SERVICES_MANIFEST" file="resources\hangout_services\manifest.json" type="BINDATA" />
|
||||
</if>
|
||||
|
||||
|
@ -190,7 +190,7 @@ diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browse
|
|||
#if BUILDFLAG(ENABLE_BACKGROUND_MODE)
|
||||
#include "chrome/browser/background/background_mode_manager.h"
|
||||
#endif
|
||||
@@ -970,6 +972,8 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
|
||||
@@ -967,6 +969,8 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
|
||||
chrome::enterprise_util::RegisterLocalStatePrefs(registry);
|
||||
component_updater::RegisterPrefs(registry);
|
||||
embedder_support::OriginTrialPrefs::RegisterPrefs(registry);
|
||||
|
@ -202,7 +202,7 @@ diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browse
|
|||
diff --git a/chrome/browser/prefs/chrome_command_line_pref_store.cc b/chrome/browser/prefs/chrome_command_line_pref_store.cc
|
||||
--- a/chrome/browser/prefs/chrome_command_line_pref_store.cc
|
||||
+++ b/chrome/browser/prefs/chrome_command_line_pref_store.cc
|
||||
@@ -159,7 +159,7 @@ void ChromeCommandLinePrefStore::ApplyProxyMode() {
|
||||
@@ -157,7 +157,7 @@ void ChromeCommandLinePrefStore::ApplyProxyMode() {
|
||||
SetValue(
|
||||
proxy_config::prefs::kProxy,
|
||||
std::make_unique<base::Value>(ProxyConfigDictionary::CreateFixedServers(
|
||||
|
@ -635,7 +635,7 @@ new file mode 100644
|
|||
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
||||
--- a/chrome/browser/ui/BUILD.gn
|
||||
+++ b/chrome/browser/ui/BUILD.gn
|
||||
@@ -276,6 +276,8 @@ static_library("ui") {
|
||||
@@ -274,6 +274,8 @@ static_library("ui") {
|
||||
"webui/metrics_handler.h",
|
||||
"webui/net_export_ui.cc",
|
||||
"webui/net_export_ui.h",
|
||||
|
@ -647,7 +647,7 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|||
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
@@ -54,6 +54,7 @@
|
||||
@@ -55,6 +55,7 @@
|
||||
#include "chrome/browser/ui/webui/ntp_tiles_internals_ui.h"
|
||||
#include "chrome/browser/ui/webui/omnibox/omnibox_ui.h"
|
||||
#include "chrome/browser/ui/webui/policy/policy_ui.h"
|
||||
|
@ -655,7 +655,7 @@ diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrom
|
|||
#include "chrome/browser/ui/webui/predictors/predictors_ui.h"
|
||||
#include "chrome/browser/ui/webui/segmentation_internals/segmentation_internals_ui.h"
|
||||
#include "chrome/browser/ui/webui/signin_internals_ui.h"
|
||||
@@ -741,6 +742,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
|
||||
@@ -763,6 +764,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
|
||||
return &NewWebUI<MemoryInternalsUI>;
|
||||
if (url.host_piece() == chrome::kChromeUINetExportHost)
|
||||
return &NewWebUI<NetExportUI>;
|
||||
|
@ -1126,7 +1126,7 @@ new file mode 100644
|
|||
diff --git a/chrome/common/webui_url_constants.cc b/chrome/common/webui_url_constants.cc
|
||||
--- a/chrome/common/webui_url_constants.cc
|
||||
+++ b/chrome/common/webui_url_constants.cc
|
||||
@@ -38,6 +38,8 @@ const char kChromeUICertificateViewerHost[] = "view-cert";
|
||||
@@ -39,6 +39,8 @@ const char kChromeUICertificateViewerHost[] = "view-cert";
|
||||
const char kChromeUICertificateViewerURL[] = "chrome://view-cert/";
|
||||
const char kChromeUIChromeSigninHost[] = "chrome-signin";
|
||||
const char kChromeUIChromeSigninURL[] = "chrome://chrome-signin/";
|
||||
|
@ -1135,7 +1135,7 @@ diff --git a/chrome/common/webui_url_constants.cc b/chrome/common/webui_url_cons
|
|||
const char kChromeUIChromeURLsHost[] = "chrome-urls";
|
||||
const char kChromeUIChromeURLsURL[] = "chrome://chrome-urls/";
|
||||
const char kChromeUIComponentsHost[] = "components";
|
||||
@@ -403,6 +405,7 @@ bool IsSystemWebUIHost(base::StringPiece host) {
|
||||
@@ -409,6 +411,7 @@ bool IsSystemWebUIHost(base::StringPiece host) {
|
||||
kChromeUIMobileSetupHost,
|
||||
kChromeUIMultiDeviceSetupHost,
|
||||
kChromeUINetworkHost,
|
||||
|
@ -1143,7 +1143,7 @@ diff --git a/chrome/common/webui_url_constants.cc b/chrome/common/webui_url_cons
|
|||
kChromeUIOobeHost,
|
||||
kChromeUIOSCreditsHost,
|
||||
kChromeUIOSSettingsHost,
|
||||
@@ -644,6 +647,7 @@ const char* const kChromeHostURLs[] = {
|
||||
@@ -651,6 +654,7 @@ const char* const kChromeHostURLs[] = {
|
||||
#if !BUILDFLAG(IS_ANDROID)
|
||||
#if !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
kChromeUIAppLauncherPageHost,
|
||||
|
@ -1154,7 +1154,7 @@ diff --git a/chrome/common/webui_url_constants.cc b/chrome/common/webui_url_cons
|
|||
diff --git a/chrome/common/webui_url_constants.h b/chrome/common/webui_url_constants.h
|
||||
--- a/chrome/common/webui_url_constants.h
|
||||
+++ b/chrome/common/webui_url_constants.h
|
||||
@@ -128,6 +128,8 @@ extern const char kChromeUIMemoryInternalsHost[];
|
||||
@@ -129,6 +129,8 @@ extern const char kChromeUIMemoryInternalsHost[];
|
||||
extern const char kChromeUINTPTilesInternalsHost[];
|
||||
extern const char kChromeUINaClHost[];
|
||||
extern const char kChromeUINetExportHost[];
|
||||
|
@ -1166,7 +1166,7 @@ diff --git a/chrome/common/webui_url_constants.h b/chrome/common/webui_url_const
|
|||
diff --git a/components/proxy_config/pref_proxy_config_tracker_impl.cc b/components/proxy_config/pref_proxy_config_tracker_impl.cc
|
||||
--- a/components/proxy_config/pref_proxy_config_tracker_impl.cc
|
||||
+++ b/components/proxy_config/pref_proxy_config_tracker_impl.cc
|
||||
@@ -380,6 +380,7 @@ bool PrefProxyConfigTrackerImpl::PrefConfigToNetConfig(
|
||||
@@ -381,6 +381,7 @@ bool PrefProxyConfigTrackerImpl::PrefConfigToNetConfig(
|
||||
if (proxy_dict.GetBypassList(&proxy_bypass)) {
|
||||
proxy_config.proxy_rules().bypass_rules.ParseFromString(proxy_bypass);
|
||||
}
|
||||
|
@ -1302,7 +1302,7 @@ diff --git a/components/proxy_config/proxy_config_dictionary.h b/components/prox
|
|||
diff --git a/components/proxy_config/proxy_policy_handler.cc b/components/proxy_config/proxy_policy_handler.cc
|
||||
--- a/components/proxy_config/proxy_policy_handler.cc
|
||||
+++ b/components/proxy_config/proxy_policy_handler.cc
|
||||
@@ -259,7 +259,7 @@ void ProxyPolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
|
||||
@@ -258,7 +258,7 @@ void ProxyPolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
|
||||
ProxyConfigDictionary::CreateFixedServers(
|
||||
server->GetString(), bypass_list && bypass_list->is_string()
|
||||
? bypass_list->GetString()
|
||||
|
|
|
@ -143,7 +143,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedAct
|
|||
import org.chromium.chrome.browser.IntentHandler.IntentHandlerDelegate;
|
||||
import org.chromium.chrome.browser.IntentHandler.TabOpenType;
|
||||
import org.chromium.chrome.browser.accessibility_tab_switcher.OverviewListLayout;
|
||||
@@ -1810,8 +1811,9 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -1826,8 +1827,9 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
Bundle savedInstanceState = getSavedInstanceState();
|
||||
|
||||
// We determine the model as soon as possible so every systems get initialized coherently.
|
||||
|
@ -166,7 +166,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
import org.chromium.chrome.browser.dependency_injection.ChromeActivityComponent;
|
||||
import org.chromium.chrome.browser.dependency_injection.ModuleFactoryOverrides;
|
||||
import org.chromium.chrome.browser.device.DeviceClassManager;
|
||||
@@ -1962,6 +1963,9 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -1963,6 +1964,9 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
throw new IllegalStateException(
|
||||
"Attempting to access TabCreator before initialization");
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/Chr
|
|||
import org.chromium.chrome.browser.compositor.bottombar.ephemeraltab.EphemeralTabCoordinator;
|
||||
import org.chromium.chrome.browser.contextmenu.ChromeContextMenuItem.Item;
|
||||
import org.chromium.chrome.browser.contextmenu.ContextMenuCoordinator.ListItemType;
|
||||
@@ -397,6 +398,9 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
@@ -409,6 +410,9 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
boolean hasSaveImage = false;
|
||||
mShowEphemeralTabNewLabel = null;
|
||||
|
||||
|
@ -222,7 +222,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/Chr
|
|||
List<Pair<Integer, ModelList>> groupedItems = new ArrayList<>();
|
||||
|
||||
if (mParams.isAnchor()) {
|
||||
@@ -415,6 +419,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
@@ -427,6 +431,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
linkGroup.add(createListItem(Item.OPEN_IN_NEW_TAB_IN_GROUP));
|
||||
}
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/Chr
|
|||
if (!mItemDelegate.isIncognito() && mItemDelegate.isIncognitoSupported()) {
|
||||
linkGroup.add(createListItem(Item.OPEN_IN_INCOGNITO_TAB));
|
||||
}
|
||||
@@ -439,7 +444,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
@@ -451,7 +456,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
|
||||
}
|
||||
}
|
||||
if (FirstRunStatus.getFirstRunFlowComplete()) {
|
||||
|
@ -338,7 +338,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/StartupTab
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -30,6 +30,11 @@ import org.chromium.chrome.browser.privacy_sandbox.PrivacySandboxSettingsFragmen
|
||||
@@ -31,6 +31,11 @@ import org.chromium.chrome.browser.privacy_sandbox.PrivacySandboxSettingsFragmen
|
||||
import org.chromium.chrome.browser.profiles.Profile;
|
||||
import org.chromium.chrome.browser.settings.ChromeManagedPreferenceDelegate;
|
||||
import org.chromium.chrome.browser.settings.SettingsLauncherImpl;
|
||||
|
@ -350,7 +350,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
import org.chromium.chrome.browser.signin.services.IdentityServicesProvider;
|
||||
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
|
||||
import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
|
||||
@@ -46,7 +51,12 @@ import org.chromium.ui.text.SpanApplier;
|
||||
@@ -47,7 +52,12 @@ import org.chromium.ui.text.SpanApplier;
|
||||
* Fragment to keep track of the all the privacy related preferences.
|
||||
*/
|
||||
public class PrivacySettings
|
||||
|
@ -364,7 +364,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
private static final String PREF_CAN_MAKE_PAYMENT = "can_make_payment";
|
||||
private static final String PREF_PRELOAD_PAGES = "preload_pages";
|
||||
private static final String PREF_HTTPS_FIRST_MODE = "https_first_mode";
|
||||
@@ -130,6 +140,11 @@ public class PrivacySettings
|
||||
@@ -137,6 +147,11 @@ public class PrivacySettings
|
||||
if (PREF_CAN_MAKE_PAYMENT.equals(key)) {
|
||||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.CAN_MAKE_PAYMENT_ENABLED, (boolean) newValue);
|
||||
|
@ -376,7 +376,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
} else if (PREF_HTTPS_FIRST_MODE.equals(key)) {
|
||||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.HTTPS_ONLY_MODE_ENABLED, (boolean) newValue);
|
||||
@@ -162,6 +177,25 @@ public class PrivacySettings
|
||||
@@ -169,6 +184,25 @@ public class PrivacySettings
|
||||
: R.string.text_off);
|
||||
}
|
||||
|
||||
|
@ -402,7 +402,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
Preference preloadPagesPreference = findPreference(PREF_PRELOAD_PAGES);
|
||||
if (preloadPagesPreference != null) {
|
||||
preloadPagesPreference.setSummary(
|
||||
@@ -220,4 +254,8 @@ public class PrivacySettings
|
||||
@@ -227,4 +261,8 @@ public class PrivacySettings
|
||||
public void setBottomSheetController(BottomSheetController controller) {
|
||||
mBottomSheetController = controller;
|
||||
}
|
||||
|
@ -414,7 +414,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/SettingsActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/SettingsActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/SettingsActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/SettingsActivity.java
|
||||
@@ -57,6 +57,7 @@ import org.chromium.chrome.browser.safety_check.SafetyCheckSettingsFragment;
|
||||
@@ -61,6 +61,7 @@ import org.chromium.chrome.browser.safety_check.SafetyCheckSettingsFragment;
|
||||
import org.chromium.chrome.browser.safety_check.SafetyCheckUpdatesDelegateImpl;
|
||||
import org.chromium.chrome.browser.search_engines.settings.SearchEngineSettings;
|
||||
import org.chromium.chrome.browser.site_settings.ChromeSiteSettingsDelegate;
|
||||
|
@ -422,7 +422,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/Settin
|
|||
import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager;
|
||||
import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager.SnackbarManageable;
|
||||
import org.chromium.components.browser_ui.accessibility.AccessibilitySettings;
|
||||
@@ -250,6 +251,9 @@ public class SettingsActivity extends ChromeBaseAppCompatActivity
|
||||
@@ -254,6 +255,9 @@ public class SettingsActivity extends ChromeBaseAppCompatActivity
|
||||
if (fragment instanceof AdPersonalizationRemovedFragment) {
|
||||
((AdPersonalizationRemovedFragment) fragment).setSnackbarManager(getSnackbarManager());
|
||||
}
|
||||
|
@ -435,7 +435,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/Settin
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
@@ -123,6 +123,8 @@ import org.chromium.ui.base.DeviceFormFactor;
|
||||
@@ -122,6 +122,8 @@ import org.chromium.ui.base.DeviceFormFactor;
|
||||
import org.chromium.ui.base.IntentRequestTracker;
|
||||
import org.chromium.ui.modaldialog.ModalDialogManager;
|
||||
import org.chromium.ui.util.TokenHolder;
|
||||
|
@ -444,7 +444,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/Tab
|
|||
|
||||
/**
|
||||
* A {@link RootUiCoordinator} variant that controls tabbed-mode specific UI.
|
||||
@@ -496,11 +498,12 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@@ -495,11 +497,12 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
|
||||
// TODO(twellington): Supply TabModelSelector as well and move initialization earlier.
|
||||
if (DeviceFormFactor.isNonMultiDisplayContextOnTablet(mActivity)) {
|
||||
|
@ -582,7 +582,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappI
|
|||
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
@@ -302,6 +302,13 @@ signin::IdentityManager* ChromeAutocompleteProviderClient::GetIdentityManager()
|
||||
@@ -301,6 +301,13 @@ signin::IdentityManager* ChromeAutocompleteProviderClient::GetIdentityManager()
|
||||
return IdentityManagerFactory::GetForProfile(profile_);
|
||||
}
|
||||
|
||||
|
@ -651,7 +651,7 @@ diff --git a/chrome/browser/content_settings/host_content_settings_map_factory.c
|
|||
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
@@ -479,7 +479,7 @@ const base::Feature kCCTIncognito{"CCTIncognito",
|
||||
@@ -483,7 +483,7 @@ const base::Feature kCCTIncognito{"CCTIncognito",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kCCTIncognitoAvailableToThirdParty{
|
||||
|
@ -663,23 +663,23 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
|
||||
--- a/chrome/browser/prefs/browser_prefs.cc
|
||||
+++ b/chrome/browser/prefs/browser_prefs.cc
|
||||
@@ -1335,6 +1335,9 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
|
||||
variations::VariationsService::RegisterProfilePrefs(registry);
|
||||
video_tutorials::RegisterPrefs(registry);
|
||||
@@ -1313,6 +1313,9 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
|
||||
|
||||
#if BUILDFLAG(ENABLE_FEED_V2)
|
||||
feed::prefs::RegisterFeedSharedProfilePrefs(registry);
|
||||
+ // register incognito pref
|
||||
+ registry->RegisterBooleanPref(prefs::kAlwaysIncognitoEnabled,
|
||||
+ /*default_value=*/false);
|
||||
feed::RegisterProfilePrefs(registry);
|
||||
#else // BUILDFLAG(IS_ANDROID)
|
||||
AppShortcutManager::RegisterProfilePrefs(registry);
|
||||
#endif
|
||||
|
||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -1110,6 +1110,19 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
<message name="IDS_CLEAR_BROWSING_HISTORY_SUMMARY_SYNCED_NO_LINK" desc="A text for the basic tab explaining browsing history for users with history sync. This version is shown when the link to MyActivity is displayed separately.">
|
||||
Clears history from all synced devices.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_SEARCH_HISTORY_LINK" desc="Text informing the user that they can clear search history and other data using MyActivity.">
|
||||
+ <!-- always incognito -->
|
||||
+ <message name="IDS_ALWAYS_INCOGNITO_TITLE" desc="Title for always incognito mode">
|
||||
+ Open links in incognito tabs always
|
||||
|
@ -693,9 +693,9 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
+ <message name="IDS_UI_RELAUNCH_NOTICE" desc="Summary for always incognito mode">
|
||||
+ Your changes will take effect the next time you relaunch Bromite.
|
||||
+ </message>
|
||||
<message name="IDS_CLEAR_BROWSING_HISTORY_SUMMARY_SIGNED_IN" desc="A text explaining other forms of activity for signed in users.">
|
||||
Clears history and autocompletions in the address bar. Your Google Account may have other forms of browsing history at <ph name="BEGIN_LINK"><link></ph>myactivity.google.com<ph name="END_LINK"></link></ph>.
|
||||
<ph name="BEGIN_LINK1"><link1></ph>Search history<ph name="END_LINK1"></link1></ph> and <ph name="BEGIN_LINK2"><link2></ph>other forms of activity<ph name="END_LINK2"></link2></ph> may be saved in your Google Account when you’re signed in. You can delete them anytime.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_SEARCH_HISTORY_LINK_OTHER_FORMS" desc="Text informing the user that they can clear their Google data using MyActivity when their Default Search Engine is not Google.">
|
||||
diff --git a/chrome/browser/ui/messages/android/BUILD.gn b/chrome/browser/ui/messages/android/BUILD.gn
|
||||
--- a/chrome/browser/ui/messages/android/BUILD.gn
|
||||
+++ b/chrome/browser/ui/messages/android/BUILD.gn
|
||||
|
@ -742,7 +742,7 @@ new file mode 100644
|
|||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
||||
--- a/chrome/common/pref_names.cc
|
||||
+++ b/chrome/common/pref_names.cc
|
||||
@@ -3284,6 +3284,10 @@ const char kShowCaretBrowsingDialog[] =
|
||||
@@ -3281,6 +3281,10 @@ const char kShowCaretBrowsingDialog[] =
|
||||
const char kLacrosLaunchSwitch[] = "lacros_launch_switch";
|
||||
#endif
|
||||
|
||||
|
@ -756,7 +756,7 @@ diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
|||
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
|
||||
--- a/chrome/common/pref_names.h
|
||||
+++ b/chrome/common/pref_names.h
|
||||
@@ -1166,6 +1166,7 @@ extern const char kDiscountConsentShowInterestIn[];
|
||||
@@ -1167,6 +1167,7 @@ extern const char kDiscountConsentShowInterestIn[];
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
extern const char kWebXRImmersiveArEnabled[];
|
||||
|
|
|
@ -46,6 +46,7 @@ Need: Adds-support-for-writing-URIs.patch
|
|||
35 files changed, 846 insertions(+), 29 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
|
||||
index cb3940e9fdbc..cc0ff9a4427e 100644
|
||||
--- a/chrome/android/java/AndroidManifest.xml
|
||||
+++ b/chrome/android/java/AndroidManifest.xml
|
||||
@@ -59,7 +59,6 @@ by a child template that "extends" this file.
|
||||
|
@ -57,6 +58,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<uses-permission-sdk-23 android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
|
||||
|
||||
diff --git a/chrome/android/java/res/menu/bookmark_action_bar_menu.xml b/chrome/android/java/res/menu/bookmark_action_bar_menu.xml
|
||||
index fe31b06a4066..7018cc3832d5 100644
|
||||
--- a/chrome/android/java/res/menu/bookmark_action_bar_menu.xml
|
||||
+++ b/chrome/android/java/res/menu/bookmark_action_bar_menu.xml
|
||||
@@ -21,6 +21,20 @@
|
||||
|
@ -81,6 +83,7 @@ diff --git a/chrome/android/java/res/menu/bookmark_action_bar_menu.xml b/chrome/
|
|||
android:id="@+id/close_menu_id"
|
||||
android:icon="@drawable/btn_close"
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabbedModeTabDelegateFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/TabbedModeTabDelegateFactory.java
|
||||
index 34e1ea0b7f4e..b325a22dc991 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/TabbedModeTabDelegateFactory.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/TabbedModeTabDelegateFactory.java
|
||||
@@ -9,6 +9,7 @@ import android.app.Activity;
|
||||
|
@ -110,6 +113,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabbedModeTabDe
|
|||
Supplier<ShareDelegate> shareDelegateSupplier,
|
||||
Supplier<EphemeralTabCoordinator> ephemeralTabCoordinatorSupplier,
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActionBar.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActionBar.java
|
||||
index 7412777d2f3e..608ba21c3d76 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActionBar.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActionBar.java
|
||||
@@ -86,6 +86,12 @@ public class BookmarkActionBar extends SelectableListToolbar<BookmarkId>
|
||||
|
@ -153,6 +157,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
getMenu().findItem(R.id.edit_menu_id).setVisible(mCurrentFolder.isEditable());
|
||||
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActivity.java
|
||||
index 4b1e8adce0c2..37b672f41f2d 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkActivity.java
|
||||
@@ -16,6 +16,11 @@ import org.chromium.chrome.browser.IntentHandler;
|
||||
|
@ -223,6 +228,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
* @return The {@link BookmarkManager} for testing purposes.
|
||||
*/
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkBridge.java
|
||||
index b30c291c3fe9..30739d398bed 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkBridge.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkBridge.java
|
||||
@@ -4,7 +4,20 @@
|
||||
|
@ -540,6 +546,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
long nativeBookmarkBridge, BookmarkBridge caller, long id, int type, int index);
|
||||
int getTotalBookmarkCount(
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkDelegate.java
|
||||
index b6c838a54e5a..080567c2efda 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkDelegate.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkDelegate.java
|
||||
@@ -67,6 +67,16 @@ interface BookmarkDelegate {
|
||||
|
@ -560,6 +567,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
* Dismisses the search UI.
|
||||
*/
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManager.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManager.java
|
||||
index 2194b041d50f..11eb37e885eb 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManager.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManager.java
|
||||
@@ -35,6 +35,8 @@ import org.chromium.components.browser_ui.util.ConversionUtils;
|
||||
|
@ -613,6 +621,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
public void openSearchUI() {
|
||||
setState(BookmarkUIState.createSearchState());
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkPage.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkPage.java
|
||||
index 030c546da9b3..ccb1e0e05c4a 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkPage.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkPage.java
|
||||
@@ -13,6 +13,9 @@ import org.chromium.chrome.browser.ui.messages.snackbar.SnackbarManager;
|
||||
|
@ -643,6 +652,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/Bookm
|
|||
|
||||
initWithView(mManager.getView());
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
index 153e51705b9a..3dec9ed3099d 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
@@ -15,6 +15,7 @@ import org.chromium.base.jank_tracker.JankTracker;
|
||||
|
@ -699,9 +709,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/native_page/Nat
|
|||
|
||||
protected NativePage buildDownloadsPage(Tab tab) {
|
||||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
index 33928b6b1e9d..94e86c3c7e4c 100644
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -1815,6 +1815,13 @@ static_library("browser") {
|
||||
@@ -1835,6 +1835,13 @@ static_library("browser") {
|
||||
"webid/federated_identity_sharing_permission_context_factory.h",
|
||||
]
|
||||
|
||||
|
@ -715,7 +726,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
configs += [
|
||||
"//build/config/compiler:wexit_time_destructors",
|
||||
"//build/config:precompiled_headers",
|
||||
@@ -2986,6 +2993,8 @@ static_library("browser") {
|
||||
@@ -2984,6 +2991,8 @@ static_library("browser") {
|
||||
"autofill/manual_filling_view_interface.h",
|
||||
"banners/android/chrome_app_banner_manager_android.cc",
|
||||
"banners/android/chrome_app_banner_manager_android.h",
|
||||
|
@ -724,7 +735,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"browser_process_platform_part_android.cc",
|
||||
"browser_process_platform_part_android.h",
|
||||
"chrome_browser_field_trials_mobile.cc",
|
||||
@@ -3599,8 +3608,6 @@ static_library("browser") {
|
||||
@@ -3595,8 +3604,6 @@ static_library("browser") {
|
||||
"badging/badge_manager_factory.h",
|
||||
"banners/app_banner_manager_desktop.cc",
|
||||
"banners/app_banner_manager_desktop.h",
|
||||
|
@ -734,9 +745,10 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"cart/cart_db.h",
|
||||
"cart/cart_discount_fetcher.cc",
|
||||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
index 2902a4904e15..8a71ee8c2dd2 100644
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -7994,6 +7994,12 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -8213,6 +8213,12 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
FEATURE_VALUE_TYPE(features::kRequestDesktopSiteExceptions)},
|
||||
#endif
|
||||
|
||||
|
@ -750,6 +762,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
{"snooping-protection", flag_descriptions::kSnoopingProtectionName,
|
||||
flag_descriptions::kSnoopingProtectionDescription, kOsCrOS,
|
||||
diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.cc b/chrome/browser/android/bookmarks/bookmark_bridge.cc
|
||||
index d0a025b706a1..79664027a5cc 100644
|
||||
--- a/chrome/browser/android/bookmarks/bookmark_bridge.cc
|
||||
+++ b/chrome/browser/android/bookmarks/bookmark_bridge.cc
|
||||
@@ -56,6 +56,25 @@
|
||||
|
@ -1066,6 +1079,7 @@ diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.cc b/chrome/browse
|
|||
const JavaParamRef<jobject>& obj,
|
||||
jlong id,
|
||||
diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.h b/chrome/browser/android/bookmarks/bookmark_bridge.h
|
||||
index 863deb367453..2eb48bb08c3f 100644
|
||||
--- a/chrome/browser/android/bookmarks/bookmark_bridge.h
|
||||
+++ b/chrome/browser/android/bookmarks/bookmark_bridge.h
|
||||
@@ -18,6 +18,7 @@
|
||||
|
@ -1154,6 +1168,7 @@ diff --git a/chrome/browser/android/bookmarks/bookmark_bridge.h b/chrome/browser
|
|||
OptimizationGuideKeyedService* opt_guide_;
|
||||
|
||||
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc
|
||||
index 2cb28e626ec3..1ff7f356c008 100644
|
||||
--- a/chrome/browser/bookmarks/bookmark_html_writer.cc
|
||||
+++ b/chrome/browser/bookmarks/bookmark_html_writer.cc
|
||||
@@ -27,6 +27,7 @@
|
||||
|
@ -1179,6 +1194,7 @@ diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/b
|
|||
PLOG(ERROR) << "Could not create " << path_;
|
||||
return false;
|
||||
diff --git a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationCustomView.java b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationCustomView.java
|
||||
index 8abf7ed59880..7a52e34d2d07 100644
|
||||
--- a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationCustomView.java
|
||||
+++ b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationCustomView.java
|
||||
@@ -49,7 +49,7 @@ public class DownloadLocationCustomView
|
||||
|
@ -1218,6 +1234,7 @@ diff --git a/chrome/browser/download/android/java/src/org/chromium/chrome/browse
|
|||
DirectoryOption selected = (DirectoryOption) mFileLocation.getSelectedItem();
|
||||
return selected;
|
||||
diff --git a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
||||
index 95d2545cfbd4..e5e356929551 100644
|
||||
--- a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
||||
+++ b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
||||
@@ -37,12 +37,12 @@ import java.util.ArrayList;
|
||||
|
@ -1246,9 +1263,10 @@ diff --git a/chrome/browser/download/android/java/src/org/chromium/chrome/browse
|
|||
if (mDialogModel != null) return;
|
||||
|
||||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
index 0f9153ec20c1..c8f618d29fa8 100644
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -5717,6 +5717,11 @@ const char kWebKioskEnableLacrosDescription[] =
|
||||
@@ -5897,6 +5897,11 @@ const char kWebKioskEnableLacrosDescription[] =
|
||||
"Chrome OS. When disabled, the Ash-chrome will be used";
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
|
||||
|
@ -1261,9 +1279,10 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
// Don't just add flags to the end, put them in the right section in
|
||||
// alphabetical order just like the header file.
|
||||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
index 3753a5909b1d..440ef9127eba 100644
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -3325,6 +3325,9 @@ extern const char kWebKioskEnableLacrosName[];
|
||||
@@ -3423,6 +3423,9 @@ extern const char kWebKioskEnableLacrosName[];
|
||||
extern const char kWebKioskEnableLacrosDescription[];
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
|
||||
|
@ -1274,9 +1293,10 @@ diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptio
|
|||
// Don't just add flags to the end, put them in the right section in
|
||||
// alphabetical order. See top instructions for more.
|
||||
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
index 4ede5ccfd1d9..c0141b2cbac0 100644
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
@@ -171,6 +171,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
@@ -174,6 +174,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
&kAppToWebAttribution,
|
||||
&kBackgroundThreadPool,
|
||||
&kBookmarkBottomSheet,
|
||||
|
@ -1296,6 +1316,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
JNIEnv* env,
|
||||
const JavaParamRef<jstring>& jfeature_name) {
|
||||
diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
index 72b17bb0ef22..45c599e11982 100644
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.h
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
@@ -160,6 +160,7 @@ extern const base::Feature kToolbarMicIphAndroid;
|
||||
|
@ -1307,6 +1328,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser
|
|||
extern const base::Feature kTrustedWebActivityQualityEnforcement;
|
||||
extern const base::Feature kTrustedWebActivityQualityEnforcementForced;
|
||||
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
index 4828060c2fad..610b2482d696 100644
|
||||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
@@ -563,6 +563,7 @@ public abstract class ChromeFeatureList {
|
||||
|
@ -1318,6 +1340,7 @@ diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/f
|
|||
@NativeMethods
|
||||
interface Natives {
|
||||
diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc
|
||||
index 1decd66e026f..b5f58501908d 100644
|
||||
--- a/chrome/browser/importer/profile_writer.cc
|
||||
+++ b/chrome/browser/importer/profile_writer.cc
|
||||
@@ -105,12 +105,14 @@ void ProfileWriter::AddHistoryPage(const history::URLRows& page,
|
||||
|
@ -1353,6 +1376,7 @@ diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer
|
|||
|
||||
// If the bookmark bar is currently empty, we should import directly to it.
|
||||
diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/profile_writer.h
|
||||
index eae61642e220..c819ed8db5e6 100644
|
||||
--- a/chrome/browser/importer/profile_writer.h
|
||||
+++ b/chrome/browser/importer/profile_writer.h
|
||||
@@ -11,6 +11,7 @@
|
||||
|
@ -1376,6 +1400,7 @@ diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/
|
|||
|
||||
// Adds the TemplateURLs in |template_urls| to the local store.
|
||||
diff --git a/chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceKeys.java b/chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceKeys.java
|
||||
index d8aec5075dd6..8c5ac883115e 100644
|
||||
--- a/chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceKeys.java
|
||||
+++ b/chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceKeys.java
|
||||
@@ -103,6 +103,8 @@ public final class ChromePreferenceKeys {
|
||||
|
@ -1387,7 +1412,7 @@ diff --git a/chrome/browser/preferences/android/java/src/org/chromium/chrome/bro
|
|||
|
||||
/**
|
||||
* Whether Chrome is set as the default browser.
|
||||
@@ -1015,6 +1017,7 @@ public final class ChromePreferenceKeys {
|
||||
@@ -1020,6 +1022,7 @@ public final class ChromePreferenceKeys {
|
||||
ATTRIBUTION_PROVIDER_LAST_BROWSER_START,
|
||||
APP_LAUNCH_LAST_KNOWN_ACTIVE_TAB_STATE,
|
||||
APP_LAUNCH_SEARCH_ENGINE_HAD_LOGO,
|
||||
|
@ -1396,6 +1421,7 @@ diff --git a/chrome/browser/preferences/android/java/src/org/chromium/chrome/bro
|
|||
CHROME_SURVEY_DOWNLOAD_ATTEMPTS.pattern(),
|
||||
CHROME_SURVEY_PROMPT_DISPLAYED_TIMESTAMP.pattern(),
|
||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
index 32edc39f4cfd..dcc5f5ba44d3 100644
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -242,6 +242,24 @@ CHAR_LIMIT guidelines:
|
||||
|
@ -1424,9 +1450,10 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
Virtual Reality
|
||||
</message>
|
||||
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
|
||||
index 4a50fdd3dc65..9a9ec468103a 100644
|
||||
--- a/chrome/common/BUILD.gn
|
||||
+++ b/chrome/common/BUILD.gn
|
||||
@@ -383,6 +383,9 @@ static_library("common") {
|
||||
@@ -382,6 +382,9 @@ static_library("common") {
|
||||
sources += [
|
||||
"media/chrome_media_drm_bridge_client.cc",
|
||||
"media/chrome_media_drm_bridge_client.h",
|
||||
|
@ -1437,6 +1464,7 @@ diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
|
|||
} else {
|
||||
# Non-Android.
|
||||
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
|
||||
index 4f11cdb016fd..288adce0fc83 100644
|
||||
--- a/chrome/utility/BUILD.gn
|
||||
+++ b/chrome/utility/BUILD.gn
|
||||
@@ -78,8 +78,6 @@ static_library("utility") {
|
||||
|
@ -1461,9 +1489,10 @@ diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
|
|||
sources += [
|
||||
"importer/nss_decryptor_system_nss.cc",
|
||||
diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/importer/bookmark_html_reader.cc
|
||||
index 276c09a414a7..713e0e1b2471 100644
|
||||
--- a/chrome/utility/importer/bookmark_html_reader.cc
|
||||
+++ b/chrome/utility/importer/bookmark_html_reader.cc
|
||||
@@ -17,7 +17,9 @@
|
||||
@@ -16,7 +16,9 @@
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/time/time.h"
|
||||
#include "chrome/common/importer/imported_bookmark_entry.h"
|
||||
|
@ -1473,7 +1502,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
#include "components/search_engines/search_terms_data.h"
|
||||
#include "components/search_engines/template_url.h"
|
||||
#include "net/base/data_url.h"
|
||||
@@ -56,6 +58,7 @@ bool GetAttribute(const std::string& attribute_list,
|
||||
@@ -55,6 +57,7 @@ bool GetAttribute(const std::string& attribute_list,
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1481,7 +1510,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
// Given the URL of a page and a favicon data URL, adds an appropriate record
|
||||
// to the given favicon usage vector.
|
||||
void DataURLToFaviconUsage(const GURL& link_url,
|
||||
@@ -86,6 +89,7 @@ void DataURLToFaviconUsage(const GURL& link_url,
|
||||
@@ -85,6 +88,7 @@ void DataURLToFaviconUsage(const GURL& link_url,
|
||||
|
||||
favicons->push_back(usage);
|
||||
}
|
||||
|
@ -1489,7 +1518,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
|
||||
} // namespace
|
||||
|
||||
@@ -106,14 +110,28 @@ static std::string stripDt(const std::string& lineDt) {
|
||||
@@ -105,14 +109,28 @@ static std::string stripDt(const std::string& lineDt) {
|
||||
}
|
||||
|
||||
void ImportBookmarksFile(
|
||||
|
@ -1521,7 +1550,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
std::vector<std::string> lines = base::SplitString(
|
||||
content, "\n", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
||||
|
||||
@@ -126,6 +144,7 @@ void ImportBookmarksFile(
|
||||
@@ -125,6 +143,7 @@ void ImportBookmarksFile(
|
||||
std::vector<std::u16string> path;
|
||||
size_t toolbar_folder_index = 0;
|
||||
std::string charset = "UTF-8"; // If no charset is specified, assume utf-8.
|
||||
|
@ -1529,7 +1558,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
for (size_t i = 0;
|
||||
i < lines.size() &&
|
||||
(cancellation_callback.is_null() || !cancellation_callback.Run());
|
||||
@@ -218,10 +237,12 @@ void ImportBookmarksFile(
|
||||
@@ -217,10 +236,12 @@ void ImportBookmarksFile(
|
||||
}
|
||||
bookmarks->push_back(entry);
|
||||
|
||||
|
@ -1543,6 +1572,7 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.cc b/chrome/utility/im
|
|||
continue;
|
||||
}
|
||||
diff --git a/chrome/utility/importer/bookmark_html_reader.h b/chrome/utility/importer/bookmark_html_reader.h
|
||||
index f45103c9f9b4..daaeb8b3a137 100644
|
||||
--- a/chrome/utility/importer/bookmark_html_reader.h
|
||||
+++ b/chrome/utility/importer/bookmark_html_reader.h
|
||||
@@ -50,6 +50,14 @@ void ImportBookmarksFile(
|
||||
|
@ -1561,17 +1591,18 @@ diff --git a/chrome/utility/importer/bookmark_html_reader.h b/chrome/utility/imp
|
|||
// has replacement terms. Chrome treats such bookmarks as search engines rather
|
||||
// than true bookmarks.
|
||||
diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
|
||||
index 69cc78c48d1d..c6e6c4acbfa9 100644
|
||||
--- a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
|
||||
+++ b/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
|
||||
@@ -38,6 +38,7 @@ import org.chromium.base.task.AsyncTask;
|
||||
@@ -39,6 +39,7 @@ import org.chromium.base.task.AsyncTask;
|
||||
import org.chromium.base.task.PostTask;
|
||||
import org.chromium.base.task.TaskTraits;
|
||||
import org.chromium.ui.R;
|
||||
+import org.chromium.ui.widget.Toast;
|
||||
import org.chromium.ui.UiUtils;
|
||||
import org.chromium.ui.permissions.PermissionConstants;
|
||||
|
||||
import java.io.File;
|
||||
@@ -56,6 +57,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
@@ -58,6 +59,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
private static final String TAG = "SelectFileDialog";
|
||||
private static final String IMAGE_TYPE = "image";
|
||||
private static final String VIDEO_TYPE = "video";
|
||||
|
@ -1579,7 +1610,7 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui
|
|||
private static final String AUDIO_TYPE = "audio";
|
||||
private static final String ALL_TYPES = "*/*";
|
||||
|
||||
@@ -239,6 +241,11 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
@@ -241,6 +243,11 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
mFileTypes = fileTypes;
|
||||
}
|
||||
|
||||
|
@ -1591,16 +1622,16 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui
|
|||
/**
|
||||
* Creates and starts an intent based on the passed fileTypes and capture value.
|
||||
* @param fileTypes MIME types requested (i.e. "image/*")
|
||||
@@ -265,7 +272,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
@@ -267,7 +274,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
List<String> missingPermissions = new ArrayList<>();
|
||||
String storagePermission = Manifest.permission.READ_EXTERNAL_STORAGE;
|
||||
boolean shouldUsePhotoPicker = shouldUsePhotoPicker();
|
||||
- if (shouldUsePhotoPicker) {
|
||||
+ if (shouldUsePhotoPicker || shouldShowHtmlTypes()) {
|
||||
if (!window.hasPermission(storagePermission)) missingPermissions.add(storagePermission);
|
||||
} else {
|
||||
if (((mSupportsImageCapture && shouldShowImageTypes())
|
||||
@@ -293,7 +300,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
if (BuildInfo.targetsAtLeastT()) {
|
||||
if (!window.hasPermission(PermissionConstants.READ_MEDIA_IMAGES)
|
||||
&& shouldShowImageTypes()) {
|
||||
@@ -308,7 +315,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
}
|
||||
|
||||
// TODO(finnur): Remove once we figure out the cause of crbug.com/950024.
|
||||
|
@ -1609,16 +1640,16 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui
|
|||
if (permissions.length != requestPermissions.length) {
|
||||
throw new RuntimeException(
|
||||
String.format("Permissions arrays misaligned: %d != %d",
|
||||
@@ -307,7 +314,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
@@ -322,7 +329,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
}
|
||||
}
|
||||
|
||||
- if (shouldUsePhotoPicker && permissions[i].equals(storagePermission)) {
|
||||
+ if ((shouldUsePhotoPicker || shouldShowHtmlTypes()) && permissions[i].equals(storagePermission)) {
|
||||
onFileNotSelected();
|
||||
return;
|
||||
}
|
||||
@@ -503,6 +510,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
- if (shouldUsePhotoPicker) {
|
||||
+ if (shouldUsePhotoPicker || shouldShowHtmlTypes()) {
|
||||
if (permissions[i].equals(storagePermission)
|
||||
|| permissions[i].equals(PermissionConstants.READ_MEDIA_IMAGES)
|
||||
|| permissions[i].equals(
|
||||
@@ -523,6 +530,7 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
}
|
||||
if (!mimeTypes.contains(mimeType)) mimeTypes.add(mimeType);
|
||||
}
|
||||
|
@ -1626,7 +1657,7 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui
|
|||
return mimeTypes;
|
||||
}
|
||||
|
||||
@@ -808,6 +816,10 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
@@ -828,6 +836,10 @@ public class SelectFileDialog implements WindowAndroid.IntentCallback, PhotoPick
|
||||
return countAcceptTypesFor(superType) == mFileTypes.size();
|
||||
}
|
||||
|
||||
|
@ -1638,9 +1669,10 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui
|
|||
* Checks whether the list of accepted types effectively describes only a single
|
||||
* type, which might be wildcard. For example:
|
||||
diff --git a/ui/android/java/strings/android_ui_strings.grd b/ui/android/java/strings/android_ui_strings.grd
|
||||
index 5249279e8c46..6150e2dd5a6c 100644
|
||||
--- a/ui/android/java/strings/android_ui_strings.grd
|
||||
+++ b/ui/android/java/strings/android_ui_strings.grd
|
||||
@@ -174,6 +174,9 @@
|
||||
@@ -177,6 +177,9 @@
|
||||
<message name="IDS_OPENING_FILE_ERROR" desc="Toast when the browser is unable to open a file for upload. [CHAR_LIMIT=32]">
|
||||
Failed to open selected file
|
||||
</message>
|
||||
|
@ -1651,6 +1683,7 @@ diff --git a/ui/android/java/strings/android_ui_strings.grd b/ui/android/java/st
|
|||
<!-- Clipboard -->
|
||||
<message name="IDS_COPY_TO_CLIPBOARD_FAILURE_MESSAGE" desc="Notification for when copying to the clipboard fails. [CHAR_LIMIT=64]">
|
||||
diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_file_dialog.h
|
||||
index 8a417fc43a7e..cf634ed90849 100644
|
||||
--- a/ui/shell_dialogs/select_file_dialog.h
|
||||
+++ b/ui/shell_dialogs/select_file_dialog.h
|
||||
@@ -205,6 +205,8 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
|
||||
|
@ -1663,6 +1696,7 @@ diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_fil
|
|||
friend class base::RefCountedThreadSafe<SelectFileDialog>;
|
||||
|
||||
diff --git a/ui/shell_dialogs/select_file_dialog_android.cc b/ui/shell_dialogs/select_file_dialog_android.cc
|
||||
index 2388447d65d5..4b59e5321b73 100644
|
||||
--- a/ui/shell_dialogs/select_file_dialog_android.cc
|
||||
+++ b/ui/shell_dialogs/select_file_dialog_android.cc
|
||||
@@ -140,6 +140,12 @@ void SelectFileDialogImpl::SelectFileImpl(
|
||||
|
@ -1679,6 +1713,7 @@ diff --git a/ui/shell_dialogs/select_file_dialog_android.cc b/ui/shell_dialogs/s
|
|||
}
|
||||
|
||||
diff --git a/ui/shell_dialogs/select_file_dialog_android.h b/ui/shell_dialogs/select_file_dialog_android.h
|
||||
index 32499c59eec0..552ee7cfb73f 100644
|
||||
--- a/ui/shell_dialogs/select_file_dialog_android.h
|
||||
+++ b/ui/shell_dialogs/select_file_dialog_android.h
|
||||
@@ -57,6 +57,8 @@ class SelectFileDialogImpl : public SelectFileDialog {
|
||||
|
@ -1690,5 +1725,6 @@ diff --git a/ui/shell_dialogs/select_file_dialog_android.h b/ui/shell_dialogs/se
|
|||
protected:
|
||||
~SelectFileDialogImpl() override;
|
||||
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/Inco
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -93,6 +93,9 @@ public class PrivacySettings
|
||||
@@ -94,6 +94,9 @@ public class PrivacySettings
|
||||
private ViewGroup mDialogContainer;
|
||||
private BottomSheetController mBottomSheetController;
|
||||
|
||||
|
@ -133,7 +133,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
@Override
|
||||
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
|
||||
PrivacyPreferencesManagerImpl privacyPrefManager =
|
||||
@@ -163,6 +166,9 @@ public class PrivacySettings
|
||||
@@ -170,6 +173,9 @@ public class PrivacySettings
|
||||
updatePreferences();
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||
String key = preference.getKey();
|
||||
@@ -181,6 +187,14 @@ public class PrivacySettings
|
||||
@@ -188,6 +194,14 @@ public class PrivacySettings
|
||||
if (!mSnackbarManager.isShowing()) {
|
||||
mSnackbarManager.showSnackbar(mSnackbar);
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
} else if (PREF_HTTPS_FIRST_MODE.equals(key)) {
|
||||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.HTTPS_ONLY_MODE_ENABLED, (boolean) newValue);
|
||||
@@ -211,6 +225,16 @@ public class PrivacySettings
|
||||
@@ -218,6 +232,16 @@ public class PrivacySettings
|
||||
canMakePaymentPref.setChecked(prefService.getBoolean(Pref.CAN_MAKE_PAYMENT_ENABLED));
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ diff --git a/chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TabAsso
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -4617,6 +4617,21 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
@@ -4604,6 +4604,21 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
<message name="IDS_NEAR_OOM_REDUCTION_DECLINE" desc="The text of the button letting the user decline the browser's intervention, so that the page can be reloaded.">
|
||||
Show original
|
||||
</message>
|
||||
|
|
|
@ -66,15 +66,15 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedAct
|
|||
/**
|
||||
* This is the main activity for ChromeMobile when not running in document mode. All the tabs
|
||||
* are accessible via a chrome specific tab switching UI.
|
||||
@@ -2094,6 +2096,8 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -2110,6 +2112,8 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
} else if (id == R.id.close_tab) {
|
||||
getCurrentTabModel().closeTab(currentTab, true, false, true);
|
||||
RecordUserAction.record("MobileTabClosed");
|
||||
+ } else if (id == R.id.exit_id) {
|
||||
+ ApplicationLifetime.terminate(false);
|
||||
} else if (id == R.id.close_all_tabs_menu_id) {
|
||||
if (ChromeFeatureList.isEnabled(ChromeFeatureList.CLOSE_ALL_TABS_MODAL_DIALOG)) {
|
||||
CloseAllTabsDialog.show(this, getModalDialogManagerSupplier(),
|
||||
// Close both incognito and normal tabs.
|
||||
CloseAllTabsDialog.show(this, getModalDialogManagerSupplier(),
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
|
@ -86,7 +86,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
import org.chromium.chrome.browser.ChromeActivitySessionTracker;
|
||||
import org.chromium.chrome.browser.ChromeApplicationImpl;
|
||||
import org.chromium.chrome.browser.ChromeKeyboardVisibilityDelegate;
|
||||
@@ -2396,6 +2397,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2397,6 +2398,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -117,7 +117,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeLife
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -3344,6 +3344,9 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
@@ -3331,6 +3331,9 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
<message name="IDS_MENU_AUTO_DARK_WEB_CONTENTS" desc="Menu item in Chrome's overflow/options menu. When Chrome's browser UI is set to dark theme and this option is checked, sites will have a dark theme automatically applied as well. [CHAR_LIMIT=24]">
|
||||
Dark theme
|
||||
</message>
|
||||
|
|
|
@ -19,7 +19,7 @@ with limited CPU/memory resources and it is disabled by default.
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -857,6 +857,11 @@ const FeatureEntry::Choice kForceEffectiveConnectionTypeChoices[] = {
|
||||
@@ -884,6 +884,11 @@ const FeatureEntry::Choice kForceEffectiveConnectionTypeChoices[] = {
|
||||
net::kEffectiveConnectionType4G},
|
||||
};
|
||||
|
||||
|
@ -31,7 +31,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
// Ensure that all effective connection types returned by Network Quality
|
||||
// Estimator (NQE) are also exposed via flags.
|
||||
static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
|
||||
@@ -4184,6 +4189,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -4290,6 +4295,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kAndroidPictureInPictureAPIName,
|
||||
flag_descriptions::kAndroidPictureInPictureAPIDescription, kOsAndroid,
|
||||
FEATURE_VALUE_TYPE(media::kPictureInPictureAPI)},
|
||||
|
@ -44,9 +44,9 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -1635,6 +1635,10 @@ const char kLogJsConsoleMessagesDescription[] =
|
||||
"Enable logging JS console messages in system logs, please note that they "
|
||||
"may contain PII.";
|
||||
@@ -1661,6 +1661,10 @@ const char kUnthrottledNestedTimeoutDescription[] =
|
||||
"websites abusing the API will still eventually have their setTimeouts "
|
||||
"clamped.";
|
||||
|
||||
+const char kMaxConnectionsPerHostName[] = "Maximum connections per host";
|
||||
+const char kMaxConnectionsPerHostDescription[] =
|
||||
|
@ -58,9 +58,9 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -934,6 +934,9 @@ extern const char kLensCameraAssistedSearchDescription[];
|
||||
extern const char kLogJsConsoleMessagesName[];
|
||||
extern const char kLogJsConsoleMessagesDescription[];
|
||||
@@ -942,6 +942,9 @@ extern const char kLogJsConsoleMessagesDescription[];
|
||||
extern const char kUnthrottledNestedTimeoutName[];
|
||||
extern const char kUnthrottledNestedTimeoutDescription[];
|
||||
|
||||
+extern const char kMaxConnectionsPerHostName[];
|
||||
+extern const char kMaxConnectionsPerHostDescription[];
|
||||
|
@ -121,7 +121,7 @@ diff --git a/components/url_formatter/spoof_checks/top_domains/BUILD.gn b/compon
|
|||
diff --git a/net/socket/client_socket_pool_manager.cc b/net/socket/client_socket_pool_manager.cc
|
||||
--- a/net/socket/client_socket_pool_manager.cc
|
||||
+++ b/net/socket/client_socket_pool_manager.cc
|
||||
@@ -20,6 +20,10 @@
|
||||
@@ -19,6 +19,10 @@
|
||||
#include "net/socket/client_socket_handle.h"
|
||||
#include "net/socket/client_socket_pool.h"
|
||||
#include "net/socket/connect_job.h"
|
||||
|
@ -132,7 +132,7 @@ diff --git a/net/socket/client_socket_pool_manager.cc b/net/socket/client_socket
|
|||
#include "net/ssl/ssl_config.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
#include "url/gurl.h"
|
||||
@@ -173,6 +177,19 @@ void ClientSocketPoolManager::set_max_sockets_per_pool(
|
||||
@@ -172,6 +176,19 @@ void ClientSocketPoolManager::set_max_sockets_per_pool(
|
||||
int ClientSocketPoolManager::max_sockets_per_group(
|
||||
HttpNetworkSession::SocketPoolType pool_type) {
|
||||
DCHECK_LT(pool_type, HttpNetworkSession::NUM_SOCKET_POOL_TYPES);
|
||||
|
|
|
@ -13,7 +13,7 @@ Disable it by default on Android as it is everywhere else
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -2922,6 +2922,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -3024,6 +3024,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kWebRtcRemoteEventLogName,
|
||||
flag_descriptions::kWebRtcRemoteEventLogDescription, kOsDesktop,
|
||||
FEATURE_VALUE_TYPE(features::kWebRtcRemoteEventLog)},
|
||||
|
@ -27,7 +27,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -1238,6 +1238,11 @@ const char kEnablePenetratingImageSelectionDescription[] =
|
||||
@@ -1228,6 +1228,11 @@ const char kEnablePenetratingImageSelectionDescription[] =
|
||||
"Enables image options to be surfaced in the context menu for nodes "
|
||||
"covered by transparent overlays.";
|
||||
|
||||
|
@ -42,7 +42,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -688,6 +688,9 @@ extern const char kEnablePortalsDescription[];
|
||||
@@ -675,6 +675,9 @@ extern const char kEnablePortalsDescription[];
|
||||
extern const char kEnablePortalsCrossOriginName[];
|
||||
extern const char kEnablePortalsCrossOriginDescription[];
|
||||
|
||||
|
@ -55,7 +55,7 @@ diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptio
|
|||
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
||||
--- a/media/base/media_switches.cc
|
||||
+++ b/media/base/media_switches.cc
|
||||
@@ -283,11 +283,7 @@ const base::Feature kPreloadMetadataLazyLoad{"PreloadMetadataLazyLoad",
|
||||
@@ -284,11 +284,7 @@ const base::Feature kPreloadMetadataLazyLoad{"PreloadMetadataLazyLoad",
|
||||
// when in background.
|
||||
const base::Feature kResumeBackgroundVideo {
|
||||
"resume-background-video",
|
||||
|
|
|
@ -16,7 +16,7 @@ Subject: Add flag to disable IPv6 probes
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -5102,6 +5102,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -5253,6 +5253,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
{"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName,
|
||||
flag_descriptions::kReaderModeInCCTDescription, kOsAndroid,
|
||||
FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)},
|
||||
|
@ -30,7 +30,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -3029,6 +3029,10 @@ const char kCCTResizableForThirdPartiesName[] =
|
||||
@@ -3086,6 +3086,10 @@ const char kCCTResizableForThirdPartiesName[] =
|
||||
const char kCCTResizableForThirdPartiesDescription[] =
|
||||
"Enable bottom sheet Custom Tabs for third party apps.";
|
||||
|
||||
|
@ -44,7 +44,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -748,6 +748,9 @@ extern const char kEnableWasmLazyCompilationName[];
|
||||
@@ -744,6 +744,9 @@ extern const char kEnableWasmLazyCompilationName[];
|
||||
extern const char kEnableWasmLazyCompilationDescription[];
|
||||
|
||||
extern const char kEnableWasmTieringName[];
|
||||
|
@ -100,7 +100,7 @@ diff --git a/components/url_formatter/spoof_checks/top_domains/BUILD.gn b/compon
|
|||
diff --git a/net/dns/host_resolver_manager.cc b/net/dns/host_resolver_manager.cc
|
||||
--- a/net/dns/host_resolver_manager.cc
|
||||
+++ b/net/dns/host_resolver_manager.cc
|
||||
@@ -102,6 +102,7 @@
|
||||
@@ -103,6 +103,7 @@
|
||||
#include "net/log/net_log_event_type.h"
|
||||
#include "net/log/net_log_source.h"
|
||||
#include "net/log/net_log_source_type.h"
|
||||
|
@ -108,7 +108,7 @@ diff --git a/net/dns/host_resolver_manager.cc b/net/dns/host_resolver_manager.cc
|
|||
#include "net/log/net_log_with_source.h"
|
||||
#include "net/socket/client_socket_factory.h"
|
||||
#include "net/socket/datagram_client_socket.h"
|
||||
@@ -3906,8 +3907,14 @@ bool HostResolverManager::IsIPv6Reachable(const NetLogWithSource& net_log) {
|
||||
@@ -3937,8 +3938,14 @@ bool HostResolverManager::IsIPv6Reachable(const NetLogWithSource& net_log) {
|
||||
if (last_ipv6_probe_time_.is_null() ||
|
||||
(tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() >
|
||||
kIPv6ProbePeriodMs) {
|
||||
|
|
|
@ -11,7 +11,7 @@ Subject: Add flag to disable WebGL
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -2856,6 +2856,9 @@ constexpr FeatureEntry::FeatureVariation kLensStandaloneVariations[] = {
|
||||
@@ -2964,6 +2964,9 @@ constexpr FeatureEntry::FeatureVariation kLensStandaloneVariations[] = {
|
||||
// When adding a new choice, add it to the end of the list.
|
||||
const FeatureEntry kFeatureEntries[] = {
|
||||
// Include generated flags for flag unexpiry; see //docs/flag_expiry.md and
|
||||
|
@ -24,7 +24,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -718,6 +718,10 @@ const char kDocumentTransitionSlowdownFactorName[] =
|
||||
@@ -725,6 +725,10 @@ const char kDocumentTransitionSlowdownFactorName[] =
|
||||
const char kDocumentTransitionSlowdownFactorDescription[] =
|
||||
"Slows down animations triggered by documentTransition JavaScript API for "
|
||||
"debugging.";
|
||||
|
@ -38,7 +38,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -398,6 +398,9 @@ extern const char kForceColorProfileSRGB[];
|
||||
@@ -397,6 +397,9 @@ extern const char kForceColorProfileSRGB[];
|
||||
extern const char kForceColorProfileP3[];
|
||||
extern const char kForceColorProfileColorSpin[];
|
||||
extern const char kForceColorProfileSCRGBLinear[];
|
||||
|
|
|
@ -21,14 +21,14 @@ See also: https://github.com/bromite/bromite/pull/1427
|
|||
.../native_page/NativePageFactory.java | 4 +-
|
||||
.../chrome/browser/ntp/RecentTabsManager.java | 8 +-
|
||||
.../privacy/settings/PrivacySettings.java | 18 +
|
||||
.../browser/tab/HistoricalTabSaver.java | 12 +-
|
||||
.../browser/tab/HistoricalTabSaver.java | 6 +-
|
||||
.../browser/tabmodel/TabPersistentStore.java | 5 +-
|
||||
.../history/Bromite_HistoryManagerTest.java | 112 ++++++
|
||||
...FragmentTest_HistoryInAlwaysIncognito.java | 120 +++++++
|
||||
.../browser/tab/HistoricalTabSaverTest.java | 2 +-
|
||||
...ite_AppMenuPropertiesDelegateUnitTest.java | 323 ++++++++++++++++++
|
||||
.../tab/HistoricalTabSaverUnitTest.java | 16 +-
|
||||
.../browser/android/historical_tab_saver.cc | 28 +-
|
||||
chrome/browser/android/historical_tab_saver.h | 27 ++
|
||||
.../browser/android/historical_tab_saver.cc | 27 +-
|
||||
chrome/browser/android/historical_tab_saver.h | 26 +-
|
||||
.../android/historical_tab_saver_unittest.cc | 148 ++++++++
|
||||
chrome/browser/history/history_tab_helper.cc | 16 +
|
||||
chrome/browser/history/history_tab_helper.h | 10 +-
|
||||
|
@ -47,17 +47,17 @@ See also: https://github.com/bromite/bromite/pull/1427
|
|||
chrome/common/pref_names.cc | 2 +
|
||||
chrome/common/pref_names.h | 4 +
|
||||
chrome/test/BUILD.gn | 5 +
|
||||
37 files changed, 1047 insertions(+), 41 deletions(-)
|
||||
37 files changed, 1032 insertions(+), 34 deletions(-)
|
||||
create mode 100644 chrome/android/javatests/src/org/chromium/chrome/browser/history/Bromite_HistoryManagerTest.java
|
||||
create mode 100644 chrome/android/javatests/src/org/chromium/chrome/browser/privacy/settings/Bromite_PrivacySettingsFragmentTest_HistoryInAlwaysIncognito.java
|
||||
create mode 100644 chrome/android/junit/src/org/chromium/chrome/browser/app/appmenu/Bromite_AppMenuPropertiesDelegateUnitTest.java
|
||||
create mode 100644 chrome/browser/android/historical_tab_saver.h
|
||||
create mode 100644 chrome/browser/android/historical_tab_saver_unittest.cc
|
||||
|
||||
diff --git a/chrome/android/chrome_junit_test_java_sources.gni b/chrome/android/chrome_junit_test_java_sources.gni
|
||||
index 85aa204b0d32..5a1fca47455b 100644
|
||||
--- a/chrome/android/chrome_junit_test_java_sources.gni
|
||||
+++ b/chrome/android/chrome_junit_test_java_sources.gni
|
||||
@@ -235,3 +235,7 @@ chrome_junit_test_java_sources = [
|
||||
@@ -237,3 +237,7 @@ chrome_junit_test_java_sources = [
|
||||
"junit/src/org/chromium/chrome/browser/webapps/WebappLauncherActivityTest.java",
|
||||
"junit/src/org/chromium/chrome/browser/webapps/WebappRegistryTest.java",
|
||||
]
|
||||
|
@ -67,9 +67,10 @@ diff --git a/chrome/android/chrome_junit_test_java_sources.gni b/chrome/android/
|
|||
+]
|
||||
\ No newline at end of file
|
||||
diff --git a/chrome/android/chrome_test_java_sources.gni b/chrome/android/chrome_test_java_sources.gni
|
||||
index e8c73091b5b3..b949dceec7f6 100644
|
||||
--- a/chrome/android/chrome_test_java_sources.gni
|
||||
+++ b/chrome/android/chrome_test_java_sources.gni
|
||||
@@ -667,3 +667,9 @@ if (enable_feed_v2) {
|
||||
@@ -668,3 +668,9 @@ if (enable_feed_v2) {
|
||||
if (is_java_debug) {
|
||||
chrome_test_java_sources += [ "javatests/src/org/chromium/chrome/browser/payments/PaymentErrorStringsTest.java" ]
|
||||
}
|
||||
|
@ -80,6 +81,7 @@ diff --git a/chrome/android/chrome_test_java_sources.gni b/chrome/android/chrome
|
|||
+ "javatests/src/org/chromium/chrome/browser/history/Bromite_HistoryManagerTest.java",
|
||||
+]
|
||||
diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
index 58578d137a3c..99975d90f14b 100644
|
||||
--- a/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
+++ b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
@@ -42,6 +42,11 @@
|
||||
|
@ -95,6 +97,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
android:fragment="org.chromium.chrome.browser.privacy.settings.DoNotTrackSettings"
|
||||
android:key="do_not_track"
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/AppMenuPropertiesDelegateImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/AppMenuPropertiesDelegateImpl.java
|
||||
index 661591373e82..6fdde89a6cb5 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/AppMenuPropertiesDelegateImpl.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/AppMenuPropertiesDelegateImpl.java
|
||||
@@ -97,6 +97,10 @@ import java.util.ArrayList;
|
||||
|
@ -151,6 +154,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/App
|
|||
|
||||
/**
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
|
||||
index 86e2af0f53ec..dbf4925cf372 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
|
||||
@@ -20,6 +20,7 @@ import org.chromium.base.ContextUtils;
|
||||
|
@ -172,6 +176,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/Cust
|
|||
boolean isChromeScheme = url.getScheme().equals(UrlConstants.CHROME_SCHEME)
|
||||
|| url.getScheme().equals(UrlConstants.CHROME_NATIVE_SCHEME);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java
|
||||
index c855a1df7f5b..d9ab2482992e 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java
|
||||
@@ -34,6 +34,7 @@ import org.chromium.base.annotations.NativeMethods;
|
||||
|
@ -212,6 +217,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/Downlo
|
|||
// Check if the page url is supported for saving. Only HTTP and HTTPS pages are allowed.
|
||||
if (!OfflinePageBridge.canSavePage(tab.getUrl())) return false;
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java
|
||||
index 6efb2b163cd2..b74bc729f4d5 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java
|
||||
@@ -22,6 +22,7 @@ import org.chromium.base.metrics.RecordHistogram;
|
||||
|
@ -254,6 +260,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/History
|
|||
&& ChromeFeatureList.isEnabled(
|
||||
ChromeFeatureList.UPDATE_HISTORY_ENTRY_POINTS_IN_INCOGNITO);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryPage.java b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryPage.java
|
||||
index 99b96d4e0585..47aba850bd11 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryPage.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/history/HistoryPage.java
|
||||
@@ -10,12 +10,19 @@ import androidx.annotation.VisibleForTesting;
|
||||
|
@ -295,6 +302,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/history/History
|
|||
|
||||
initWithView(mHistoryManager.getView());
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
index 3dec9ed3099d..8e339da4be65 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/native_page/NativePageFactory.java
|
||||
@@ -15,6 +15,7 @@ import org.chromium.base.jank_tracker.JankTracker;
|
||||
|
@ -316,15 +324,17 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/native_page/Nat
|
|||
return null;
|
||||
case NativePageType.CANDIDATE:
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsManager.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsManager.java
|
||||
index f9287b365bd1..5490b4b573e8 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsManager.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsManager.java
|
||||
@@ -76,15 +76,15 @@ public class RecentTabsManager implements SignInStateObserver,
|
||||
@@ -74,16 +74,16 @@ public class RecentTabsManager implements SignInStateObserver,
|
||||
*/
|
||||
public RecentTabsManager(
|
||||
Tab tab, Profile profile, Context context, Runnable showHistoryManager) {
|
||||
public RecentTabsManager(Tab tab, TabModelSelector tabModelSelector, Profile profile,
|
||||
Context context, Runnable showHistoryManager) {
|
||||
- mProfile = profile;
|
||||
+ mProfile = profile.getOriginalProfile();
|
||||
mTab = tab;
|
||||
mActiveTab = tab;
|
||||
mTabModelSelector = tabModelSelector;
|
||||
mShowHistoryManager = showHistoryManager;
|
||||
- mForeignSessionHelper = new ForeignSessionHelper(profile);
|
||||
- mPrefs = new RecentTabsPagePrefs(profile);
|
||||
|
@ -336,9 +346,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsM
|
|||
- : new RecentlyClosedBridge(profile);
|
||||
+ : new RecentlyClosedBridge(mProfile);
|
||||
|
||||
mRecentlyClosedTabManager.setTabsUpdatedRunnable(() -> {
|
||||
updateRecentlyClosedTabs();
|
||||
mRecentlyClosedTabManager.setTabsUpdatedRunnable(this::updateRecentlyClosedTabs);
|
||||
updateRecentlyClosedTabs();
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
index 38cc10534013..5b9d5d4a9237 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -16,6 +16,7 @@ import androidx.preference.Preference;
|
||||
|
@ -349,7 +360,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
import org.chromium.chrome.R;
|
||||
import org.chromium.chrome.browser.feedback.HelpAndFeedbackLauncherImpl;
|
||||
import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||
@@ -131,6 +132,11 @@ public class PrivacySettings
|
||||
@@ -138,6 +139,11 @@ public class PrivacySettings
|
||||
phoneAsASecurityKey.setVisible(
|
||||
ChromeFeatureList.isEnabled(ChromeFeatureList.WEB_AUTH_PHONE_SUPPORT));
|
||||
|
||||
|
@ -361,7 +372,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
updatePreferences();
|
||||
}
|
||||
|
||||
@@ -148,10 +154,15 @@ public class PrivacySettings
|
||||
@@ -155,10 +161,15 @@ public class PrivacySettings
|
||||
} else if (PREF_HTTPS_FIRST_MODE.equals(key)) {
|
||||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.HTTPS_ONLY_MODE_ENABLED, (boolean) newValue);
|
||||
|
@ -377,7 +388,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
@@ -202,6 +213,13 @@ public class PrivacySettings
|
||||
@@ -209,6 +220,13 @@ public class PrivacySettings
|
||||
PreloadPagesSettingsFragment.getPreloadPagesSummaryString(getContext()));
|
||||
}
|
||||
|
||||
|
@ -392,44 +403,32 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
if (secureDnsPref != null && secureDnsPref.isVisible()) {
|
||||
secureDnsPref.setSummary(SecureDnsSettings.getSummary(getContext()));
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/HistoricalTabSaver.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/HistoricalTabSaver.java
|
||||
index 1a51dce7bb87..77bfb66438dd 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/HistoricalTabSaver.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/HistoricalTabSaver.java
|
||||
@@ -15,28 +15,28 @@ public class HistoricalTabSaver {
|
||||
@@ -29,10 +29,10 @@ public class HistoricalTabSaver {
|
||||
/**
|
||||
* Creates a historical tab from a tab being closed.
|
||||
*/
|
||||
- public static void createHistoricalTab(Tab tab) {
|
||||
+ public static void createHistoricalTab(Tab tab, boolean is_always_incognito) {
|
||||
if (tab.isFrozen()) {
|
||||
WebContentsState state = CriticalPersistedTabData.from(tab).getWebContentsState();
|
||||
if (state != null) {
|
||||
WebContents webContents =
|
||||
WebContentsStateBridge.restoreContentsFromByteBuffer(state, true);
|
||||
if (webContents != null) {
|
||||
- createHistoricalTabFromContents(webContents);
|
||||
+ createHistoricalTabFromContents(webContents, is_always_incognito);
|
||||
webContents.destroy();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
- createHistoricalTabFromContents(tab.getWebContents());
|
||||
+ createHistoricalTabFromContents(tab.getWebContents(), is_always_incognito);
|
||||
}
|
||||
if (!shouldSave(tab)) return;
|
||||
|
||||
- HistoricalTabSaverJni.get().createHistoricalTab(tab);
|
||||
+ HistoricalTabSaverJni.get().createHistoricalTab(tab, is_always_incognito);
|
||||
}
|
||||
|
||||
- private static void createHistoricalTabFromContents(WebContents webContents) {
|
||||
- HistoricalTabSaverJni.get().createHistoricalTabFromContents(webContents);
|
||||
+ private static void createHistoricalTabFromContents(WebContents webContents, boolean is_always_incognito) {
|
||||
+ HistoricalTabSaverJni.get().createHistoricalTabFromContents(webContents, is_always_incognito);
|
||||
}
|
||||
/**
|
||||
@@ -72,6 +72,6 @@ public class HistoricalTabSaver {
|
||||
|
||||
@NativeMethods
|
||||
interface Natives {
|
||||
- void createHistoricalTabFromContents(WebContents webContents);
|
||||
+ void createHistoricalTabFromContents(WebContents webContents, boolean is_always_incognito);
|
||||
- void createHistoricalTab(Tab tab);
|
||||
+ void createHistoricalTab(Tab tab, boolean is_always_incognito);
|
||||
}
|
||||
}
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java
|
||||
index 84a1faaeb4f2..e3ca9b0449c6 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java
|
||||
@@ -193,7 +193,10 @@ public class TabPersistentStore {
|
||||
|
@ -446,6 +445,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPer
|
|||
|
||||
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/history/Bromite_HistoryManagerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/history/Bromite_HistoryManagerTest.java
|
||||
new file mode 100644
|
||||
index 000000000000..d0177f7523ca
|
||||
--- /dev/null
|
||||
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/history/Bromite_HistoryManagerTest.java
|
||||
@@ -0,0 +1,112 @@
|
||||
|
@ -563,6 +563,7 @@ new file mode 100644
|
|||
+}
|
||||
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/privacy/settings/Bromite_PrivacySettingsFragmentTest_HistoryInAlwaysIncognito.java b/chrome/android/javatests/src/org/chromium/chrome/browser/privacy/settings/Bromite_PrivacySettingsFragmentTest_HistoryInAlwaysIncognito.java
|
||||
new file mode 100644
|
||||
index 000000000000..ef8a67620486
|
||||
--- /dev/null
|
||||
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/privacy/settings/Bromite_PrivacySettingsFragmentTest_HistoryInAlwaysIncognito.java
|
||||
@@ -0,0 +1,120 @@
|
||||
|
@ -686,8 +687,22 @@ new file mode 100644
|
|||
+ });
|
||||
+ }
|
||||
+}
|
||||
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/tab/HistoricalTabSaverTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/tab/HistoricalTabSaverTest.java
|
||||
index ed6b48c4315e..f12a3e0a4ba3 100644
|
||||
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/tab/HistoricalTabSaverTest.java
|
||||
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/tab/HistoricalTabSaverTest.java
|
||||
@@ -115,7 +115,7 @@ public class HistoricalTabSaverTest {
|
||||
|
||||
private static void createHistoricTab(Tab tab) {
|
||||
TestThreadUtils.runOnUiThreadBlocking(
|
||||
- () -> { HistoricalTabSaver.createHistoricalTab(tab); });
|
||||
+ () -> { HistoricalTabSaver.createHistoricalTab(tab, false); });
|
||||
}
|
||||
|
||||
private void assertEntriesAre(List<RecentlyClosedTab> expectedEntries) {
|
||||
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/app/appmenu/Bromite_AppMenuPropertiesDelegateUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/app/appmenu/Bromite_AppMenuPropertiesDelegateUnitTest.java
|
||||
new file mode 100644
|
||||
index 000000000000..5d41c1c43db6
|
||||
--- /dev/null
|
||||
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/app/appmenu/Bromite_AppMenuPropertiesDelegateUnitTest.java
|
||||
@@ -0,0 +1,323 @@
|
||||
|
@ -1014,60 +1029,11 @@ new file mode 100644
|
|||
+ return menu;
|
||||
+ }
|
||||
+}
|
||||
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/tab/HistoricalTabSaverUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/tab/HistoricalTabSaverUnitTest.java
|
||||
--- a/chrome/android/junit/src/org/chromium/chrome/browser/tab/HistoricalTabSaverUnitTest.java
|
||||
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/tab/HistoricalTabSaverUnitTest.java
|
||||
@@ -61,9 +61,9 @@ public class HistoricalTabSaverUnitTest {
|
||||
doReturn(false).when(mTabImplMock).isFrozen();
|
||||
doReturn(mWebContentsMock).when(mTabImplMock).getWebContents();
|
||||
|
||||
- HistoricalTabSaver.createHistoricalTab(mTabImplMock);
|
||||
+ HistoricalTabSaver.createHistoricalTab(mTabImplMock, false);
|
||||
|
||||
- verify(mHistoricalTabSaverJni).createHistoricalTabFromContents(eq(mWebContentsMock));
|
||||
+ verify(mHistoricalTabSaverJni).createHistoricalTabFromContents(eq(mWebContentsMock), eq(false));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -71,9 +71,9 @@ public class HistoricalTabSaverUnitTest {
|
||||
doReturn(true).when(mTabImplMock).isFrozen();
|
||||
doReturn(null).when(mCriticalPersistedTabData).getWebContentsState();
|
||||
|
||||
- HistoricalTabSaver.createHistoricalTab(mTabImplMock);
|
||||
+ HistoricalTabSaver.createHistoricalTab(mTabImplMock, false);
|
||||
|
||||
- verify(mHistoricalTabSaverJni, never()).createHistoricalTabFromContents(any());
|
||||
+ verify(mHistoricalTabSaverJni, never()).createHistoricalTabFromContents(any(), eq(false));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -88,9 +88,9 @@ public class HistoricalTabSaverUnitTest {
|
||||
.when(mWebContentsStateBridgeJni)
|
||||
.restoreContentsFromByteBuffer(eq(buffer), eq(123), eq(true));
|
||||
|
||||
- HistoricalTabSaver.createHistoricalTab(mTabImplMock);
|
||||
+ HistoricalTabSaver.createHistoricalTab(mTabImplMock, false);
|
||||
|
||||
- verify(mHistoricalTabSaverJni, never()).createHistoricalTabFromContents(any());
|
||||
+ verify(mHistoricalTabSaverJni, never()).createHistoricalTabFromContents(any(), eq(false));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -105,8 +105,8 @@ public class HistoricalTabSaverUnitTest {
|
||||
.when(mWebContentsStateBridgeJni)
|
||||
.restoreContentsFromByteBuffer(eq(buffer), eq(123), eq(true));
|
||||
|
||||
- HistoricalTabSaver.createHistoricalTab(mTabImplMock);
|
||||
+ HistoricalTabSaver.createHistoricalTab(mTabImplMock, false);
|
||||
|
||||
- verify(mHistoricalTabSaverJni).createHistoricalTabFromContents(eq(mWebContentsMock));
|
||||
+ verify(mHistoricalTabSaverJni).createHistoricalTabFromContents(eq(mWebContentsMock), eq(false));
|
||||
}
|
||||
}
|
||||
diff --git a/chrome/browser/android/historical_tab_saver.cc b/chrome/browser/android/historical_tab_saver.cc
|
||||
index 227d36dc0534..68a211f84a19 100644
|
||||
--- a/chrome/browser/android/historical_tab_saver.cc
|
||||
+++ b/chrome/browser/android/historical_tab_saver.cc
|
||||
@@ -12,16 +12,27 @@
|
||||
@@ -14,13 +14,18 @@
|
||||
#include "components/sessions/core/tab_restore_service.h"
|
||||
#include "content/public/browser/web_contents.h"
|
||||
|
||||
|
@ -1078,27 +1044,33 @@ diff --git a/chrome/browser/android/historical_tab_saver.cc b/chrome/browser/and
|
|||
+
|
||||
using base::android::JavaParamRef;
|
||||
|
||||
namespace historical_tab_saver {
|
||||
|
||||
namespace {
|
||||
|
||||
-void CreateHistoricalTab(content::WebContents* web_contents) {
|
||||
+void CreateHistoricalTab(content::WebContents* web_contents,
|
||||
+ bool is_always_incognito) {
|
||||
DCHECK(web_contents);
|
||||
-void CreateHistoricalTab(TabAndroid* tab_android) {
|
||||
+void CreateHistoricalTab(TabAndroid* tab_android, bool is_always_incognito) {
|
||||
if (!tab_android) {
|
||||
return;
|
||||
}
|
||||
@@ -30,9 +35,14 @@ void CreateHistoricalTab(TabAndroid* tab_android) {
|
||||
return;
|
||||
}
|
||||
|
||||
+ auto* profile = Profile::FromBrowserContext(web_contents->GetBrowserContext());
|
||||
+ if (is_always_incognito) {
|
||||
+ if(profile->GetOriginalProfile()->GetPrefs()->GetBoolean(prefs::kIncognitoTabHistoryEnabled))
|
||||
+ if (profile->GetOriginalProfile()->GetPrefs()->GetBoolean(prefs::kIncognitoTabHistoryEnabled))
|
||||
+ profile = profile->GetOriginalProfile();
|
||||
+ }
|
||||
+
|
||||
sessions::TabRestoreService* service =
|
||||
- TabRestoreServiceFactory::GetForProfile(
|
||||
- Profile::FromBrowserContext(web_contents->GetBrowserContext()));
|
||||
+ TabRestoreServiceFactory::GetForProfile(profile);
|
||||
if (!service)
|
||||
- TabRestoreServiceFactory::GetForProfile(Profile::FromBrowserContext(
|
||||
- scoped_web_contents->web_contents()->GetBrowserContext()));
|
||||
+ TabRestoreServiceFactory::GetForProfile(profile)
|
||||
if (!service) {
|
||||
return;
|
||||
|
||||
@@ -41,11 +52,18 @@ void CreateHistoricalTab(content::WebContents* web_contents) {
|
||||
}
|
||||
@@ -74,11 +84,18 @@ std::unique_ptr<ScopedWebContents> ScopedWebContents::CreateForTab(
|
||||
|
||||
// Static JNI methods.
|
||||
|
||||
|
@ -1109,21 +1081,24 @@ diff --git a/chrome/browser/android/historical_tab_saver.cc b/chrome/browser/and
|
|||
+}
|
||||
+
|
||||
// static
|
||||
static void JNI_HistoricalTabSaver_CreateHistoricalTabFromContents(
|
||||
static void JNI_HistoricalTabSaver_CreateHistoricalTab(
|
||||
JNIEnv* env,
|
||||
- const JavaParamRef<jobject>& jweb_contents) {
|
||||
+ const JavaParamRef<jobject>& jweb_contents,
|
||||
- const JavaParamRef<jobject>& jtab_android) {
|
||||
- CreateHistoricalTab(TabAndroid::GetNativeTab(env, jtab_android));
|
||||
+ const JavaParamRef<jobject>& jtab_android,
|
||||
+ jboolean is_always_incognito) {
|
||||
auto* web_contents = content::WebContents::FromJavaWebContents(jweb_contents);
|
||||
if (web_contents)
|
||||
- CreateHistoricalTab(web_contents);
|
||||
+ CreateHistoricalTab(web_contents, is_always_incognito);
|
||||
+ CreateHistoricalTab(TabAndroid::GetNativeTab(env, jtab_android), is_always_incognito);
|
||||
}
|
||||
|
||||
} // namespace historical_tab_saver
|
||||
diff --git a/chrome/browser/android/historical_tab_saver.h b/chrome/browser/android/historical_tab_saver.h
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
index a7d6510dccf8..ca27479dedb9 100644
|
||||
--- a/chrome/browser/android/historical_tab_saver.h
|
||||
+++ b/chrome/browser/android/historical_tab_saver.h
|
||||
@@ -0,0 +1,27 @@
|
||||
@@ -1,10 +1,25 @@
|
||||
-// Copyright 2022 The Chromium Authors. All rights reserved.
|
||||
-// Use of this source code is governed by a BSD-style license that can be
|
||||
-// found in the LICENSE file.
|
||||
+/*
|
||||
+ This file is part of Bromite.
|
||||
+
|
||||
|
@ -1140,19 +1115,28 @@ new file mode 100644
|
|||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with Bromite. If not, see <https://www.gnu.org/licenses/>.
|
||||
+*/
|
||||
+
|
||||
+#ifndef CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
+#define CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
+
|
||||
|
||||
#ifndef CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
#define CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
|
||||
+#include "content/public/browser/web_contents.h"
|
||||
+
|
||||
#include <memory>
|
||||
|
||||
class TabAndroid;
|
||||
@@ -40,4 +55,9 @@ class ScopedWebContents {
|
||||
|
||||
} // namespace historical_tab_saver
|
||||
|
||||
+
|
||||
+// static
|
||||
+void CreateHistoricalTabForTest(content::WebContents* web_contents,
|
||||
+ bool is_always_incognito);
|
||||
+
|
||||
+#endif // CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
#endif // CHROME_BROWSER_ANDROID_HISTORICAL_TAB_SAVER_H_
|
||||
diff --git a/chrome/browser/android/historical_tab_saver_unittest.cc b/chrome/browser/android/historical_tab_saver_unittest.cc
|
||||
new file mode 100644
|
||||
index 000000000000..4f56b5d181fa
|
||||
--- /dev/null
|
||||
+++ b/chrome/browser/android/historical_tab_saver_unittest.cc
|
||||
@@ -0,0 +1,148 @@
|
||||
|
@ -1305,10 +1289,11 @@ new file mode 100644
|
|||
+
|
||||
+} // namespace
|
||||
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
|
||||
index c014951d0a87..a9eb77023cbb 100644
|
||||
--- a/chrome/browser/history/history_tab_helper.cc
|
||||
+++ b/chrome/browser/history/history_tab_helper.cc
|
||||
@@ -27,6 +27,9 @@
|
||||
#include "chrome/browser/feed/android/feed_service_factory.h"
|
||||
@@ -28,6 +28,9 @@
|
||||
#include "chrome/browser/feed/feed_service_factory.h"
|
||||
#include "components/feed/core/v2/public/feed_api.h"
|
||||
#include "components/feed/core/v2/public/feed_service.h"
|
||||
+#include "chrome/common/pref_names.h"
|
||||
|
@ -1317,7 +1302,7 @@ diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/histo
|
|||
#else
|
||||
#include "chrome/browser/ui/browser.h"
|
||||
#include "chrome/browser/ui/browser_finder.h"
|
||||
@@ -330,6 +333,13 @@ void HistoryTabHelper::TitleWasSet(NavigationEntry* entry) {
|
||||
@@ -331,6 +334,13 @@ void HistoryTabHelper::TitleWasSet(NavigationEntry* entry) {
|
||||
history::HistoryService* HistoryTabHelper::GetHistoryService() {
|
||||
Profile* profile =
|
||||
Profile::FromBrowserContext(web_contents()->GetBrowserContext());
|
||||
|
@ -1331,7 +1316,7 @@ diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/histo
|
|||
if (profile->IsOffTheRecord())
|
||||
return NULL;
|
||||
|
||||
@@ -337,6 +347,12 @@ history::HistoryService* HistoryTabHelper::GetHistoryService() {
|
||||
@@ -338,6 +348,12 @@ history::HistoryService* HistoryTabHelper::GetHistoryService() {
|
||||
profile, ServiceAccessType::IMPLICIT_ACCESS);
|
||||
}
|
||||
|
||||
|
@ -1345,6 +1330,7 @@ diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/histo
|
|||
// We update the history for this URL.
|
||||
WebContents* tab = web_contents();
|
||||
diff --git a/chrome/browser/history/history_tab_helper.h b/chrome/browser/history/history_tab_helper.h
|
||||
index 717fe4f1bd88..bf7b98177176 100644
|
||||
--- a/chrome/browser/history/history_tab_helper.h
|
||||
+++ b/chrome/browser/history/history_tab_helper.h
|
||||
@@ -9,6 +9,8 @@
|
||||
|
@ -1379,9 +1365,10 @@ diff --git a/chrome/browser/history/history_tab_helper.h b/chrome/browser/histor
|
|||
bool IsEligibleTab(const history::HistoryAddPageArgs& add_page_args) const;
|
||||
|
||||
diff --git a/chrome/browser/history/history_tab_helper_unittest.cc b/chrome/browser/history/history_tab_helper_unittest.cc
|
||||
index c05b09e3f0eb..b91159bcbf42 100644
|
||||
--- a/chrome/browser/history/history_tab_helper_unittest.cc
|
||||
+++ b/chrome/browser/history/history_tab_helper_unittest.cc
|
||||
@@ -42,6 +42,9 @@
|
||||
@@ -43,6 +43,9 @@
|
||||
|
||||
using testing::NiceMock;
|
||||
|
||||
|
@ -1391,7 +1378,7 @@ diff --git a/chrome/browser/history/history_tab_helper_unittest.cc b/chrome/brow
|
|||
namespace {
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
@@ -51,6 +54,25 @@ class TestFeedApi : public feed::StubFeedApi {
|
||||
@@ -52,6 +55,25 @@ class TestFeedApi : public feed::StubFeedApi {
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -1418,6 +1405,7 @@ diff --git a/chrome/browser/history/history_tab_helper_unittest.cc b/chrome/brow
|
|||
|
||||
class HistoryTabHelperTest : public ChromeRenderViewHostTestHarness {
|
||||
diff --git a/chrome/browser/offline_pages/android/offline_page_bridge.cc b/chrome/browser/offline_pages/android/offline_page_bridge.cc
|
||||
index ae77d2027d05..e04538065629 100644
|
||||
--- a/chrome/browser/offline_pages/android/offline_page_bridge.cc
|
||||
+++ b/chrome/browser/offline_pages/android/offline_page_bridge.cc
|
||||
@@ -48,6 +48,9 @@
|
||||
|
@ -1444,7 +1432,7 @@ diff --git a/chrome/browser/offline_pages/android/offline_page_bridge.cc b/chrom
|
|||
// If trusted, the launch url will be the http/https url of the offline
|
||||
// page. If the file path is content URI, directly open it. Otherwise, the
|
||||
// launch url will be the file URL pointing to the archive file of the offline
|
||||
@@ -784,7 +793,7 @@ void OfflinePageBridge::GetPageByOfflineIdDone(
|
||||
@@ -788,7 +797,7 @@ void OfflinePageBridge::GetPageByOfflineIdDone(
|
||||
if (offline_page_model_->IsArchiveInInternalDir(offline_page->file_path)) {
|
||||
ValidateFileCallback(launch_location, j_callback_obj,
|
||||
offline_page->offline_id, offline_page->url,
|
||||
|
@ -1453,7 +1441,7 @@ diff --git a/chrome/browser/offline_pages/android/offline_page_bridge.cc b/chrom
|
|||
return;
|
||||
}
|
||||
|
||||
@@ -794,7 +803,7 @@ void OfflinePageBridge::GetPageByOfflineIdDone(
|
||||
@@ -798,7 +807,7 @@ void OfflinePageBridge::GetPageByOfflineIdDone(
|
||||
offline_page->file_size, offline_page->digest),
|
||||
base::BindOnce(&ValidateFileCallback, launch_location, j_callback_obj,
|
||||
offline_page->offline_id, offline_page->url,
|
||||
|
@ -1463,6 +1451,7 @@ diff --git a/chrome/browser/offline_pages/android/offline_page_bridge.cc b/chrom
|
|||
|
||||
void OfflinePageBridge::GetSizeAndComputeDigestDone(
|
||||
diff --git a/chrome/browser/offline_pages/android/offline_page_model_factory.cc b/chrome/browser/offline_pages/android/offline_page_model_factory.cc
|
||||
index c71de7108fb7..5ed7dff98b8e 100644
|
||||
--- a/chrome/browser/offline_pages/android/offline_page_model_factory.cc
|
||||
+++ b/chrome/browser/offline_pages/android/offline_page_model_factory.cc
|
||||
@@ -26,6 +26,9 @@
|
||||
|
@ -1525,6 +1514,7 @@ diff --git a/chrome/browser/offline_pages/android/offline_page_model_factory.cc
|
|||
+
|
||||
} // namespace offline_pages
|
||||
diff --git a/chrome/browser/offline_pages/android/request_coordinator_factory.cc b/chrome/browser/offline_pages/android/request_coordinator_factory.cc
|
||||
index 02145a3c6405..0cbf46221c7a 100644
|
||||
--- a/chrome/browser/offline_pages/android/request_coordinator_factory.cc
|
||||
+++ b/chrome/browser/offline_pages/android/request_coordinator_factory.cc
|
||||
@@ -30,6 +30,11 @@
|
||||
|
@ -1557,6 +1547,7 @@ diff --git a/chrome/browser/offline_pages/android/request_coordinator_factory.cc
|
|||
+
|
||||
} // namespace offline_pages
|
||||
diff --git a/chrome/browser/offline_pages/offline_page_model_factory.h b/chrome/browser/offline_pages/offline_page_model_factory.h
|
||||
index 58fdcf8e7b0d..8175a533f0a6 100644
|
||||
--- a/chrome/browser/offline_pages/offline_page_model_factory.h
|
||||
+++ b/chrome/browser/offline_pages/offline_page_model_factory.h
|
||||
@@ -48,6 +48,7 @@ class OfflinePageModelFactory : public SimpleKeyedServiceFactory {
|
||||
|
@ -1568,6 +1559,7 @@ diff --git a/chrome/browser/offline_pages/offline_page_model_factory.h b/chrome/
|
|||
|
||||
} // namespace offline_pages
|
||||
diff --git a/chrome/browser/offline_pages/recent_tab_helper.cc b/chrome/browser/offline_pages/recent_tab_helper.cc
|
||||
index 66480c9ac5bd..36f2d3ac5f5e 100644
|
||||
--- a/chrome/browser/offline_pages/recent_tab_helper.cc
|
||||
+++ b/chrome/browser/offline_pages/recent_tab_helper.cc
|
||||
@@ -29,6 +29,11 @@
|
||||
|
@ -1597,6 +1589,7 @@ diff --git a/chrome/browser/offline_pages/recent_tab_helper.cc b/chrome/browser/
|
|||
if (snapshots_enabled_) {
|
||||
page_model_ = OfflinePageModelFactory::GetForBrowserContext(
|
||||
diff --git a/chrome/browser/offline_pages/request_coordinator_factory.h b/chrome/browser/offline_pages/request_coordinator_factory.h
|
||||
index 2ab1de59c0b9..645f5bae8419 100644
|
||||
--- a/chrome/browser/offline_pages/request_coordinator_factory.h
|
||||
+++ b/chrome/browser/offline_pages/request_coordinator_factory.h
|
||||
@@ -36,6 +36,8 @@ class RequestCoordinatorFactory : public BrowserContextKeyedServiceFactory {
|
||||
|
@ -1609,25 +1602,27 @@ diff --git a/chrome/browser/offline_pages/request_coordinator_factory.h b/chrome
|
|||
|
||||
} // namespace offline_pages
|
||||
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
|
||||
index 2e59b2390844..ef0baf4b6a48 100644
|
||||
--- a/chrome/browser/prefs/browser_prefs.cc
|
||||
+++ b/chrome/browser/prefs/browser_prefs.cc
|
||||
@@ -214,6 +214,7 @@
|
||||
#endif
|
||||
@@ -218,6 +218,7 @@
|
||||
#include "components/feed/core/shared_prefs/pref_names.h"
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
+#include "chrome/browser/history/history_tab_helper.h"
|
||||
#include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h"
|
||||
#include "chrome/browser/android/explore_sites/history_statistics_reporter.h"
|
||||
#include "chrome/browser/android/ntp/recent_tabs_page_prefs.h"
|
||||
@@ -1338,6 +1339,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
|
||||
@@ -1316,6 +1317,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
|
||||
// register incognito pref
|
||||
registry->RegisterBooleanPref(prefs::kAlwaysIncognitoEnabled,
|
||||
/*default_value=*/false);
|
||||
+ HistoryTabHelper::RegisterProfilePrefs(registry);
|
||||
feed::RegisterProfilePrefs(registry);
|
||||
#else // BUILDFLAG(IS_ANDROID)
|
||||
AppShortcutManager::RegisterProfilePrefs(registry);
|
||||
#endif
|
||||
|
||||
diff --git a/chrome/browser/ui/android/native_page/BUILD.gn b/chrome/browser/ui/android/native_page/BUILD.gn
|
||||
index f55309919858..525798a93e43 100644
|
||||
--- a/chrome/browser/ui/android/native_page/BUILD.gn
|
||||
+++ b/chrome/browser/ui/android/native_page/BUILD.gn
|
||||
@@ -32,8 +32,10 @@ java_library("junit") {
|
||||
|
@ -1642,6 +1637,7 @@ diff --git a/chrome/browser/ui/android/native_page/BUILD.gn b/chrome/browser/ui/
|
|||
]
|
||||
}
|
||||
diff --git a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePage.java b/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePage.java
|
||||
index 9e6aaa00e625..385b2961259f 100644
|
||||
--- a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePage.java
|
||||
+++ b/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePage.java
|
||||
@@ -16,6 +16,8 @@ import org.chromium.url.GURL;
|
||||
|
@ -1689,6 +1685,7 @@ diff --git a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/
|
|||
} else if (UrlConstants.EXPLORE_HOST.equals(host)) {
|
||||
return NativePageType.EXPLORE;
|
||||
diff --git a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePageTest.java b/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePageTest.java
|
||||
index 425ffb1765d0..db4e3e592cb0 100644
|
||||
--- a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePageTest.java
|
||||
+++ b/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/browser/ui/native_page/NativePageTest.java
|
||||
@@ -12,6 +12,10 @@ import org.robolectric.annotation.Config;
|
||||
|
@ -1730,25 +1727,27 @@ diff --git a/chrome/browser/ui/android/native_page/java/src/org/chromium/chrome/
|
|||
+ }
|
||||
}
|
||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
index 0efe398c62c9..d9e1f0c1a8a0 100644
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -1126,6 +1126,12 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
<message name="IDS_UI_RELAUNCH_NOTICE" desc="Summary for always incognito mode">
|
||||
Your changes will take effect the next time you relaunch Bromite.
|
||||
<ph name="BEGIN_LINK1"><link1></ph>Search history<ph name="END_LINK1"></link1></ph> and <ph name="BEGIN_LINK2"><link2></ph>other forms of activity<ph name="END_LINK2"></link2></ph> may be saved in your Google Account when you’re signed in. You can delete them anytime.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_SEARCH_HISTORY_LINK_OTHER_FORMS" desc="Text informing the user that they can clear their Google data using MyActivity when their Default Search Engine is not Google.">
|
||||
+ <message name="IDS_INCOGNITO_HISTORY_ENABLED_TITLE" desc="Title for always enable history in incognito mode">
|
||||
+ Enable history in incognito tabs
|
||||
+ </message>
|
||||
+ <message name="IDS_INCOGNITO_HISTORY_ENABLED_SUMMARY" desc="Summary for always enable history in incognito mode">
|
||||
+ Record history even in incognito mode
|
||||
+ </message>
|
||||
<message name="IDS_CLEAR_BROWSING_HISTORY_SUMMARY_SIGNED_IN" desc="A text explaining other forms of activity for signed in users.">
|
||||
Clears history and autocompletions in the address bar. Your Google Account may have other forms of browsing history at <ph name="BEGIN_LINK"><link></ph>myactivity.google.com<ph name="END_LINK"></link></ph>.
|
||||
<ph name="BEGIN_LINK1"><link1></ph>Other forms of activity<ph name="END_LINK1"></link1></ph> may be saved in your Google Account when you’re signed in. You can delete them anytime.
|
||||
</message>
|
||||
<message name="IDS_CLEAR_SEARCH_HISTORY_NON_GOOGLE_DSE" desc="Text informing the user about the way to clear their search history when their Default Search Engine is not Google.">
|
||||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
||||
index 8c6e75e25bb2..25ad7b194198 100644
|
||||
--- a/chrome/common/pref_names.cc
|
||||
+++ b/chrome/common/pref_names.cc
|
||||
@@ -3286,6 +3286,8 @@ const char kLacrosLaunchSwitch[] = "lacros_launch_switch";
|
||||
@@ -3283,6 +3283,8 @@ const char kLacrosLaunchSwitch[] = "lacros_launch_switch";
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
const char kAlwaysIncognitoEnabled[] = "always_incognito_enabled";
|
||||
|
@ -1758,9 +1757,10 @@ diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
|||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
|
||||
index 611d7ae421b0..8135b2505b61 100644
|
||||
--- a/chrome/common/pref_names.h
|
||||
+++ b/chrome/common/pref_names.h
|
||||
@@ -1203,6 +1203,10 @@ extern const char kPrivacyGuideViewed[];
|
||||
@@ -1204,6 +1204,10 @@ extern const char kPrivacyGuideViewed[];
|
||||
|
||||
extern const char kCorsNonWildcardRequestHeadersSupport[];
|
||||
|
||||
|
@ -1772,10 +1772,11 @@ diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
|
|||
|
||||
extern const char kForceMajorVersionToMinorPositionInUserAgent[];
|
||||
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
||||
index 7e2f929c7865..6a8a74e89d7f 100644
|
||||
--- a/chrome/test/BUILD.gn
|
||||
+++ b/chrome/test/BUILD.gn
|
||||
@@ -5063,6 +5063,11 @@ test("unit_tests") {
|
||||
]
|
||||
@@ -5198,6 +5198,11 @@ test("unit_tests") {
|
||||
sources += [ "../browser/page_load_metrics/observers/side_search_page_load_metrics_observer_unittest.cc" ]
|
||||
}
|
||||
|
||||
+ # Bromite tests
|
||||
|
@ -1786,5 +1787,6 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
|||
if (is_android) {
|
||||
sources += [
|
||||
"../browser/android/bookmarks/partner_bookmarks_shim_unittest.cc",
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ diff --git a/chrome/android/java/res/menu/main_menu.xml b/chrome/android/java/re
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
@@ -2141,6 +2141,8 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -2149,6 +2149,8 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
NewTabPageUma.recordAction(NewTabPageUma.ACTION_OPENED_DOWNLOADS_MANAGER);
|
||||
}
|
||||
RecordUserAction.record("MobileMenuDownloadManager");
|
||||
|
@ -53,7 +53,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedAct
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
@@ -2521,6 +2521,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2522,6 +2522,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/appmenu/App
|
|||
|
||||
updateAutoDarkMenuItem(menu, currentTab, isChromeScheme);
|
||||
|
||||
@@ -1161,6 +1162,19 @@ public class AppMenuPropertiesDelegateImpl implements AppMenuPropertiesDelegate
|
||||
@@ -1160,6 +1161,19 @@ public class AppMenuPropertiesDelegateImpl implements AppMenuPropertiesDelegate
|
||||
stopPriceTrackingMenuItem.setVisible(priceTrackingEnabled);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
@@ -1221,8 +1221,10 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -1236,8 +1236,10 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
boolean hadCipherData =
|
||||
CipherFactory.getInstance().restoreFromBundle(getSavedInstanceState());
|
||||
|
||||
|
@ -59,7 +59,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
import org.chromium.base.Log;
|
||||
import org.chromium.chrome.R;
|
||||
import org.chromium.chrome.browser.feedback.HelpAndFeedbackLauncherImpl;
|
||||
@@ -69,6 +72,8 @@ public class PrivacySettings
|
||||
@@ -70,6 +73,8 @@ public class PrivacySettings
|
||||
private static final String PREF_INCOGNITO_LOCK = "incognito_lock";
|
||||
private static final String PREF_PHONE_AS_A_SECURITY_KEY = "phone_as_a_security_key";
|
||||
|
||||
|
@ -68,7 +68,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
private ManagedPreferenceDelegate mManagedPreferenceDelegate;
|
||||
private IncognitoLockSettings mIncognitoLockSettings;
|
||||
private ViewGroup mDialogContainer;
|
||||
@@ -143,7 +148,11 @@ public class PrivacySettings
|
||||
@@ -150,7 +155,11 @@ public class PrivacySettings
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||
String key = preference.getKey();
|
||||
|
@ -81,7 +81,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.CAN_MAKE_PAYMENT_ENABLED, (boolean) newValue);
|
||||
} else if (PREF_ALWAYS_INCOGNITO.equals(key)) {
|
||||
@@ -220,6 +229,11 @@ public class PrivacySettings
|
||||
@@ -227,6 +236,11 @@ public class PrivacySettings
|
||||
prefService.getBoolean(Pref.INCOGNITO_TAB_HISTORY_ENABLED));
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -4305,6 +4305,12 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
@@ -4292,6 +4292,12 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
<message name="IDS_CONTEXTMENU_IMAGE_TITLE" desc="The title of a context menu tab when the item pressed contains more than one type. This indicates that all the actions are related to the image.">
|
||||
IMAGE
|
||||
</message>
|
||||
|
|
|
@ -154,7 +154,7 @@ diff --git a/chrome/browser/preferences/android/java/src/org/chromium/chrome/bro
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -1168,6 +1168,9 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
@@ -1158,6 +1158,9 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
<message name="IDS_CLEAR_BROWSING_DATA_TAB_PERIOD_HOUR" desc="The option to delete browsing data from the last hour.">
|
||||
Last hour
|
||||
</message>
|
||||
|
@ -179,7 +179,7 @@ diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_u
|
|||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
||||
--- a/chrome/common/pref_names.cc
|
||||
+++ b/chrome/common/pref_names.cc
|
||||
@@ -55,6 +55,10 @@ const char kForceEphemeralProfiles[] = "profile.ephemeral_mode";
|
||||
@@ -56,6 +56,10 @@ const char kForceEphemeralProfiles[] = "profile.ephemeral_mode";
|
||||
// A boolean specifying whether the New Tab page is the home page or not.
|
||||
const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ Subject: Allow playing audio in background
|
|||
diff --git a/third_party/blink/renderer/platform/media/web_media_player_impl.cc b/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
||||
--- a/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
||||
+++ b/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
||||
@@ -1211,6 +1211,12 @@ bool WebMediaPlayerImpl::HasAudio() const {
|
||||
@@ -1214,6 +1214,12 @@ bool WebMediaPlayerImpl::HasAudio() const {
|
||||
return pipeline_metadata_.has_audio;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ diff --git a/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
|||
void WebMediaPlayerImpl::EnabledAudioTracksChanged(
|
||||
const WebVector<WebMediaPlayer::TrackId>& enabledTrackIds) {
|
||||
DCHECK(main_task_runner_->BelongsToCurrentThread());
|
||||
@@ -3581,7 +3587,11 @@ bool WebMediaPlayerImpl::ShouldPausePlaybackWhenHidden() const {
|
||||
@@ -3586,7 +3592,11 @@ bool WebMediaPlayerImpl::ShouldPausePlaybackWhenHidden() const {
|
||||
// Audio only stream is allowed to play when in background.
|
||||
// TODO: We should check IsBackgroundOptimizationCandidate here. But we need
|
||||
// to move the logic of checking video frames out of that function.
|
||||
|
@ -39,7 +39,7 @@ diff --git a/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
|||
diff --git a/third_party/blink/renderer/platform/media/web_media_player_impl.h b/third_party/blink/renderer/platform/media/web_media_player_impl.h
|
||||
--- a/third_party/blink/renderer/platform/media/web_media_player_impl.h
|
||||
+++ b/third_party/blink/renderer/platform/media/web_media_player_impl.h
|
||||
@@ -190,6 +190,9 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerImpl
|
||||
@@ -191,6 +191,9 @@ class PLATFORM_EXPORT WebMediaPlayerImpl
|
||||
bool HasVideo() const override;
|
||||
bool HasAudio() const override;
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ diff --git a/third_party/blink/renderer/core/loader/worker_fetch_context.h b/thi
|
|||
diff --git a/third_party/blink/renderer/modules/background_fetch/background_fetch_manager.cc b/third_party/blink/renderer/modules/background_fetch/background_fetch_manager.cc
|
||||
--- a/third_party/blink/renderer/modules/background_fetch/background_fetch_manager.cc
|
||||
+++ b/third_party/blink/renderer/modules/background_fetch/background_fetch_manager.cc
|
||||
@@ -102,6 +102,30 @@ bool ShouldBlockDanglingMarkup(const KURL& request_url) {
|
||||
@@ -101,6 +101,30 @@ bool ShouldBlockDanglingMarkup(const KURL& request_url) {
|
||||
request_url.ProtocolIsInHTTPFamily();
|
||||
}
|
||||
|
||||
|
@ -188,7 +188,7 @@ diff --git a/third_party/blink/renderer/modules/background_fetch/background_fetc
|
|||
scoped_refptr<BlobDataHandle> ExtractBlobHandle(
|
||||
Request* request,
|
||||
ExceptionState& exception_state) {
|
||||
@@ -223,6 +247,13 @@ ScriptPromise BackgroundFetchManager::fetch(
|
||||
@@ -222,6 +246,13 @@ ScriptPromise BackgroundFetchManager::fetch(
|
||||
exception_state);
|
||||
}
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ diff --git a/chrome/browser/ui/singleton_tabs.cc b/chrome/browser/ui/singleton_t
|
|||
diff --git a/components/omnibox/browser/autocomplete_input.cc b/components/omnibox/browser/autocomplete_input.cc
|
||||
--- a/components/omnibox/browser/autocomplete_input.cc
|
||||
+++ b/components/omnibox/browser/autocomplete_input.cc
|
||||
@@ -90,10 +90,15 @@ void OffsetComponentsExcludingScheme(url::Parsed* parts, int offset) {
|
||||
@@ -89,10 +89,15 @@ void OffsetComponentsExcludingScheme(url::Parsed* parts, int offset) {
|
||||
bool HasScheme(const std::u16string& input, const char* scheme) {
|
||||
std::string utf8_input(base::UTF16ToUTF8(input));
|
||||
url::Component view_source_scheme;
|
||||
|
@ -79,7 +79,7 @@ diff --git a/components/omnibox/browser/autocomplete_input.cc b/components/omnib
|
|||
return url::FindAndCompareScheme(utf8_input, scheme, nullptr);
|
||||
}
|
||||
|
||||
@@ -561,7 +566,8 @@ void AutocompleteInput::ParseForEmphasizeComponents(
|
||||
@@ -560,7 +565,8 @@ void AutocompleteInput::ParseForEmphasizeComponents(
|
||||
// For the view-source and blob schemes, we should emphasize the host of the
|
||||
// URL qualified by the view-source or blob prefix.
|
||||
if ((base::LowerCaseEqualsASCII(scheme_str, kViewSourceScheme) ||
|
||||
|
@ -106,7 +106,7 @@ diff --git a/components/url_formatter/url_fixer.cc b/components/url_formatter/ur
|
|||
diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
|
||||
--- a/content/browser/child_process_security_policy_impl.cc
|
||||
+++ b/content/browser/child_process_security_policy_impl.cc
|
||||
@@ -744,6 +744,7 @@ ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl()
|
||||
@@ -747,6 +747,7 @@ ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl()
|
||||
RegisterPseudoScheme(url::kJavaScriptScheme);
|
||||
RegisterPseudoScheme(kViewSourceScheme);
|
||||
RegisterPseudoScheme(kGoogleChromeScheme);
|
||||
|
|
|
@ -77,7 +77,7 @@ diff --git a/chrome/android/chrome_java_resources.gni b/chrome/android/chrome_ja
|
|||
diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni
|
||||
--- a/chrome/android/chrome_java_sources.gni
|
||||
+++ b/chrome/android/chrome_java_sources.gni
|
||||
@@ -902,6 +902,8 @@ chrome_java_sources = [
|
||||
@@ -898,6 +898,8 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/permissions/PermissionSettingsBridge.java",
|
||||
"java/src/org/chromium/chrome/browser/permissions/PermissionUpdateRequester.java",
|
||||
"java/src/org/chromium/chrome/browser/photo_picker/DecoderServiceImpl.java",
|
||||
|
@ -420,7 +420,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabMod
|
|||
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
|
||||
--- a/chrome/app/generated_resources.grd
|
||||
+++ b/chrome/app/generated_resources.grd
|
||||
@@ -11414,6 +11414,16 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
@@ -11534,6 +11534,16 @@ Please help our engineers fix this problem. Tell us what happened right before y
|
||||
Never show this again.
|
||||
</message>
|
||||
|
||||
|
@ -492,7 +492,7 @@ diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
|
|||
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
|
||||
--- a/chrome/browser/browser_process_impl.cc
|
||||
+++ b/chrome/browser/browser_process_impl.cc
|
||||
@@ -1067,6 +1067,26 @@ BrowserProcessImpl::component_updater() {
|
||||
@@ -1065,6 +1065,26 @@ BrowserProcessImpl::component_updater() {
|
||||
return component_updater_.get();
|
||||
}
|
||||
|
||||
|
@ -522,7 +522,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|||
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
|
||||
--- a/chrome/browser/browser_process_impl.h
|
||||
+++ b/chrome/browser/browser_process_impl.h
|
||||
@@ -201,6 +201,7 @@ class BrowserProcessImpl : public BrowserProcess,
|
||||
@@ -200,6 +200,7 @@ class BrowserProcessImpl : public BrowserProcess,
|
||||
#endif
|
||||
|
||||
component_updater::ComponentUpdateService* component_updater() override;
|
||||
|
@ -530,7 +530,7 @@ diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_proc
|
|||
MediaFileSystemRegistry* media_file_system_registry() override;
|
||||
WebRtcLogUploader* webrtc_log_uploader() override;
|
||||
network_time::NetworkTimeTracker* network_time_tracker() override;
|
||||
@@ -379,6 +380,7 @@ class BrowserProcessImpl : public BrowserProcess,
|
||||
@@ -378,6 +379,7 @@ class BrowserProcessImpl : public BrowserProcess,
|
||||
// to concerns over integrity of data shared between profiles,
|
||||
// but some users of component updater only install per-user.
|
||||
std::unique_ptr<component_updater::ComponentUpdateService> component_updater_;
|
||||
|
@ -541,7 +541,7 @@ diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_proc
|
|||
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
||||
--- a/chrome/browser/chrome_browser_main.cc
|
||||
+++ b/chrome/browser/chrome_browser_main.cc
|
||||
@@ -1742,6 +1742,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||
@@ -1727,6 +1727,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||
// will be initialized when the app enters foreground mode.
|
||||
variations_service->set_policy_pref_service(profile->GetPrefs());
|
||||
|
||||
|
@ -579,7 +579,7 @@ diff --git a/chrome/browser/flags/android/cached_feature_flags.cc b/chrome/brows
|
|||
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
@@ -271,6 +271,14 @@ public class CachedFeatureFlags {
|
||||
@@ -272,6 +272,14 @@ public class CachedFeatureFlags {
|
||||
ChromeFeatureList.isEnabled(ChromeFeatureList.BACKGROUND_THREAD_POOL));
|
||||
}
|
||||
|
||||
|
@ -594,7 +594,7 @@ diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/f
|
|||
/**
|
||||
* Caches flags that must take effect on startup but are set via native code.
|
||||
*/
|
||||
@@ -488,5 +496,7 @@ public class CachedFeatureFlags {
|
||||
@@ -489,5 +497,7 @@ public class CachedFeatureFlags {
|
||||
@NativeMethods
|
||||
interface Natives {
|
||||
boolean isNetworkServiceWarmUpEnabled();
|
||||
|
@ -605,7 +605,7 @@ diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/f
|
|||
diff --git a/chrome/browser/net/system_network_context_manager.cc b/chrome/browser/net/system_network_context_manager.cc
|
||||
--- a/chrome/browser/net/system_network_context_manager.cc
|
||||
+++ b/chrome/browser/net/system_network_context_manager.cc
|
||||
@@ -347,6 +347,8 @@ SystemNetworkContextManager::SystemNetworkContextManager(
|
||||
@@ -437,6 +437,8 @@ SystemNetworkContextManager::SystemNetworkContextManager(
|
||||
ssl_config_service_manager_(local_state_),
|
||||
proxy_config_monitor_(local_state_),
|
||||
stub_resolver_config_reader_(local_state_) {
|
||||
|
@ -614,7 +614,7 @@ diff --git a/chrome/browser/net/system_network_context_manager.cc b/chrome/brows
|
|||
#if !BUILDFLAG(IS_ANDROID)
|
||||
// QuicAllowed was not part of Android policy.
|
||||
const base::Value* value =
|
||||
@@ -420,6 +422,8 @@ SystemNetworkContextManager::~SystemNetworkContextManager() {
|
||||
@@ -517,6 +519,8 @@ SystemNetworkContextManager::~SystemNetworkContextManager() {
|
||||
void SystemNetworkContextManager::RegisterPrefs(PrefRegistrySimple* registry) {
|
||||
StubResolverConfigReader::RegisterPrefs(registry);
|
||||
|
||||
|
@ -664,7 +664,7 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
||||
--- a/chrome/common/pref_names.cc
|
||||
+++ b/chrome/common/pref_names.cc
|
||||
@@ -2283,6 +2283,9 @@ const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
|
||||
@@ -2280,6 +2280,9 @@ const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
|
||||
// capture devices without prompt.
|
||||
const char kAudioCaptureAllowedUrls[] = "hardware.audio_capture_allowed_urls";
|
||||
|
||||
|
@ -1823,7 +1823,7 @@ diff --git a/components/subresource_filter/core/common/indexed_ruleset.cc b/comp
|
|||
diff --git a/content/browser/renderer_host/navigation_throttle_runner.cc b/content/browser/renderer_host/navigation_throttle_runner.cc
|
||||
--- a/content/browser/renderer_host/navigation_throttle_runner.cc
|
||||
+++ b/content/browser/renderer_host/navigation_throttle_runner.cc
|
||||
@@ -184,11 +184,6 @@ void NavigationThrottleRunner::RegisterNavigationThrottles() {
|
||||
@@ -180,11 +180,6 @@ void NavigationThrottleRunner::RegisterNavigationThrottles() {
|
||||
// than other throttles that might care about those navigations, e.g.
|
||||
// throttles handling pages with 407 errors that require extra authentication.
|
||||
AddThrottle(HttpErrorNavigationThrottle::MaybeCreateThrottleFor(*request));
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Disable DRM media origin IDs preprovisioning
|
|||
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
|
||||
--- a/media/base/media_switches.cc
|
||||
+++ b/media/base/media_switches.cc
|
||||
@@ -671,7 +671,7 @@ const base::Feature kMediaDrmPersistentLicense{
|
||||
@@ -679,7 +679,7 @@ const base::Feature kMediaDrmPersistentLicense{
|
||||
// MediaDrmBridge. If disabled, MediaDrmBridge will get unprovisioned origin IDs
|
||||
// which will trigger provisioning process after MediaDrmBridge is created.
|
||||
const base::Feature kMediaDrmPreprovisioning{"MediaDrmPreprovisioning",
|
||||
|
|
|
@ -7,18 +7,19 @@ Permanently removes FLoC support, disabling the download of LSH clusters,
|
|||
the marking the history navigation and the javascript API and permission policies.
|
||||
Also added the disabling of blink features through the DisabledForBromite tag
|
||||
---
|
||||
.../java/res/xml/privacy_preferences.xml | 4 --
|
||||
.../privacy/settings/PrivacySettings.java | 16 ------
|
||||
.../java/res/xml/privacy_preferences.xml | 4 ---
|
||||
.../privacy/settings/PrivacySettings.java | 22 ------------
|
||||
.../browser/chrome_content_browser_client.cc | 3 ++
|
||||
.../privacy_sandbox/generated_floc_pref.cc | 2 +-
|
||||
.../history/core/browser/history_backend.cc | 13 +----
|
||||
.../history/core/browser/history_backend.cc | 13 +------
|
||||
.../history/core/browser/history_service.cc | 2 +-
|
||||
.../privacy_sandbox/privacy_sandbox_prefs.cc | 4 +-
|
||||
.../privacy_sandbox_settings.cc | 51 +++++--------------
|
||||
.../privacy_sandbox/privacy_sandbox_prefs.cc | 4 +--
|
||||
.../privacy_sandbox_settings.cc | 34 +++++++++++--------
|
||||
.../privacy_sandbox_settings.h | 1 -
|
||||
9 files changed, 21 insertions(+), 75 deletions(-)
|
||||
9 files changed, 28 insertions(+), 57 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
index 6d923f9ad614..f34c89a40dac 100644
|
||||
--- a/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
+++ b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
@@ -70,10 +70,6 @@
|
||||
|
@ -33,9 +34,10 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
android:key="services_category"
|
||||
android:title="@string/services_category_title">
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
index 69165efadcd5..6916cbd300ad 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -73,7 +73,6 @@ public class PrivacySettings
|
||||
@@ -74,7 +74,6 @@ public class PrivacySettings
|
||||
private static final String PREF_SECURE_DNS = "secure_dns";
|
||||
private static final String PREF_DO_NOT_TRACK = "do_not_track";
|
||||
private static final String PREF_CLEAR_BROWSING_DATA = "clear_browsing_data";
|
||||
|
@ -43,23 +45,29 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
private static final String PREF_PRIVACY_REVIEW = "privacy_review";
|
||||
private static final String PREF_INCOGNITO_LOCK = "incognito_lock";
|
||||
private static final String PREF_PHONE_AS_A_SECURITY_KEY = "phone_as_a_security_key";
|
||||
@@ -103,15 +102,6 @@ public class PrivacySettings
|
||||
@@ -104,21 +103,6 @@ public class PrivacySettings
|
||||
SettingsUtils.addPreferencesFromResource(this, R.xml.privacy_preferences);
|
||||
getActivity().setTitle(R.string.prefs_privacy_security);
|
||||
|
||||
- Preference sandboxPreference = findPreference(PREF_PRIVACY_SANDBOX);
|
||||
- sandboxPreference.setSummary(PrivacySandboxSettingsFragment.getStatusString(getContext()));
|
||||
- // Overwrite the click listener to pass a correct referrer to the fragment.
|
||||
- sandboxPreference.setOnPreferenceClickListener(preference -> {
|
||||
- PrivacySandboxSettingsFragmentV3.launchPrivacySandboxSettings(getContext(),
|
||||
- new SettingsLauncherImpl(), PrivacySandboxReferrer.PRIVACY_SETTINGS);
|
||||
- return true;
|
||||
- });
|
||||
- // Hide the Privacy Sandbox if it is restricted.
|
||||
- if (PrivacySandboxBridge.isPrivacySandboxRestricted()) {
|
||||
- getPreferenceScreen().removePreference(sandboxPreference);
|
||||
- } else {
|
||||
- sandboxPreference.setSummary(
|
||||
- PrivacySandboxSettingsFragment.getStatusString(getContext()));
|
||||
- // Overwrite the click listener to pass a correct referrer to the fragment.
|
||||
- sandboxPreference.setOnPreferenceClickListener(preference -> {
|
||||
- PrivacySandboxSettingsFragmentV3.launchPrivacySandboxSettings(getContext(),
|
||||
- new SettingsLauncherImpl(), PrivacySandboxReferrer.PRIVACY_SETTINGS);
|
||||
- return true;
|
||||
- });
|
||||
- }
|
||||
-
|
||||
Preference privacyReviewPreference = findPreference(PREF_PRIVACY_REVIEW);
|
||||
if (!ChromeFeatureList.isEnabled(ChromeFeatureList.PRIVACY_REVIEW)) {
|
||||
getPreferenceScreen().removePreference(privacyReviewPreference);
|
||||
@@ -284,12 +274,6 @@ public class PrivacySettings
|
||||
@@ -291,12 +275,6 @@ public class PrivacySettings
|
||||
secureDnsPref.setSummary(SecureDnsSettings.getSummary(getContext()));
|
||||
}
|
||||
|
||||
|
@ -73,9 +81,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
}
|
||||
|
||||
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
||||
index 78a02124eded..4f103751add6 100644
|
||||
--- a/chrome/browser/chrome_content_browser_client.cc
|
||||
+++ b/chrome/browser/chrome_content_browser_client.cc
|
||||
@@ -2808,6 +2808,9 @@ bool ChromeContentBrowserClient::IsConversionMeasurementOperationAllowed(
|
||||
@@ -2829,6 +2829,9 @@ bool ChromeContentBrowserClient::IsConversionMeasurementOperationAllowed(
|
||||
const url::Origin* impression_origin,
|
||||
const url::Origin* conversion_origin,
|
||||
const url::Origin* reporting_origin) {
|
||||
|
@ -84,8 +93,9 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|||
+ return false;
|
||||
Profile* profile = Profile::FromBrowserContext(browser_context);
|
||||
|
||||
PrivacySandboxSettings* privacy_sandbox_settings =
|
||||
auto* privacy_sandbox_settings =
|
||||
diff --git a/chrome/browser/privacy_sandbox/generated_floc_pref.cc b/chrome/browser/privacy_sandbox/generated_floc_pref.cc
|
||||
index 1db016d2945b..a96e14574d0f 100644
|
||||
--- a/chrome/browser/privacy_sandbox/generated_floc_pref.cc
|
||||
+++ b/chrome/browser/privacy_sandbox/generated_floc_pref.cc
|
||||
@@ -35,7 +35,7 @@ extensions::settings_private::SetPrefResult GeneratedFlocPref::SetPref(
|
||||
|
@ -98,9 +108,10 @@ diff --git a/chrome/browser/privacy_sandbox/generated_floc_pref.cc b/chrome/brow
|
|||
return extensions::settings_private::SetPrefResult::SUCCESS;
|
||||
}
|
||||
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
|
||||
index ecaa27f677bd..20ffb61a96bc 100644
|
||||
--- a/components/history/core/browser/history_backend.cc
|
||||
+++ b/components/history/core/browser/history_backend.cc
|
||||
@@ -495,18 +495,7 @@ void HistoryBackend::SetBrowsingTopicsAllowed(ContextID context_id,
|
||||
@@ -496,18 +496,7 @@ void HistoryBackend::SetBrowsingTopicsAllowed(ContextID context_id,
|
||||
if (!visit_id)
|
||||
return;
|
||||
|
||||
|
@ -121,9 +132,10 @@ diff --git a/components/history/core/browser/history_backend.cc b/components/his
|
|||
}
|
||||
|
||||
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
|
||||
index 71a052cf8975..a55d9c1dbee5 100644
|
||||
--- a/components/history/core/browser/history_service.cc
|
||||
+++ b/components/history/core/browser/history_service.cc
|
||||
@@ -392,7 +392,7 @@ void HistoryService::AddPage(const GURL& url,
|
||||
@@ -393,7 +393,7 @@ void HistoryService::AddPage(const GURL& url,
|
||||
AddPage(HistoryAddPageArgs(
|
||||
url, time, context_id, nav_entry_id, referrer, redirects, transition,
|
||||
!ui::PageTransitionIsMainFrame(transition), visit_source,
|
||||
|
@ -133,9 +145,10 @@ diff --git a/components/history/core/browser/history_service.cc b/components/his
|
|||
|
||||
void HistoryService::AddPage(const GURL& url,
|
||||
diff --git a/components/privacy_sandbox/privacy_sandbox_prefs.cc b/components/privacy_sandbox/privacy_sandbox_prefs.cc
|
||||
index 393bb02a426f..cace522fec0a 100644
|
||||
--- a/components/privacy_sandbox/privacy_sandbox_prefs.cc
|
||||
+++ b/components/privacy_sandbox/privacy_sandbox_prefs.cc
|
||||
@@ -48,7 +48,7 @@ namespace privacy_sandbox {
|
||||
@@ -71,7 +71,7 @@ namespace privacy_sandbox {
|
||||
|
||||
void RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
registry->RegisterBooleanPref(
|
||||
|
@ -143,22 +156,23 @@ diff --git a/components/privacy_sandbox/privacy_sandbox_prefs.cc b/components/pr
|
|||
+ prefs::kPrivacySandboxApisEnabled, false,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterBooleanPref(prefs::kPrivacySandboxApisEnabledV2, false);
|
||||
registry->RegisterBooleanPref(
|
||||
@@ -60,7 +60,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
registry->RegisterTimePref(prefs::kPrivacySandboxFlocDataAccessibleSince,
|
||||
registry->RegisterBooleanPref(prefs::kPrivacySandboxApisEnabledV2Init, false);
|
||||
@@ -88,7 +88,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
registry->RegisterTimePref(prefs::kPrivacySandboxTopicsDataAccessibleSince,
|
||||
base::Time());
|
||||
registry->RegisterBooleanPref(
|
||||
- prefs::kPrivacySandboxFlocEnabled, true,
|
||||
+ prefs::kPrivacySandboxFlocEnabled, false,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterListPref(prefs::kPrivacySandboxBlockedTopics);
|
||||
registry->RegisterDictionaryPref(prefs::kPrivacySandboxFledgeJoinBlocked);
|
||||
registry->RegisterBooleanPref(prefs::kPrivacySandboxNoticeDisplayed, false);
|
||||
diff --git a/components/privacy_sandbox/privacy_sandbox_settings.cc b/components/privacy_sandbox/privacy_sandbox_settings.cc
|
||||
index 3f43dc20222c..748cdaf32293 100644
|
||||
--- a/components/privacy_sandbox/privacy_sandbox_settings.cc
|
||||
+++ b/components/privacy_sandbox/privacy_sandbox_settings.cc
|
||||
@@ -82,8 +82,7 @@ PrivacySandboxSettings::PrivacySandboxSettings(
|
||||
bool incognito_profile)
|
||||
: host_content_settings_map_(host_content_settings_map),
|
||||
@@ -67,8 +67,7 @@ PrivacySandboxSettings::PrivacySandboxSettings(
|
||||
: delegate_(std::move(delegate)),
|
||||
host_content_settings_map_(host_content_settings_map),
|
||||
cookie_settings_(cookie_settings),
|
||||
- pref_service_(pref_service),
|
||||
- incognito_profile_(incognito_profile) {
|
||||
|
@ -166,98 +180,77 @@ diff --git a/components/privacy_sandbox/privacy_sandbox_settings.cc b/components
|
|||
DCHECK(pref_service_);
|
||||
DCHECK(host_content_settings_map_);
|
||||
DCHECK(cookie_settings_);
|
||||
@@ -104,22 +103,13 @@ PrivacySandboxSettings::PrivacySandboxSettings(
|
||||
@@ -88,7 +87,8 @@ PrivacySandboxSettings::PrivacySandboxSettings(
|
||||
|
||||
PrivacySandboxSettings::~PrivacySandboxSettings() = default;
|
||||
|
||||
bool PrivacySandboxSettings::IsFlocAllowed() const {
|
||||
- return pref_service_->GetBoolean(prefs::kPrivacySandboxFlocEnabled) &&
|
||||
- IsPrivacySandboxEnabled();
|
||||
+ return false;
|
||||
-bool PrivacySandboxSettings::IsTopicsAllowed() const {
|
||||
+bool PrivacySandboxSettings::IsTopicsAllowed() const { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
// Topics API calculation should be prevented if the user has blocked 3PC
|
||||
// cookies, as there will be no context specific check.
|
||||
const auto cookie_controls_mode =
|
||||
@@ -119,7 +119,8 @@ bool PrivacySandboxSettings::IsTopicsAllowedForContext(
|
||||
cookie_settings);
|
||||
}
|
||||
|
||||
bool PrivacySandboxSettings::IsFlocAllowedForContext(
|
||||
const GURL& url,
|
||||
const absl::optional<url::Origin>& top_frame_origin) const {
|
||||
- // If FLoC is disabled completely, it is not available in any context.
|
||||
- if (!IsFlocAllowed())
|
||||
- return false;
|
||||
-
|
||||
- ContentSettingsForOneType cookie_settings;
|
||||
- cookie_settings_->GetCookieSettings(&cookie_settings);
|
||||
-
|
||||
- return IsPrivacySandboxEnabledForContext(url, top_frame_origin,
|
||||
- cookie_settings);
|
||||
+ return false;
|
||||
}
|
||||
-bool PrivacySandboxSettings::IsTopicAllowed(const CanonicalTopic& topic) {
|
||||
+bool PrivacySandboxSettings::IsTopicAllowed(const CanonicalTopic& topic) { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
auto* blocked_topics =
|
||||
pref_service_->GetList(prefs::kPrivacySandboxBlockedTopics);
|
||||
|
||||
base::Time PrivacySandboxSettings::FlocDataAccessibleSince() const {
|
||||
@@ -128,11 +118,8 @@ base::Time PrivacySandboxSettings::FlocDataAccessibleSince() const {
|
||||
|
||||
void PrivacySandboxSettings::SetFlocDataAccessibleFromNow(
|
||||
bool reset_calculate_timer) const {
|
||||
- pref_service_->SetTime(prefs::kPrivacySandboxFlocDataAccessibleSince,
|
||||
- base::Time::Now());
|
||||
-
|
||||
- for (auto& observer : observers_)
|
||||
- observer.OnFlocDataAccessibleSinceUpdated(reset_calculate_timer);
|
||||
+ // don't tell anyone, thanks.
|
||||
+ pref_service_->ClearPref(prefs::kPrivacySandboxFlocDataAccessibleSince);
|
||||
}
|
||||
@@ -187,7 +188,8 @@ base::Time PrivacySandboxSettings::TopicsDataAccessibleSince() const {
|
||||
|
||||
bool PrivacySandboxSettings::IsConversionMeasurementAllowed(
|
||||
@@ -262,6 +249,8 @@ bool PrivacySandboxSettings::IsFledgeJoiningAllowed(
|
||||
bool PrivacySandboxSettings::IsFledgeAllowed(
|
||||
const url::Origin& top_frame_origin,
|
||||
const url::Origin& auction_party) {
|
||||
+ if ((true))
|
||||
+ return false;
|
||||
// If the sandbox is disabled, then FLEDGE is never allowed.
|
||||
if (!IsPrivacySandboxEnabled())
|
||||
return false;
|
||||
@@ -290,30 +279,17 @@ std::vector<GURL> PrivacySandboxSettings::FilterFledgeAllowedParties(
|
||||
- const url::Origin& reporting_origin) const {
|
||||
+ const url::Origin& reporting_origin) const { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
ContentSettingsForOneType cookie_settings;
|
||||
cookie_settings_->GetCookieSettings(&cookie_settings);
|
||||
|
||||
@@ -291,7 +293,8 @@ void PrivacySandboxSettings::ClearFledgeJoiningAllowedSettings(
|
||||
}
|
||||
|
||||
bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const {
|
||||
- // Which preference is consulted is dependent on whether release 3 of the
|
||||
- // settings is available.
|
||||
- if (base::FeatureList::IsEnabled(privacy_sandbox::kPrivacySandboxSettings3)) {
|
||||
- // For Privacy Sandbox Settings 3, APIs are disabled in incognito.
|
||||
- if (incognito_profile_)
|
||||
- return false;
|
||||
-
|
||||
- // The V2 pref was introduced with the 3rd Privacy Sandbox release.
|
||||
- return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabledV2);
|
||||
- }
|
||||
-
|
||||
- return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabled);
|
||||
+ return false;
|
||||
bool PrivacySandboxSettings::IsFledgeJoiningAllowed(
|
||||
- const url::Origin& top_frame_origin) const {
|
||||
+ const url::Origin& top_frame_origin) const { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
DictionaryPrefUpdate scoped_pref_update(
|
||||
pref_service_, prefs::kPrivacySandboxFledgeJoinBlocked);
|
||||
auto* pref_data = scoped_pref_update.Get();
|
||||
@@ -338,7 +341,8 @@ std::vector<GURL> PrivacySandboxSettings::FilterFledgeAllowedParties(
|
||||
return allowed_parties;
|
||||
}
|
||||
|
||||
void PrivacySandboxSettings::SetPrivacySandboxEnabled(bool enabled) {
|
||||
pref_service_->SetBoolean(prefs::kPrivacySandboxManuallyControlled, true);
|
||||
-bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const {
|
||||
+bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
// If the delegate is restricting access, or indicates confirmation has not
|
||||
// occurred, the Privacy Sandbox is disabled.
|
||||
if (delegate_->IsPrivacySandboxRestricted() ||
|
||||
@@ -374,7 +378,8 @@ bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const {
|
||||
return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabled);
|
||||
}
|
||||
|
||||
- // Only apply the decision to the appropriate preference. Confirmation logic
|
||||
- // DCHECKS that the user has not been able to enable the V2 preference
|
||||
- // without seeing a dialog.
|
||||
+ // in Bromite never enable the privacy sandbox
|
||||
-void PrivacySandboxSettings::SetPrivacySandboxEnabled(bool enabled) {
|
||||
+void PrivacySandboxSettings::SetPrivacySandboxEnabled(bool enabled) { // disabled in Bromite
|
||||
+ enabled = false;
|
||||
// Only apply the decision to the appropriate preference.
|
||||
if (base::FeatureList::IsEnabled(privacy_sandbox::kPrivacySandboxSettings3)) {
|
||||
- pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabledV2, enabled);
|
||||
+ pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabledV2, false);
|
||||
} else {
|
||||
- pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabled, enabled);
|
||||
+ pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabled, false);
|
||||
pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabledV2, enabled);
|
||||
@@ -383,7 +388,8 @@ void PrivacySandboxSettings::SetPrivacySandboxEnabled(bool enabled) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -327,7 +303,6 @@ bool PrivacySandboxSettings::IsTrustTokensAllowed() {
|
||||
}
|
||||
|
||||
void PrivacySandboxSettings::OnCookiesCleared() {
|
||||
- SetFlocDataAccessibleFromNow(/*reset_calculate_timer=*/false);
|
||||
}
|
||||
|
||||
void PrivacySandboxSettings::OnPrivacySandboxPrefChanged() {
|
||||
@@ -351,8 +326,8 @@ void PrivacySandboxSettings::RemoveObserver(Observer* observer) {
|
||||
-bool PrivacySandboxSettings::IsTrustTokensAllowed() {
|
||||
+bool PrivacySandboxSettings::IsTrustTokensAllowed() { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
// The PrivacySandboxSettings is only involved in Trust Token access
|
||||
// decisions when the Release 3 flag is enabled.
|
||||
if (!base::FeatureList::IsEnabled(privacy_sandbox::kPrivacySandboxSettings3))
|
||||
@@ -428,8 +434,8 @@ PrivacySandboxSettings::PrivacySandboxSettings() = default;
|
||||
bool PrivacySandboxSettings::IsPrivacySandboxEnabledForContext(
|
||||
const GURL& url,
|
||||
const absl::optional<url::Origin>& top_frame_origin,
|
||||
|
@ -267,17 +260,32 @@ diff --git a/components/privacy_sandbox/privacy_sandbox_settings.cc b/components
|
|||
+ if ((true))
|
||||
return false;
|
||||
|
||||
// TODO (crbug.com/1155504): Bypassing the CookieSettings class to access
|
||||
// Third party cookies must also be available for this context. An empty site
|
||||
@@ -438,9 +444,9 @@ bool PrivacySandboxSettings::IsPrivacySandboxEnabledForContext(
|
||||
top_frame_origin);
|
||||
}
|
||||
|
||||
-void PrivacySandboxSettings::SetTopicsDataAccessibleFromNow() const {
|
||||
- pref_service_->SetTime(prefs::kPrivacySandboxTopicsDataAccessibleSince,
|
||||
- base::Time::Now());
|
||||
+void PrivacySandboxSettings::SetTopicsDataAccessibleFromNow() const { // disabled in Bromite
|
||||
+ pref_service_->ClearPref(prefs::kPrivacySandboxTopicsDataAccessibleSince);
|
||||
+ if ((true)) return;
|
||||
|
||||
for (auto& observer : observers_)
|
||||
observer.OnTopicsDataAccessibleSinceUpdated();
|
||||
diff --git a/components/privacy_sandbox/privacy_sandbox_settings.h b/components/privacy_sandbox/privacy_sandbox_settings.h
|
||||
index b1a4b3fc4723..9087f76df127 100644
|
||||
--- a/components/privacy_sandbox/privacy_sandbox_settings.h
|
||||
+++ b/components/privacy_sandbox/privacy_sandbox_settings.h
|
||||
@@ -163,7 +163,6 @@ class PrivacySandboxSettings : public KeyedService {
|
||||
@@ -217,7 +217,6 @@ class PrivacySandboxSettings : public KeyedService {
|
||||
scoped_refptr<content_settings::CookieSettings> cookie_settings_;
|
||||
raw_ptr<PrefService> pref_service_;
|
||||
PrefChangeRegistrar pref_change_registrar_;
|
||||
- bool incognito_profile_;
|
||||
};
|
||||
|
||||
#endif // COMPONENTS_PRIVACY_SANDBOX_PRIVACY_SANDBOX_SETTINGS_H_
|
||||
--
|
||||
2.25.1
|
||||
} // namespace privacy_sandbox
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ diff --git a/components/feed/core/shared_prefs/pref_names.cc b/components/feed/c
|
|||
diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/features.cc
|
||||
--- a/components/ntp_snippets/features.cc
|
||||
+++ b/components/ntp_snippets/features.cc
|
||||
@@ -39,7 +39,7 @@ const base::Feature* const kAllFeatures[] = {
|
||||
@@ -38,7 +38,7 @@ const base::Feature* const kAllFeatures[] = {
|
||||
&kOptionalImagesEnabledFeature};
|
||||
|
||||
const base::Feature kArticleSuggestionsFeature{
|
||||
|
@ -64,7 +64,7 @@ diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/featu
|
|||
|
||||
const base::Feature kRemoteSuggestionsEmulateM58FetchingSchedule{
|
||||
"RemoteSuggestionsEmulateM58FetchingSchedule",
|
||||
@@ -69,7 +69,7 @@ const char kNotificationsDailyLimit[] = "daily_limit";
|
||||
@@ -68,7 +68,7 @@ const char kNotificationsDailyLimit[] = "daily_limit";
|
||||
const char kNotificationsIgnoredLimitParam[] = "ignored_limit";
|
||||
|
||||
const base::Feature kKeepPrefetchedContentSuggestions{
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Disable all promo dialogs
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
@@ -878,7 +878,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@@ -876,7 +876,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
* displayed.
|
||||
*/
|
||||
private boolean triggerPromo(boolean intentWithEffect) {
|
||||
|
@ -18,7 +18,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/Tab
|
|||
if (CommandLine.getInstance().hasSwitch(ChromeSwitches.DISABLE_STARTUP_PROMOS)) {
|
||||
return false;
|
||||
}
|
||||
@@ -913,8 +913,8 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@@ -911,8 +911,8 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
preferenceManager.writeBoolean(
|
||||
ChromePreferenceKeys.PROMOS_SKIPPED_ON_FIRST_START, true);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ diff --git a/chrome/browser/feed/android/java/src/org/chromium/chrome/browser/fe
|
|||
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFeatureFlags.java
|
||||
@@ -82,7 +82,7 @@ public class CachedFeatureFlags {
|
||||
@@ -83,7 +83,7 @@ public class CachedFeatureFlags {
|
||||
.put(ChromeFeatureList.TAB_TO_GTS_ANIMATION, true)
|
||||
.put(ChromeFeatureList.TEST_DEFAULT_DISABLED, false)
|
||||
.put(ChromeFeatureList.TEST_DEFAULT_ENABLED, true)
|
||||
|
|
|
@ -7,19 +7,20 @@ Disable seed-based field trials
|
|||
android_webview/nonembedded/BUILD.gn | 2 --
|
||||
.../services/VariationsSeedServer.java | 2 --
|
||||
.../chrome_metrics_services_manager_client.cc | 2 ++
|
||||
components/ukm/ukm_recorder_impl.cc | 3 +++
|
||||
components/ukm/ukm_recorder_impl.cc | 3 ++
|
||||
.../firstrun/VariationsSeedBridge.java | 2 +-
|
||||
.../firstrun/VariationsSeedFetcher.java | 23 ++++---------------
|
||||
.../firstrun/VariationsSeedFetcher.java | 28 ++++---------------
|
||||
.../variations/net/omnibox_http_headers.cc | 2 +-
|
||||
.../variations/net/variations_http_headers.cc | 3 +++
|
||||
.../service/variations_field_trial_creator.cc | 18 +++------------
|
||||
.../variations/service/variations_service.cc | 15 +++---------
|
||||
10 files changed, 20 insertions(+), 52 deletions(-)
|
||||
.../variations/net/variations_http_headers.cc | 3 ++
|
||||
.../service/variations_field_trial_creator.cc | 3 +-
|
||||
.../variations/service/variations_service.cc | 15 ++--------
|
||||
10 files changed, 21 insertions(+), 41 deletions(-)
|
||||
|
||||
diff --git a/android_webview/nonembedded/BUILD.gn b/android_webview/nonembedded/BUILD.gn
|
||||
index e691b7d78f6a..3cded7b19104 100644
|
||||
--- a/android_webview/nonembedded/BUILD.gn
|
||||
+++ b/android_webview/nonembedded/BUILD.gn
|
||||
@@ -100,7 +100,6 @@ android_library("services_java") {
|
||||
@@ -101,7 +101,6 @@ android_library("services_java") {
|
||||
sources = [
|
||||
"java/src/org/chromium/android_webview/services/AwMinidumpUploadJobService.java",
|
||||
"java/src/org/chromium/android_webview/services/AwMinidumpUploaderDelegate.java",
|
||||
|
@ -27,7 +28,7 @@ diff --git a/android_webview/nonembedded/BUILD.gn b/android_webview/nonembedded/
|
|||
"java/src/org/chromium/android_webview/services/ComponentUpdaterSafeModeUtils.java",
|
||||
"java/src/org/chromium/android_webview/services/ComponentsProviderPathUtil.java",
|
||||
"java/src/org/chromium/android_webview/services/ComponentsProviderService.java",
|
||||
@@ -111,7 +110,6 @@ android_library("services_java") {
|
||||
@@ -112,7 +111,6 @@ android_library("services_java") {
|
||||
"java/src/org/chromium/android_webview/services/MetricsUploadService.java",
|
||||
"java/src/org/chromium/android_webview/services/SafeModeContentProvider.java",
|
||||
"java/src/org/chromium/android_webview/services/SafeModeService.java",
|
||||
|
@ -36,6 +37,7 @@ diff --git a/android_webview/nonembedded/BUILD.gn b/android_webview/nonembedded/
|
|||
]
|
||||
deps = [
|
||||
diff --git a/android_webview/nonembedded/java/src/org/chromium/android_webview/services/VariationsSeedServer.java b/android_webview/nonembedded/java/src/org/chromium/android_webview/services/VariationsSeedServer.java
|
||||
index fc11aaa8cb28..7934f40530e4 100644
|
||||
--- a/android_webview/nonembedded/java/src/org/chromium/android_webview/services/VariationsSeedServer.java
|
||||
+++ b/android_webview/nonembedded/java/src/org/chromium/android_webview/services/VariationsSeedServer.java
|
||||
@@ -30,8 +30,6 @@ public class VariationsSeedServer extends Service {
|
||||
|
@ -48,6 +50,7 @@ diff --git a/android_webview/nonembedded/java/src/org/chromium/android_webview/s
|
|||
};
|
||||
|
||||
diff --git a/chrome/browser/metrics/chrome_metrics_services_manager_client.cc b/chrome/browser/metrics/chrome_metrics_services_manager_client.cc
|
||||
index a60a8007ac10..50324dbdf70d 100644
|
||||
--- a/chrome/browser/metrics/chrome_metrics_services_manager_client.cc
|
||||
+++ b/chrome/browser/metrics/chrome_metrics_services_manager_client.cc
|
||||
@@ -190,6 +190,8 @@ ChromeMetricsServicesManagerClient::GetMetricsStateManagerForTesting() {
|
||||
|
@ -60,6 +63,7 @@ diff --git a/chrome/browser/metrics/chrome_metrics_services_manager_client.cc b/
|
|||
// sampling. If they don't match, then clients will be shuffled into different
|
||||
// groups when the server config takes over from the fallback trial.
|
||||
diff --git a/components/ukm/ukm_recorder_impl.cc b/components/ukm/ukm_recorder_impl.cc
|
||||
index 70f51137e3d9..f548aefef607 100644
|
||||
--- a/components/ukm/ukm_recorder_impl.cc
|
||||
+++ b/components/ukm/ukm_recorder_impl.cc
|
||||
@@ -191,6 +191,9 @@ UkmRecorderImpl::~UkmRecorderImpl() = default;
|
||||
|
@ -73,6 +77,7 @@ diff --git a/components/ukm/ukm_recorder_impl.cc b/components/ukm/ukm_recorder_i
|
|||
static const char kSampledGroup_Other[] = "Sampled_NoSeed_Other";
|
||||
const char* sampled_group = kSampledGroup_Other;
|
||||
diff --git a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java
|
||||
index 26110d53f54c..81bdb2302cc1 100644
|
||||
--- a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java
|
||||
+++ b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedBridge.java
|
||||
@@ -51,7 +51,7 @@ public class VariationsSeedBridge {
|
||||
|
@ -85,9 +90,10 @@ diff --git a/components/variations/android/java/src/org/chromium/components/vari
|
|||
.edit()
|
||||
.remove(VARIATIONS_FIRST_RUN_SEED_BASE64)
|
||||
diff --git a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
||||
index 67d6d85c16a0..ce59d88d4048 100644
|
||||
--- a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
||||
+++ b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
||||
@@ -70,7 +70,7 @@ public class VariationsSeedFetcher {
|
||||
@@ -75,7 +75,7 @@ public class VariationsSeedFetcher {
|
||||
}
|
||||
|
||||
private static final String VARIATIONS_SERVER_URL =
|
||||
|
@ -96,10 +102,12 @@ diff --git a/components/variations/android/java/src/org/chromium/components/vari
|
|||
|
||||
private static final int READ_TIMEOUT = 3000; // time in ms
|
||||
private static final int REQUEST_TIMEOUT = 1000; // time in ms
|
||||
@@ -209,24 +209,9 @@ public class VariationsSeedFetcher {
|
||||
@@ -271,29 +271,13 @@ public class VariationsSeedFetcher {
|
||||
*/
|
||||
public void fetchSeed(String restrictMode, String milestone, String channel) {
|
||||
assert !ThreadUtils.runningOnUiThread();
|
||||
// Prevent multiple simultaneous fetches
|
||||
synchronized (sLock) {
|
||||
- // Prevent multiple simultaneous fetches
|
||||
- synchronized (sLock) {
|
||||
- SharedPreferences prefs = ContextUtils.getAppSharedPreferences();
|
||||
- // Early return if an attempt has already been made to fetch the seed, even if it
|
||||
- // failed. Only attempt to get the initial Java seed once, since a failure probably
|
||||
|
@ -110,10 +118,11 @@ diff --git a/components/variations/android/java/src/org/chromium/components/vari
|
|||
- || VariationsSeedBridge.hasNativePref()) {
|
||||
- return;
|
||||
- }
|
||||
+ synchronized (sLock) {
|
||||
+ VariationsSeedBridge.clearFirstRunPrefs();
|
||||
|
||||
- SeedFetchInfo fetchInfo =
|
||||
- downloadContent(VariationsPlatform.ANDROID, restrictMode, milestone, channel);
|
||||
- SeedFetchInfo fetchInfo = downloadContent(
|
||||
- VariationsPlatform.ANDROID, restrictMode, milestone, channel, null);
|
||||
- if (fetchInfo.seedInfo != null) {
|
||||
- SeedInfo info = fetchInfo.seedInfo;
|
||||
- VariationsSeedBridge.setVariationsFirstRunSeed(info.seedData, info.signature,
|
||||
|
@ -122,17 +131,22 @@ diff --git a/components/variations/android/java/src/org/chromium/components/vari
|
|||
+ SharedPreferences prefs = ContextUtils.getAppSharedPreferences();
|
||||
// VARIATIONS_INITIALIZED_PREF should still be set to true when exceptions occur
|
||||
prefs.edit().putBoolean(VARIATIONS_INITIALIZED_PREF, true).apply();
|
||||
}
|
||||
@@ -255,7 +240,7 @@ public class VariationsSeedFetcher {
|
||||
* @param channel the channel parameter to pass to the server via a URL param.
|
||||
- }
|
||||
+ }
|
||||
}
|
||||
|
||||
private void recordFetchResultOrCode(int resultOrCode) {
|
||||
@@ -320,7 +304,7 @@ public class VariationsSeedFetcher {
|
||||
* @param curSeedInfo optional currently saved seed info to set the `If-None-Match` header.
|
||||
* @return the object holds the request result and seed data with its related header fields.
|
||||
*/
|
||||
- public SeedFetchInfo downloadContent(@VariationsPlatform int platform, String restrictMode,
|
||||
+ private SeedFetchInfo downloadContent(@VariationsPlatform int platform, String restrictMode,
|
||||
String milestone, String channel) {
|
||||
String milestone, String channel, @Nullable SeedInfo curSeedInfo) {
|
||||
SeedFetchInfo fetchInfo = new SeedFetchInfo();
|
||||
HttpURLConnection connection = null;
|
||||
diff --git a/components/variations/net/omnibox_http_headers.cc b/components/variations/net/omnibox_http_headers.cc
|
||||
index d5a832ac477b..063caa86ace9 100644
|
||||
--- a/components/variations/net/omnibox_http_headers.cc
|
||||
+++ b/components/variations/net/omnibox_http_headers.cc
|
||||
@@ -21,7 +21,7 @@ const char kOmniboxOnDeviceSuggestionsHeader[] =
|
||||
|
@ -145,6 +159,7 @@ diff --git a/components/variations/net/omnibox_http_headers.cc b/components/vari
|
|||
std::string GetHeaderValue() {
|
||||
const std::string group =
|
||||
diff --git a/components/variations/net/variations_http_headers.cc b/components/variations/net/variations_http_headers.cc
|
||||
index a93f5076f935..71fb6e048fca 100644
|
||||
--- a/components/variations/net/variations_http_headers.cc
|
||||
+++ b/components/variations/net/variations_http_headers.cc
|
||||
@@ -238,6 +238,9 @@ class VariationsHeaderHelper {
|
||||
|
@ -158,54 +173,24 @@ diff --git a/components/variations/net/variations_http_headers.cc b/components/v
|
|||
|
||||
// Note the criteria for attaching client experiment headers:
|
||||
diff --git a/components/variations/service/variations_field_trial_creator.cc b/components/variations/service/variations_field_trial_creator.cc
|
||||
index 4690e1bc831d..d79c3ce2c1c5 100644
|
||||
--- a/components/variations/service/variations_field_trial_creator.cc
|
||||
+++ b/components/variations/service/variations_field_trial_creator.cc
|
||||
@@ -158,20 +158,6 @@ Study::CpuArchitecture GetCurrentCpuArchitecture() {
|
||||
@@ -159,7 +159,8 @@ Study::CpuArchitecture GetCurrentCpuArchitecture() {
|
||||
// "--variations-server-url" switches are passed. It is however possible to
|
||||
// apply the testing config as well as specify additional field trials (using
|
||||
// "--force-fieldtrials") by using the "--enable-field-trial-config" switch.
|
||||
-bool ShouldUseFieldTrialTestingConfig(const base::CommandLine* command_line) {
|
||||
-#if BUILDFLAG(FIELDTRIAL_TESTING_ENABLED)
|
||||
-#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
- return command_line->HasSwitch(switches::kEnableFieldTrialTestingConfig);
|
||||
-#else
|
||||
- return command_line->HasSwitch(switches::kEnableFieldTrialTestingConfig) ||
|
||||
- (!command_line->HasSwitch(switches::kDisableFieldTrialTestingConfig) &&
|
||||
- !command_line->HasSwitch(::switches::kForceFieldTrials) &&
|
||||
- !command_line->HasSwitch(switches::kVariationsServerURL));
|
||||
-#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
-#else
|
||||
- return false;
|
||||
-#endif // BUILDFLAG(FIELDTRIAL_TESTING_ENABLED)
|
||||
-}
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -273,17 +259,19 @@ bool VariationsFieldTrialCreator::SetUpFieldTrials(
|
||||
// instance is set.
|
||||
feature_list->RegisterExtraFeatureOverrides(extra_overrides);
|
||||
|
||||
+ bool used_seed = false;
|
||||
+#if defined(FIELDTRIAL_SEED_ENABLED)
|
||||
bool used_testing_config = false;
|
||||
if (ShouldUseFieldTrialTestingConfig(command_line)) {
|
||||
ApplyFieldTrialTestingConfig(feature_list.get());
|
||||
used_testing_config = true;
|
||||
}
|
||||
|
||||
- bool used_seed = false;
|
||||
if (!used_testing_config) {
|
||||
used_seed = CreateTrialsFromSeed(low_entropy_provider.get(),
|
||||
feature_list.get(), safe_seed_manager);
|
||||
}
|
||||
+#endif // BUILDFLAG(FIELDTRIAL_SEED_ENABLED)
|
||||
|
||||
platform_field_trials->SetUpFeatureControllingFieldTrials(
|
||||
used_seed, low_entropy_provider.get(), feature_list.get());
|
||||
+bool ShouldUseFieldTrialTestingConfig(const base::CommandLine* command_line) { // disabled in Bromite
|
||||
+ if ((true)) return false;
|
||||
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
||||
return command_line->HasSwitch(switches::kEnableFieldTrialTestingConfig);
|
||||
#else
|
||||
diff --git a/components/variations/service/variations_service.cc b/components/variations/service/variations_service.cc
|
||||
index 87fe040a1602..ee09ffd05b8f 100644
|
||||
--- a/components/variations/service/variations_service.cc
|
||||
+++ b/components/variations/service/variations_service.cc
|
||||
@@ -234,17 +234,8 @@ bool GetInstanceManipulations(const net::HttpResponseHeaders* headers,
|
||||
@@ -235,17 +235,8 @@ bool GetInstanceManipulations(const net::HttpResponseHeaders* headers,
|
||||
// Variations seed fetching is only enabled in official Chrome builds, if a URL
|
||||
// is specified on the command line, and for testing.
|
||||
bool IsFetchingEnabled() {
|
||||
|
@ -225,7 +210,7 @@ diff --git a/components/variations/service/variations_service.cc b/components/va
|
|||
}
|
||||
|
||||
std::unique_ptr<SeedResponse> MaybeImportFirstRunSeed(
|
||||
@@ -602,7 +593,7 @@ bool VariationsService::DoFetchFromURL(const GURL& url, bool is_http_retry) {
|
||||
@@ -603,7 +594,7 @@ bool VariationsService::DoFetchFromURL(const GURL& url, bool is_http_retry) {
|
||||
// debugger or if the machine was suspended) and OnURLFetchComplete() hasn't
|
||||
// had a chance to run yet from the previous request. In this case, don't
|
||||
// start a new request and just let the previous one finish.
|
||||
|
@ -234,5 +219,6 @@ diff --git a/components/variations/service/variations_service.cc b/components/va
|
|||
return false;
|
||||
|
||||
last_request_was_http_retry_ = is_http_retry;
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ diff --git a/chrome/browser/media/router/media_router_feature.cc b/chrome/browse
|
|||
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
||||
--- a/chrome/browser/profiles/profile.cc
|
||||
+++ b/chrome/browser/profiles/profile.cc
|
||||
@@ -349,7 +349,7 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||||
@@ -350,7 +350,7 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||||
|
||||
#if !BUILDFLAG(IS_ANDROID)
|
||||
registry->RegisterBooleanPref(
|
||||
|
@ -68,7 +68,7 @@ diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profil
|
|||
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
||||
--- a/chrome/browser/profiles/profile_impl.cc
|
||||
+++ b/chrome/browser/profiles/profile_impl.cc
|
||||
@@ -416,7 +416,7 @@ void ProfileImpl::RegisterProfilePrefs(
|
||||
@@ -419,7 +419,7 @@ void ProfileImpl::RegisterProfilePrefs(
|
||||
#endif
|
||||
|
||||
registry->RegisterBooleanPref(prefs::kForceEphemeralProfiles, false);
|
||||
|
|
|
@ -86,7 +86,7 @@ diff --git a/components/ntp_tiles/BUILD.gn b/components/ntp_tiles/BUILD.gn
|
|||
diff --git a/components/ntp_tiles/most_visited_sites.cc b/components/ntp_tiles/most_visited_sites.cc
|
||||
--- a/components/ntp_tiles/most_visited_sites.cc
|
||||
+++ b/components/ntp_tiles/most_visited_sites.cc
|
||||
@@ -729,8 +729,6 @@ void MostVisitedSites::SaveTilesAndNotify(
|
||||
@@ -730,8 +730,6 @@ void MostVisitedSites::SaveTilesAndNotify(
|
||||
: new_tiles;
|
||||
|
||||
if (fixed_tiles.size() != new_tiles.size()) {
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Disable metrics on all I/O threads
|
|||
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
|
||||
--- a/chrome/browser/browser_process_impl.cc
|
||||
+++ b/chrome/browser/browser_process_impl.cc
|
||||
@@ -987,7 +987,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) {
|
||||
@@ -985,7 +985,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) {
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
|
||||
registry->RegisterBooleanPref(metrics::prefs::kMetricsReportingEnabled,
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Disable plugins enumeration
|
|||
diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/blink/renderer/core/frame/local_frame.cc
|
||||
--- a/third_party/blink/renderer/core/frame/local_frame.cc
|
||||
+++ b/third_party/blink/renderer/core/frame/local_frame.cc
|
||||
@@ -1860,9 +1860,7 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
|
||||
@@ -1883,9 +1883,7 @@ WebContentSettingsClient* LocalFrame::GetContentSettingsClient() {
|
||||
}
|
||||
|
||||
PluginData* LocalFrame::GetPluginData() const {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -40,7 +40,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextualsearc
|
|||
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
@@ -180,6 +180,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
@@ -183,6 +183,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
&kCCTClientDataHeader,
|
||||
&kCCTExternalLinkHandling,
|
||||
&kCCTIncognito,
|
||||
|
@ -48,7 +48,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
&kCCTIncognitoAvailableToThirdParty,
|
||||
&kCCTNewDownloadTab,
|
||||
&kCCTPostMessageAPI,
|
||||
@@ -527,6 +528,9 @@ const base::Feature kChromeSharingHubLaunchAdjacent{
|
||||
@@ -531,6 +532,9 @@ const base::Feature kChromeSharingHubLaunchAdjacent{
|
||||
const base::Feature kChromeSurveyNextAndroid{"ChromeSurveyNextAndroid",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
|
@ -72,7 +72,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser
|
|||
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
@@ -246,6 +246,7 @@ public abstract class ChromeFeatureList {
|
||||
@@ -248,6 +248,7 @@ public abstract class ChromeFeatureList {
|
||||
public static final String CCT_NEW_DOWNLOAD_TAB = "CCTNewDownloadTab";
|
||||
public static final String CCT_POST_MESSAGE_API = "CCTPostMessageAPI";
|
||||
public static final String CCT_REDIRECT_PRECONNECT = "CCTRedirectPreconnect";
|
||||
|
@ -95,7 +95,7 @@ diff --git a/content/public/android/java/src/org/chromium/content/browser/select
|
|||
diff --git a/testing/variations/fieldtrial_testing_config.json b/testing/variations/fieldtrial_testing_config.json
|
||||
--- a/testing/variations/fieldtrial_testing_config.json
|
||||
+++ b/testing/variations/fieldtrial_testing_config.json
|
||||
@@ -1623,6 +1623,21 @@
|
||||
@@ -1817,6 +1817,21 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Disable some signed exchange features
|
|||
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
|
||||
--- a/content/public/common/content_features.cc
|
||||
+++ b/content/public/common/content_features.cc
|
||||
@@ -825,7 +825,7 @@ const base::Feature kSharedArrayBufferOnDesktop{
|
||||
@@ -838,7 +838,7 @@ const base::Feature kSharedArrayBufferOnDesktop{
|
||||
// Signed Exchange Reporting for distributors
|
||||
// https://www.chromestatus.com/feature/5687904902840320
|
||||
const base::Feature kSignedExchangeReportingForDistributors{
|
||||
|
@ -18,7 +18,7 @@ diff --git a/content/public/common/content_features.cc b/content/public/common/c
|
|||
|
||||
// Subresource prefetching+loading via Signed HTTP Exchange
|
||||
// https://www.chromestatus.com/feature/5126805474246656
|
||||
@@ -835,7 +835,7 @@ const base::Feature kSignedExchangeSubresourcePrefetch{
|
||||
@@ -848,7 +848,7 @@ const base::Feature kSignedExchangeSubresourcePrefetch{
|
||||
// Origin-Signed HTTP Exchanges (for WebPackage Loading)
|
||||
// https://www.chromestatus.com/feature/5745285984681984
|
||||
const base::Feature kSignedHTTPExchange{"SignedHTTPExchange",
|
||||
|
|
|
@ -10,7 +10,7 @@ This causes unnecessary SSDP network spam
|
|||
diff --git a/chrome/browser/media/router/discovery/dial/dial_registry.cc b/chrome/browser/media/router/discovery/dial/dial_registry.cc
|
||||
--- a/chrome/browser/media/router/discovery/dial/dial_registry.cc
|
||||
+++ b/chrome/browser/media/router/discovery/dial/dial_registry.cc
|
||||
@@ -150,10 +150,6 @@ void DialRegistry::StartPeriodicDiscovery() {
|
||||
@@ -154,10 +154,6 @@ void DialRegistry::StartPeriodicDiscovery() {
|
||||
return;
|
||||
|
||||
dial_ = CreateDialService();
|
||||
|
@ -21,7 +21,7 @@ diff --git a/chrome/browser/media/router/discovery/dial/dial_registry.cc b/chrom
|
|||
// Always send the current device list with the next discovery request. This
|
||||
// may not be necessary, but is done to match previous behavior.
|
||||
++registry_generation_;
|
||||
@@ -170,8 +166,6 @@ void DialRegistry::StopPeriodicDiscovery() {
|
||||
@@ -174,8 +170,6 @@ void DialRegistry::StopPeriodicDiscovery() {
|
||||
if (!dial_)
|
||||
return;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstR
|
|||
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
||||
--- a/chrome/browser/chrome_content_browser_client.cc
|
||||
+++ b/chrome/browser/chrome_content_browser_client.cc
|
||||
@@ -59,7 +59,6 @@
|
||||
@@ -60,7 +60,6 @@
|
||||
#include "chrome/browser/hid/chrome_hid_delegate.h"
|
||||
#include "chrome/browser/interstitials/enterprise_util.h"
|
||||
#include "chrome/browser/lifetime/browser_shutdown.h"
|
||||
|
@ -33,7 +33,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|||
#include "chrome/browser/media/audio_service_util.h"
|
||||
#include "chrome/browser/media/router/media_router_feature.h"
|
||||
#include "chrome/browser/media/webrtc/audio_debug_recordings_handler.h"
|
||||
@@ -4135,16 +4134,6 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
||||
@@ -4167,16 +4166,6 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
||||
content::NavigationHandle* handle) {
|
||||
std::vector<std::unique_ptr<content::NavigationThrottle>> throttles;
|
||||
|
||||
|
@ -47,10 +47,10 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|||
- page_load_metrics::MetricsNavigationThrottle::Create(handle));
|
||||
- }
|
||||
-
|
||||
if (handle->IsInMainFrame()) {
|
||||
MaybeAddThrottle(url_param_filter::CrossOtrMetricNavigationThrottle::
|
||||
MaybeCreateThrottleFor(handle),
|
||||
@@ -4243,10 +4232,6 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
MaybeAddThrottle(
|
||||
ash::WebTimeLimitNavigationThrottle::MaybeCreateThrottleFor(handle),
|
||||
@@ -4269,10 +4258,6 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
||||
throttle_manager->MaybeAppendNavigationThrottles(handle, &throttles);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Do not build API keys infobar
|
|||
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
||||
--- a/chrome/browser/ui/BUILD.gn
|
||||
+++ b/chrome/browser/ui/BUILD.gn
|
||||
@@ -1243,8 +1243,6 @@ static_library("ui") {
|
||||
@@ -1244,8 +1244,6 @@ static_library("ui") {
|
||||
"singleton_tabs.h",
|
||||
"startup/automation_infobar_delegate.cc",
|
||||
"startup/automation_infobar_delegate.h",
|
||||
|
|
|
@ -9,9 +9,10 @@ Subject: Do not compile QR code sharing
|
|||
3 files changed, 42 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
index c5b3698f0147..298a72e24f1b 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
@@ -83,7 +83,6 @@ import org.chromium.chrome.browser.share.ShareButtonController;
|
||||
@@ -85,7 +85,6 @@ import org.chromium.chrome.browser.share.ShareButtonController;
|
||||
import org.chromium.chrome.browser.share.ShareDelegate;
|
||||
import org.chromium.chrome.browser.share.ShareDelegate.ShareOrigin;
|
||||
import org.chromium.chrome.browser.share.ShareUtils;
|
||||
|
@ -19,18 +20,19 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
import org.chromium.chrome.browser.share.scroll_capture.ScrollCaptureManager;
|
||||
import org.chromium.chrome.browser.subscriptions.CommerceSubscriptionsServiceFactory;
|
||||
import org.chromium.chrome.browser.tab.AccessibilityVisibilityHandler;
|
||||
@@ -425,10 +424,6 @@ public class RootUiCoordinator
|
||||
@@ -433,10 +432,6 @@ public class RootUiCoordinator
|
||||
}
|
||||
|
||||
public void onAttachFragment(Fragment fragment) {
|
||||
- if (fragment instanceof QrCodeDialog) {
|
||||
- QrCodeDialog qrCodeDialog = (QrCodeDialog) fragment;
|
||||
- qrCodeDialog.setAndroidPermissionDelegate(mWindowAndroid);
|
||||
- qrCodeDialog.setWindowAndroid(mWindowAndroid);
|
||||
- }
|
||||
}
|
||||
|
||||
@Override
|
||||
diff --git a/chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeProvidedSharingOptionsProvider.java b/chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeProvidedSharingOptionsProvider.java
|
||||
index b3cf67f07789..ba61544f97d5 100644
|
||||
--- a/chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeProvidedSharingOptionsProvider.java
|
||||
+++ b/chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/share_sheet/ChromeProvidedSharingOptionsProvider.java
|
||||
@@ -29,7 +29,6 @@ import org.chromium.chrome.browser.share.ChromeShareExtras.DetailedContentType;
|
||||
|
@ -41,17 +43,17 @@ diff --git a/chrome/browser/share/android/java/src/org/chromium/chrome/browser/s
|
|||
import org.chromium.chrome.browser.share.screenshot.ScreenshotCoordinator;
|
||||
import org.chromium.chrome.browser.share.send_tab_to_self.SendTabToSelfCoordinator;
|
||||
import org.chromium.chrome.browser.share.share_sheet.ShareSheetLinkToggleMetricsHelper.LinkToggleMetricsDetails;
|
||||
@@ -298,9 +297,6 @@ public class ChromeProvidedSharingOptionsProvider {
|
||||
@@ -300,9 +299,6 @@ public class ChromeProvidedSharingOptionsProvider {
|
||||
mOrderedFirstPartyOptions.add(createCopyFirstPartyOption());
|
||||
mOrderedFirstPartyOptions.add(createCopyTextFirstPartyOption());
|
||||
mOrderedFirstPartyOptions.add(createSendTabToSelfFirstPartyOption());
|
||||
- if (!mIsIncognito) {
|
||||
- mOrderedFirstPartyOptions.add(createQrCodeFirstPartyOption());
|
||||
- }
|
||||
if (UserPrefs.get(Profile.getLastUsedRegularProfile()).getBoolean(Pref.PRINTING_ENABLED)) {
|
||||
mOrderedFirstPartyOptions.add(createPrintingFirstPartyOption());
|
||||
}
|
||||
@@ -458,21 +454,6 @@ public class ChromeProvidedSharingOptionsProvider {
|
||||
if (mTabProvider.hasValue()
|
||||
&& UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.getBoolean(Pref.PRINTING_ENABLED)) {
|
||||
@@ -462,21 +458,6 @@ public class ChromeProvidedSharingOptionsProvider {
|
||||
.build();
|
||||
}
|
||||
|
||||
|
@ -74,6 +76,7 @@ diff --git a/chrome/browser/share/android/java/src/org/chromium/chrome/browser/s
|
|||
return new FirstPartyOptionBuilder(ContentType.LINK_PAGE_VISIBLE)
|
||||
.setIcon(R.drawable.sharing_print, R.string.print_share_activity_title)
|
||||
diff --git a/chrome/browser/share/android/java_sources.gni b/chrome/browser/share/android/java_sources.gni
|
||||
index b6c3e9ad958d..4e9cbf3699de 100644
|
||||
--- a/chrome/browser/share/android/java_sources.gni
|
||||
+++ b/chrome/browser/share/android/java_sources.gni
|
||||
@@ -25,24 +25,6 @@ share_java_sources = [
|
||||
|
@ -101,5 +104,6 @@ diff --git a/chrome/browser/share/android/java_sources.gni b/chrome/browser/shar
|
|||
"//chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/screenshot/EditorScreenshotSource.java",
|
||||
"//chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/screenshot/EditorScreenshotTask.java",
|
||||
"//chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/screenshot/ScreenshotCoordinator.java",
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ This patch allows building with use_sysroot=false
|
|||
diff --git a/base/BUILD.gn b/base/BUILD.gn
|
||||
--- a/base/BUILD.gn
|
||||
+++ b/base/BUILD.gn
|
||||
@@ -1480,7 +1480,7 @@ mixed_component("base") {
|
||||
@@ -1494,7 +1494,7 @@ mixed_component("base") {
|
||||
if (!use_sysroot &&
|
||||
(is_android || ((is_linux || is_chromeos) && !is_chromecast)) &&
|
||||
host_toolchain != "//build/toolchain/cros:host") {
|
||||
|
|
|
@ -48,7 +48,7 @@ diff --git a/chrome/browser/net/stub_resolver_config_reader.cc b/chrome/browser/
|
|||
diff --git a/net/dns/dns_client.cc b/net/dns/dns_client.cc
|
||||
--- a/net/dns/dns_client.cc
|
||||
+++ b/net/dns/dns_client.cc
|
||||
@@ -241,11 +241,14 @@ class DnsClientImpl : public DnsClient {
|
||||
@@ -238,11 +238,14 @@ class DnsClientImpl : public DnsClient {
|
||||
private:
|
||||
absl::optional<DnsConfig> BuildEffectiveConfig() const {
|
||||
DnsConfig config;
|
||||
|
@ -65,7 +65,7 @@ diff --git a/net/dns/dns_client.cc b/net/dns/dns_client.cc
|
|||
|
||||
config = config_overrides_.ApplyOverrides(system_config_.value());
|
||||
}
|
||||
@@ -260,8 +263,10 @@ class DnsClientImpl : public DnsClient {
|
||||
@@ -257,8 +260,10 @@ class DnsClientImpl : public DnsClient {
|
||||
if (config.unhandled_options)
|
||||
config.nameservers.clear();
|
||||
|
||||
|
@ -80,7 +80,7 @@ diff --git a/net/dns/dns_client.cc b/net/dns/dns_client.cc
|
|||
diff --git a/net/dns/host_resolver_manager.cc b/net/dns/host_resolver_manager.cc
|
||||
--- a/net/dns/host_resolver_manager.cc
|
||||
+++ b/net/dns/host_resolver_manager.cc
|
||||
@@ -3120,6 +3120,7 @@ void HostResolverManager::SetDnsConfigOverrides(DnsConfigOverrides overrides) {
|
||||
@@ -3137,6 +3137,7 @@ void HostResolverManager::SetDnsConfigOverrides(DnsConfigOverrides overrides) {
|
||||
bool changed = dns_client_->SetConfigOverrides(std::move(overrides));
|
||||
|
||||
if (changed) {
|
||||
|
|
|
@ -10,7 +10,7 @@ Subject: Enable SPPI for devices with enough memory
|
|||
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
|
||||
--- a/chrome/common/chrome_features.cc
|
||||
+++ b/chrome/common/chrome_features.cc
|
||||
@@ -959,11 +959,7 @@ const base::Feature kShow10_10ObsoleteInfobar{
|
||||
@@ -938,11 +938,7 @@ const base::Feature kShow10_10ObsoleteInfobar{
|
||||
// browser_features, as they are only used on the browser side.
|
||||
const base::Feature kSitePerProcess {
|
||||
"SitePerProcess",
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
From: uazo <uazo@users.noreply.github.com>
|
||||
Date: Sat, 29 Jan 2022 15:25:19 +0000
|
||||
Subject: Enable StrictOriginIsolation and SitePerProcess flags
|
||||
Subject: Enable StrictOriginIsolation and SitePerProcess
|
||||
|
||||
Enable the StrictOriginIsolation feature and the SitePerProcess preference.
|
||||
SitePerProcess: bypass any device memory size check.
|
||||
SitePerProcess: always consider enterprise policies applicable.
|
||||
---
|
||||
chrome/browser/chrome_content_browser_client.cc | 4 ++--
|
||||
components/site_isolation/site_isolation_policy.cc | 2 ++
|
||||
|
@ -11,7 +14,7 @@ Subject: Enable StrictOriginIsolation and SitePerProcess flags
|
|||
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
||||
--- a/chrome/browser/chrome_content_browser_client.cc
|
||||
+++ b/chrome/browser/chrome_content_browser_client.cc
|
||||
@@ -1273,7 +1273,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
|
||||
@@ -1295,7 +1295,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
|
||||
registry->RegisterFilePathPref(prefs::kDiskCacheDir, base::FilePath());
|
||||
registry->RegisterIntegerPref(prefs::kDiskCacheSize, 0);
|
||||
registry->RegisterStringPref(prefs::kIsolateOrigins, std::string());
|
||||
|
@ -20,7 +23,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|||
registry->RegisterBooleanPref(prefs::kTabFreezingEnabled, true);
|
||||
registry->RegisterIntegerPref(prefs::kSCTAuditingHashdanceReportCount, 0);
|
||||
}
|
||||
@@ -1287,7 +1287,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs(
|
||||
@@ -1309,7 +1309,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs(
|
||||
// user policy in addition to the same named ones in Local State (which are
|
||||
// used for mapping the command-line flags).
|
||||
registry->RegisterStringPref(prefs::kIsolateOrigins, std::string());
|
||||
|
@ -51,7 +54,7 @@ diff --git a/components/site_isolation/site_isolation_policy.cc b/components/sit
|
|||
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
|
||||
--- a/content/public/common/content_features.cc
|
||||
+++ b/content/public/common/content_features.cc
|
||||
@@ -936,7 +936,7 @@ const base::Feature kStorageServiceOutOfProcess{
|
||||
@@ -949,7 +949,7 @@ const base::Feature kStorageServiceOutOfProcess{
|
||||
// Controls whether site isolation should use origins instead of scheme and
|
||||
// eTLD+1.
|
||||
const base::Feature kStrictOriginIsolation{"StrictOriginIsolation",
|
||||
|
|
|
@ -9,10 +9,11 @@ Unexpire #darken-websites-checkbox-in-themes-setting
|
|||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||
index 1e1bfe96d655..8fbdae27d8e6 100644
|
||||
--- a/chrome/browser/flag-metadata.json
|
||||
+++ b/chrome/browser/flag-metadata.json
|
||||
@@ -1055,9 +1055,9 @@
|
||||
"expiry_milestone": 100
|
||||
@@ -1080,9 +1080,9 @@
|
||||
"expiry_milestone": 110
|
||||
},
|
||||
{
|
||||
- "name": "darken-websites-checkbox-in-themes-setting",
|
||||
|
@ -25,6 +26,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||
{
|
||||
"name": "dcheck-is-fatal",
|
||||
diff --git a/components/content_settings/core/common/features.cc b/components/content_settings/core/common/features.cc
|
||||
index 3ff4e9def8fa..17d26e0a16a7 100644
|
||||
--- a/components/content_settings/core/common/features.cc
|
||||
+++ b/components/content_settings/core/common/features.cc
|
||||
@@ -18,7 +18,7 @@ const base::Feature kImprovedCookieControls{"ImprovedCookieControls",
|
||||
|
@ -36,5 +38,6 @@ diff --git a/components/content_settings/core/common/features.cc b/components/co
|
|||
constexpr base::FeatureParam<bool> kDarkenWebsitesCheckboxOptOut{
|
||||
&kDarkenWebsitesCheckboxInThemesSetting, "opt_out", true};
|
||||
#endif // BUILDFLAG(IS_ANDROID)
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -49,9 +49,9 @@ diff --git a/android_webview/browser/aw_contents.cc b/android_webview/browser/aw
|
|||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||
--- a/chrome/android/BUILD.gn
|
||||
+++ b/chrome/android/BUILD.gn
|
||||
@@ -456,6 +456,7 @@ android_library("chrome_java") {
|
||||
"//chrome/browser/xsurface:java",
|
||||
"//components/autofill/android:autofill_java",
|
||||
@@ -459,6 +459,7 @@ android_library("chrome_java") {
|
||||
"//components/autofill/android:prefeditor_autofill_java",
|
||||
"//components/autofill_assistant/android:public_java",
|
||||
"//components/autofill_assistant/browser:proto_java",
|
||||
+ "//components/android_autofill/browser:java",
|
||||
"//components/background_task_scheduler:background_task_scheduler_java",
|
||||
|
@ -212,7 +212,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabImpl.jav
|
|||
/**
|
||||
* Creates an instance of a {@link TabImpl}.
|
||||
*
|
||||
@@ -736,6 +749,11 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
@@ -741,6 +754,11 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
for (TabObserver observer : mObservers) observer.onDestroyed(this);
|
||||
mObservers.clear();
|
||||
|
||||
|
@ -224,7 +224,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabImpl.jav
|
|||
mUserDataHost.destroy();
|
||||
mTabViewManager.destroy();
|
||||
hideNativePage(false, null);
|
||||
@@ -1313,6 +1331,16 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
@@ -1322,6 +1340,16 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
return tabsPtrArray;
|
||||
}
|
||||
|
||||
|
@ -241,7 +241,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabImpl.jav
|
|||
/**
|
||||
* Initializes the {@link WebContents}. Completes the browser content components initialization
|
||||
* around a native WebContents pointer.
|
||||
@@ -1362,6 +1390,27 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
@@ -1371,6 +1399,27 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
mDelegateFactory.createContextMenuPopulatorFactory(this), this));
|
||||
|
||||
mWebContents.notifyRendererPreferenceUpdate();
|
||||
|
@ -269,7 +269,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabImpl.jav
|
|||
TabHelpers.initWebContentsHelpers(this);
|
||||
notifyContentChanged();
|
||||
} finally {
|
||||
@@ -1705,5 +1754,6 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
@@ -1714,5 +1763,6 @@ public class TabImpl implements Tab, TabObscuringHandler.Observer {
|
||||
void setActiveNavigationEntryTitleForUrl(long nativeTabAndroid, String url, String title);
|
||||
void loadOriginalImage(long nativeTabAndroid);
|
||||
boolean handleNonNavigationAboutURL(GURL url);
|
||||
|
@ -308,7 +308,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabViewAndr
|
|||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -2373,6 +2373,14 @@ static_library("browser") {
|
||||
@@ -2401,6 +2401,14 @@ static_library("browser") {
|
||||
"//ui/webui/resources/cr_components/most_visited:mojom",
|
||||
"//ui/webui/resources/js/browser_command:mojo_bindings",
|
||||
]
|
||||
|
@ -392,7 +392,7 @@ diff --git a/chrome/browser/android/tab_web_contents_delegate_android.cc b/chrom
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -589,6 +589,12 @@ CHAR_LIMIT guidelines:
|
||||
@@ -586,6 +586,12 @@ CHAR_LIMIT guidelines:
|
||||
<message name="IDS_PASSWORD_SETTINGS_SAVE_PASSWORDS" desc="Title for the checkbox toggling whether passwords are saved or not. [CHAR_LIMIT=32]">
|
||||
Save passwords
|
||||
</message>
|
||||
|
@ -408,7 +408,7 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
||||
--- a/chrome/browser/ui/tab_helpers.cc
|
||||
+++ b/chrome/browser/ui/tab_helpers.cc
|
||||
@@ -153,6 +153,9 @@
|
||||
@@ -155,6 +155,9 @@
|
||||
#include "chrome/browser/ui/javascript_dialogs/javascript_tab_modal_dialog_manager_delegate_android.h"
|
||||
#include "chrome/browser/video_tutorials/video_tutorial_tab_helper.h"
|
||||
#include "content/public/common/content_features.h"
|
||||
|
@ -418,7 +418,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|||
#else
|
||||
#include "chrome/browser/accuracy_tips/accuracy_service_factory.h"
|
||||
#include "chrome/browser/banners/app_banner_manager_desktop.h"
|
||||
@@ -291,7 +294,10 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
||||
@@ -293,7 +296,10 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
||||
web_contents,
|
||||
autofill::ChromeAutofillClient::FromWebContents(web_contents),
|
||||
g_browser_process->GetApplicationLocale(),
|
||||
|
@ -455,7 +455,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
if (client && ShouldEnableHeavyFormDataScraping(client->GetChannel())) {
|
||||
GetAutofillAgent()->EnableHeavyFormDataScraping();
|
||||
@@ -344,6 +347,8 @@ void ContentAutofillDriver::FormsSeenImpl(
|
||||
@@ -343,6 +346,8 @@ void ContentAutofillDriver::FormsSeenImpl(
|
||||
const std::vector<FormData>& updated_forms,
|
||||
const std::vector<FormGlobalId>& removed_forms) {
|
||||
autofill_manager_->OnFormsSeen(updated_forms, removed_forms);
|
||||
|
@ -464,7 +464,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::SetFormToBeProbablySubmittedImpl(
|
||||
@@ -366,6 +371,8 @@ void ContentAutofillDriver::FormSubmittedImpl(const FormData& form,
|
||||
@@ -365,6 +370,8 @@ void ContentAutofillDriver::FormSubmittedImpl(const FormData& form,
|
||||
}
|
||||
|
||||
autofill_manager_->OnFormSubmitted(form, known_success, source);
|
||||
|
@ -473,7 +473,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::TextFieldDidChangeImpl(
|
||||
@@ -374,6 +381,8 @@ void ContentAutofillDriver::TextFieldDidChangeImpl(
|
||||
@@ -373,6 +380,8 @@ void ContentAutofillDriver::TextFieldDidChangeImpl(
|
||||
const gfx::RectF& bounding_box,
|
||||
base::TimeTicks timestamp) {
|
||||
autofill_manager_->OnTextFieldDidChange(form, field, bounding_box, timestamp);
|
||||
|
@ -482,7 +482,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::TextFieldDidScrollImpl(
|
||||
@@ -381,6 +390,8 @@ void ContentAutofillDriver::TextFieldDidScrollImpl(
|
||||
@@ -380,6 +389,8 @@ void ContentAutofillDriver::TextFieldDidScrollImpl(
|
||||
const FormFieldData& field,
|
||||
const gfx::RectF& bounding_box) {
|
||||
autofill_manager_->OnTextFieldDidScroll(form, field, bounding_box);
|
||||
|
@ -491,7 +491,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::SelectControlDidChangeImpl(
|
||||
@@ -388,6 +399,8 @@ void ContentAutofillDriver::SelectControlDidChangeImpl(
|
||||
@@ -387,6 +398,8 @@ void ContentAutofillDriver::SelectControlDidChangeImpl(
|
||||
const FormFieldData& field,
|
||||
const gfx::RectF& bounding_box) {
|
||||
autofill_manager_->OnSelectControlDidChange(form, field, bounding_box);
|
||||
|
@ -500,7 +500,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::AskForValuesToFillImpl(
|
||||
@@ -398,15 +411,22 @@ void ContentAutofillDriver::AskForValuesToFillImpl(
|
||||
@@ -397,15 +410,22 @@ void ContentAutofillDriver::AskForValuesToFillImpl(
|
||||
bool autoselect_first_suggestion) {
|
||||
autofill_manager_->OnAskForValuesToFill(id, form, field, bounding_box,
|
||||
autoselect_first_suggestion);
|
||||
|
@ -523,7 +523,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::FocusOnFormFieldImpl(
|
||||
@@ -414,25 +434,35 @@ void ContentAutofillDriver::FocusOnFormFieldImpl(
|
||||
@@ -413,25 +433,35 @@ void ContentAutofillDriver::FocusOnFormFieldImpl(
|
||||
const FormFieldData& field,
|
||||
const gfx::RectF& bounding_box) {
|
||||
autofill_manager_->OnFocusOnFormField(form, field, bounding_box);
|
||||
|
@ -559,7 +559,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
|
|||
}
|
||||
|
||||
void ContentAutofillDriver::FillFormForAssistantImpl(
|
||||
@@ -653,13 +683,21 @@ void ContentAutofillDriver::DidNavigateFrame(
|
||||
@@ -652,13 +682,21 @@ void ContentAutofillDriver::DidNavigateFrame(
|
||||
if (autofill_router_) // Can be nullptr only in tests.
|
||||
autofill_router_->UnregisterDriver(this);
|
||||
autofill_manager_->Reset();
|
||||
|
@ -695,7 +695,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver_factory
|
|||
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
|
||||
--- a/components/autofill/content/renderer/password_autofill_agent.cc
|
||||
+++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
||||
@@ -724,7 +724,10 @@ void PasswordAutofillAgent::UpdateStateForTextChange(
|
||||
@@ -784,7 +784,10 @@ void PasswordAutofillAgent::UpdateStateForTextChange(
|
||||
|
||||
void PasswordAutofillAgent::TrackAutofilledElement(
|
||||
const blink::WebFormControlElement& element) {
|
||||
|
@ -838,7 +838,7 @@ diff --git a/ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java b
|
|||
diff --git a/weblayer/browser/tab_impl.cc b/weblayer/browser/tab_impl.cc
|
||||
--- a/weblayer/browser/tab_impl.cc
|
||||
+++ b/weblayer/browser/tab_impl.cc
|
||||
@@ -1393,7 +1393,8 @@ void TabImpl::InitializeAutofillDriver() {
|
||||
@@ -1400,7 +1400,8 @@ void TabImpl::InitializeAutofillDriver() {
|
||||
autofill::ContentAutofillDriverFactory::CreateForWebContentsAndDelegate(
|
||||
web_contents, AutofillClientImpl::FromWebContents(web_contents),
|
||||
i18n::GetApplicationLocale(), enable_autofill_download_manager,
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Enable prefetch-privacy-changes by default
|
|||
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
|
||||
--- a/third_party/blink/common/features.cc
|
||||
+++ b/third_party/blink/common/features.cc
|
||||
@@ -468,7 +468,7 @@ const base::Feature kComputePressure{"ComputePressure",
|
||||
@@ -491,7 +491,7 @@ const base::Feature kComputePressure{"ComputePressure",
|
||||
// Prefetch request properties are updated to be privacy-preserving. See
|
||||
// crbug.com/988956.
|
||||
const base::Feature kPrefetchPrivacyChanges{"PrefetchPrivacyChanges",
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Enable user-agent freeze by default
|
|||
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
|
||||
--- a/third_party/blink/common/features.cc
|
||||
+++ b/third_party/blink/common/features.cc
|
||||
@@ -103,7 +103,7 @@ const base::Feature kFreezePurgeMemoryAllPagesFrozen{
|
||||
@@ -102,7 +102,7 @@ const base::Feature kFreezePurgeMemoryAllPagesFrozen{
|
||||
|
||||
// Freezes the user-agent as part of https://github.com/WICG/ua-client-hints.
|
||||
const base::Feature kReduceUserAgent{"ReduceUserAgent",
|
||||
|
|
|
@ -89,7 +89,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -42,6 +42,7 @@ import org.chromium.chrome.browser.ApplicationLifetime;
|
||||
@@ -43,6 +43,7 @@ import org.chromium.chrome.browser.ApplicationLifetime;
|
||||
import org.chromium.chrome.browser.signin.services.IdentityServicesProvider;
|
||||
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
|
||||
import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
|
||||
|
@ -97,7 +97,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
import org.chromium.components.browser_ui.settings.ManagedPreferenceDelegate;
|
||||
import org.chromium.components.browser_ui.settings.SettingsLauncher;
|
||||
import org.chromium.components.browser_ui.settings.SettingsUtils;
|
||||
@@ -56,6 +57,9 @@ import androidx.preference.PreferenceCategory;
|
||||
@@ -57,6 +58,9 @@ import androidx.preference.PreferenceCategory;
|
||||
import org.chromium.chrome.browser.preferences.SharedPreferencesManager;
|
||||
import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
|
||||
|
||||
|
@ -107,7 +107,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
/**
|
||||
* Fragment to keep track of the all the privacy related preferences.
|
||||
*/
|
||||
@@ -95,6 +99,8 @@ public class PrivacySettings
|
||||
@@ -96,6 +100,8 @@ public class PrivacySettings
|
||||
private ChromeSwitchPreference allowCustomTabIntentsPref;
|
||||
private ChromeSwitchPreference openExternalLinksPref;
|
||||
|
||||
|
@ -116,7 +116,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
@Override
|
||||
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
|
||||
PrivacyPreferencesManagerImpl privacyPrefManager =
|
||||
@@ -144,6 +150,40 @@ public class PrivacySettings
|
||||
@@ -145,6 +151,40 @@ public class PrivacySettings
|
||||
Preference secureDnsPref = findPreference(PREF_SECURE_DNS);
|
||||
secureDnsPref.setVisible(SecureDnsSettings.isUiEnabled());
|
||||
|
||||
|
@ -157,7 +157,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
Preference phoneAsASecurityKey = findPreference(PREF_PHONE_AS_A_SECURITY_KEY);
|
||||
phoneAsASecurityKey.setVisible(
|
||||
ChromeFeatureList.isEnabled(ChromeFeatureList.WEB_AUTH_PHONE_SUPPORT));
|
||||
@@ -288,6 +328,29 @@ public class PrivacySettings
|
||||
@@ -289,6 +329,29 @@ public class PrivacySettings
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -213,7 +213,7 @@ diff --git a/chrome/browser/preferences/BUILD.gn b/chrome/browser/preferences/BU
|
|||
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
||||
--- a/chrome/browser/profiles/profile_impl.cc
|
||||
+++ b/chrome/browser/profiles/profile_impl.cc
|
||||
@@ -370,6 +370,7 @@ std::unique_ptr<Profile> Profile::CreateProfile(const base::FilePath& path,
|
||||
@@ -373,6 +373,7 @@ std::unique_ptr<Profile> Profile::CreateProfile(const base::FilePath& path,
|
||||
void ProfileImpl::RegisterProfilePrefs(
|
||||
user_prefs::PrefRegistrySyncable* registry) {
|
||||
registry->RegisterBooleanPref(prefs::kSavingBrowserHistoryDisabled, false);
|
||||
|
@ -224,7 +224,7 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -1059,6 +1059,18 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
@@ -1055,6 +1055,18 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
<message name="IDS_CLEAR_HISTORY_TITLE" desc="Title for Clear History in Clear Browsing Data dialog">
|
||||
Browsing history
|
||||
</message>
|
||||
|
@ -354,7 +354,7 @@ diff --git a/components/history/core/browser/expire_history_backend.h b/componen
|
|||
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
|
||||
--- a/components/history/core/browser/history_backend.cc
|
||||
+++ b/components/history/core/browser/history_backend.cc
|
||||
@@ -971,6 +971,20 @@ void HistoryBackend::InitImpl(
|
||||
@@ -972,6 +972,20 @@ void HistoryBackend::InitImpl(
|
||||
LOCAL_HISTOGRAM_TIMES("History.InitTime", TimeTicks::Now() - beginning_time);
|
||||
}
|
||||
|
||||
|
@ -390,7 +390,7 @@ diff --git a/components/history/core/browser/history_backend.h b/components/hist
|
|||
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
|
||||
--- a/components/history/core/browser/history_service.cc
|
||||
+++ b/components/history/core/browser/history_service.cc
|
||||
@@ -35,6 +35,9 @@
|
||||
@@ -36,6 +36,9 @@
|
||||
#include "base/time/time.h"
|
||||
#include "base/trace_event/trace_event.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -400,7 +400,7 @@ diff --git a/components/history/core/browser/history_service.cc b/components/his
|
|||
#include "components/history/core/browser/download_row.h"
|
||||
#include "components/history/core/browser/history_backend.h"
|
||||
#include "components/history/core/browser/history_backend_client.h"
|
||||
@@ -1063,6 +1066,9 @@ void HistoryService::Cleanup() {
|
||||
@@ -1064,6 +1067,9 @@ void HistoryService::Cleanup() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -410,7 +410,7 @@ diff --git a/components/history/core/browser/history_service.cc b/components/his
|
|||
NotifyHistoryServiceBeingDeleted();
|
||||
|
||||
weak_ptr_factory_.InvalidateWeakPtrs();
|
||||
@@ -1127,6 +1133,33 @@ bool HistoryService::Init(
|
||||
@@ -1128,6 +1134,33 @@ bool HistoryService::Init(
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -465,7 +465,7 @@ diff --git a/components/history/core/browser/history_service.h b/components/hist
|
|||
// Triggers the backend to load if it hasn't already, and then returns whether
|
||||
// it's finished loading.
|
||||
// Note: Virtual needed for mocking.
|
||||
@@ -995,6 +999,10 @@ class HistoryService : public KeyedService {
|
||||
@@ -996,6 +1000,10 @@ class HistoryService : public KeyedService {
|
||||
|
||||
base::OnceClosure origin_queried_closure_for_testing_;
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ Send a random key press to circumvent idle status detection
|
|||
diff --git a/third_party/blink/renderer/core/dom/build.gni b/third_party/blink/renderer/core/dom/build.gni
|
||||
--- a/third_party/blink/renderer/core/dom/build.gni
|
||||
+++ b/third_party/blink/renderer/core/dom/build.gni
|
||||
@@ -169,6 +169,8 @@ blink_core_sources_dom = [
|
||||
"global_event_handlers.h",
|
||||
@@ -170,6 +170,8 @@ blink_core_sources_dom = [
|
||||
"has_invalidation_flags.h",
|
||||
"icon_url.cc",
|
||||
"icon_url.h",
|
||||
+ "extensions/anti_amp_cure.h",
|
||||
|
@ -33,7 +33,7 @@ diff --git a/third_party/blink/renderer/core/dom/build.gni b/third_party/blink/r
|
|||
diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink/renderer/core/dom/document.cc
|
||||
--- a/third_party/blink/renderer/core/dom/document.cc
|
||||
+++ b/third_party/blink/renderer/core/dom/document.cc
|
||||
@@ -275,6 +275,7 @@
|
||||
@@ -276,6 +276,7 @@
|
||||
#include "third_party/blink/renderer/core/page/scrolling/root_scroller_controller.h"
|
||||
#include "third_party/blink/renderer/core/page/scrolling/scroll_state_callback.h"
|
||||
#include "third_party/blink/renderer/core/page/scrolling/scrolling_coordinator.h"
|
||||
|
@ -41,7 +41,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
#include "third_party/blink/renderer/core/page/scrolling/snap_coordinator.h"
|
||||
#include "third_party/blink/renderer/core/page/scrolling/top_document_root_scroller_controller.h"
|
||||
#include "third_party/blink/renderer/core/page/spatial_navigation_controller.h"
|
||||
@@ -343,6 +344,8 @@
|
||||
@@ -344,6 +345,8 @@
|
||||
#include "third_party/blink/renderer/platform/wtf/text/string_buffer.h"
|
||||
#include "third_party/blink/renderer/platform/wtf/text/text_encoding_registry.h"
|
||||
|
||||
|
@ -50,7 +50,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
#ifndef NDEBUG
|
||||
using WeakDocumentSet = blink::HeapHashSet<blink::WeakMember<blink::Document>>;
|
||||
static WeakDocumentSet& LiveDocumentSet();
|
||||
@@ -6521,6 +6524,64 @@ void Document::setAllowDeclarativeShadowRoots(bool val) {
|
||||
@@ -6600,6 +6603,64 @@ void Document::setAllowDeclarativeShadowRoots(bool val) {
|
||||
val ? AllowState::kAllow : AllowState::kDeny;
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
void Document::FinishedParsing() {
|
||||
DCHECK(!GetScriptableDocumentParser() || !parser_->IsParsing());
|
||||
DCHECK(!GetScriptableDocumentParser() || ready_state_ != kLoading);
|
||||
@@ -6579,6 +6640,10 @@ void Document::FinishedParsing() {
|
||||
@@ -6657,6 +6718,10 @@ void Document::FinishedParsing() {
|
||||
if (frame->IsMainFrame() && ShouldMarkFontPerformance())
|
||||
FontPerformance::MarkDomContentLoaded();
|
||||
|
||||
|
@ -129,7 +129,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/renderer/core/dom/document.h
|
||||
--- a/third_party/blink/renderer/core/dom/document.h
|
||||
+++ b/third_party/blink/renderer/core/dom/document.h
|
||||
@@ -1837,6 +1837,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
@@ -1888,6 +1888,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
void AddAXContext(AXContext*);
|
||||
void RemoveAXContext(AXContext*);
|
||||
|
||||
|
@ -164,7 +164,7 @@ new file mode 100644
|
|||
diff --git a/third_party/blink/renderer/core/html/html_script_element.cc b/third_party/blink/renderer/core/html/html_script_element.cc
|
||||
--- a/third_party/blink/renderer/core/html/html_script_element.cc
|
||||
+++ b/third_party/blink/renderer/core/html/html_script_element.cc
|
||||
@@ -174,6 +174,11 @@ void HTMLScriptElement::setTextContent(const String& string) {
|
||||
@@ -183,6 +183,11 @@ void HTMLScriptElement::setTextContent(const String& string) {
|
||||
script_text_internal_slot_ = ParkableString(string.Impl());
|
||||
}
|
||||
|
||||
|
@ -179,7 +179,7 @@ diff --git a/third_party/blink/renderer/core/html/html_script_element.cc b/third
|
|||
diff --git a/third_party/blink/renderer/core/html/html_script_element.h b/third_party/blink/renderer/core/html/html_script_element.h
|
||||
--- a/third_party/blink/renderer/core/html/html_script_element.h
|
||||
+++ b/third_party/blink/renderer/core/html/html_script_element.h
|
||||
@@ -59,6 +59,7 @@ class CORE_EXPORT HTMLScriptElement final : public HTMLElement,
|
||||
@@ -60,6 +60,7 @@ class CORE_EXPORT HTMLScriptElement final : public HTMLElement,
|
||||
void setTextContentForBinding(const V8UnionStringOrTrustedScript* value,
|
||||
ExceptionState& exception_state) override;
|
||||
void setTextContent(const String&) override;
|
||||
|
|
|
@ -11,10 +11,11 @@ See also:
|
|||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||
index ffe5e4f40f57..1e1bfe96d655 100644
|
||||
--- a/chrome/browser/flag-metadata.json
|
||||
+++ b/chrome/browser/flag-metadata.json
|
||||
@@ -3689,9 +3689,9 @@
|
||||
"expiry_milestone": 100
|
||||
@@ -3755,9 +3755,9 @@
|
||||
"expiry_milestone": 105
|
||||
},
|
||||
{
|
||||
- "name": "incognito-screenshot",
|
||||
|
@ -25,6 +26,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||
+ "expiry_milestone": -1 // -
|
||||
},
|
||||
{
|
||||
"name": "inherit-native-theme-from-parent-widget",
|
||||
--
|
||||
2.25.1
|
||||
"name": "initial-navigation-entry",
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ diff --git a/chrome/browser/background/background_mode_manager.cc b/chrome/brows
|
|||
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
||||
--- a/chrome/browser/chrome_content_browser_client.cc
|
||||
+++ b/chrome/browser/chrome_content_browser_client.cc
|
||||
@@ -1293,7 +1293,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
|
||||
@@ -1315,7 +1315,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
|
||||
void ChromeContentBrowserClient::RegisterProfilePrefs(
|
||||
user_prefs::PrefRegistrySyncable* registry) {
|
||||
registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false);
|
||||
|
@ -53,7 +53,7 @@ diff --git a/chrome/browser/prefetch/prefetch_prefs.h b/chrome/browser/prefetch/
|
|||
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
||||
--- a/chrome/browser/profiles/profile.cc
|
||||
+++ b/chrome/browser/profiles/profile.cc
|
||||
@@ -275,7 +275,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,
|
||||
|
|
|
@ -35,7 +35,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -51,6 +51,12 @@ import org.chromium.components.user_prefs.UserPrefs;
|
||||
@@ -52,6 +52,12 @@ import org.chromium.components.user_prefs.UserPrefs;
|
||||
import org.chromium.ui.text.NoUnderlineClickableSpan;
|
||||
import org.chromium.ui.text.SpanApplier;
|
||||
|
||||
|
@ -48,7 +48,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
/**
|
||||
* Fragment to keep track of the all the privacy related preferences.
|
||||
*/
|
||||
@@ -75,6 +81,16 @@ public class PrivacySettings
|
||||
@@ -76,6 +82,16 @@ public class PrivacySettings
|
||||
|
||||
private static final String PREF_CLOSE_TABS_ON_EXIT = "close_tabs_on_exit";
|
||||
|
||||
|
@ -65,7 +65,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
private ManagedPreferenceDelegate mManagedPreferenceDelegate;
|
||||
private IncognitoLockSettings mIncognitoLockSettings;
|
||||
private ViewGroup mDialogContainer;
|
||||
@@ -118,6 +134,16 @@ public class PrivacySettings
|
||||
@@ -125,6 +141,16 @@ public class PrivacySettings
|
||||
|
||||
mManagedPreferenceDelegate = createManagedPreferenceDelegate();
|
||||
|
||||
|
@ -82,7 +82,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
ChromeSwitchPreference canMakePaymentPref =
|
||||
(ChromeSwitchPreference) findPreference(PREF_CAN_MAKE_PAYMENT);
|
||||
canMakePaymentPref.setOnPreferenceChangeListener(this);
|
||||
@@ -156,6 +182,9 @@ public class PrivacySettings
|
||||
@@ -163,6 +189,9 @@ public class PrivacySettings
|
||||
} else if (PREF_CAN_MAKE_PAYMENT.equals(key)) {
|
||||
UserPrefs.get(Profile.getLastUsedRegularProfile())
|
||||
.setBoolean(Pref.CAN_MAKE_PAYMENT_ENABLED, (boolean) newValue);
|
||||
|
@ -92,7 +92,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
} else if (PREF_ALWAYS_INCOGNITO.equals(key)) {
|
||||
AlwaysIncognitoLinkInterceptor.setAlwaysIncognito((boolean) newValue);
|
||||
if (!mSnackbarManager.isShowing()) {
|
||||
@@ -183,7 +212,7 @@ public class PrivacySettings
|
||||
@@ -190,7 +219,7 @@ public class PrivacySettings
|
||||
* Updates the preferences.
|
||||
*/
|
||||
public void updatePreferences() {
|
||||
|
@ -104,7 +104,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -438,6 +438,10 @@ CHAR_LIMIT guidelines:
|
||||
@@ -441,6 +441,10 @@ CHAR_LIMIT guidelines:
|
||||
No statistics or crash reports are sent to Google
|
||||
</message>
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ Added flag --fingerprinting-canvas-image-data-noise to disable Canvas image data
|
|||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -2296,6 +2296,7 @@ static_library("browser") {
|
||||
@@ -2325,6 +2325,7 @@ static_library("browser") {
|
||||
"//services/device/public/cpp:device_features",
|
||||
"//services/device/public/cpp/serial:switches",
|
||||
"//services/device/public/cpp/usb",
|
||||
|
@ -66,7 +66,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -186,6 +186,7 @@
|
||||
@@ -185,6 +185,7 @@
|
||||
#include "services/media_session/public/cpp/features.h"
|
||||
#include "services/network/public/cpp/features.h"
|
||||
#include "services/network/public/cpp/network_switches.h"
|
||||
|
@ -74,7 +74,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
#include "storage/browser/quota/quota_features.h"
|
||||
#include "third_party/blink/public/common/features.h"
|
||||
#include "third_party/blink/public/common/forcedark/forcedark_switches.h"
|
||||
@@ -2945,6 +2946,20 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -3047,6 +3048,20 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kWebrtcUseMinMaxVEADimensionsName,
|
||||
flag_descriptions::kWebrtcUseMinMaxVEADimensionsDescription, kOsAll,
|
||||
FEATURE_VALUE_TYPE(blink::features::kWebRtcUseMinMaxVEADimensions)},
|
||||
|
@ -98,7 +98,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
||||
--- a/content/browser/BUILD.gn
|
||||
+++ b/content/browser/BUILD.gn
|
||||
@@ -227,6 +227,7 @@ source_set("browser") {
|
||||
@@ -229,6 +229,7 @@ source_set("browser") {
|
||||
"//third_party/libyuv",
|
||||
"//third_party/re2",
|
||||
"//third_party/sqlite",
|
||||
|
@ -109,7 +109,7 @@ diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
|||
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
||||
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
||||
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
||||
@@ -200,6 +200,7 @@
|
||||
@@ -201,6 +201,7 @@
|
||||
#include "url/gurl.h"
|
||||
#include "url/origin.h"
|
||||
|
||||
|
@ -117,7 +117,7 @@ diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content
|
|||
#if BUILDFLAG(IS_ANDROID)
|
||||
#include "content/browser/android/java_interfaces_impl.h"
|
||||
#include "content/browser/font_unique_name_lookup/font_unique_name_lookup_service.h"
|
||||
@@ -3313,6 +3314,9 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
||||
@@ -3242,6 +3243,9 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
||||
switches::kDisableBreakpad,
|
||||
switches::kDisableDatabases,
|
||||
switches::kDisableFileSystem,
|
||||
|
@ -167,7 +167,7 @@ diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.
|
|||
diff --git a/third_party/blink/public/platform/web_runtime_features.h b/third_party/blink/public/platform/web_runtime_features.h
|
||||
--- a/third_party/blink/public/platform/web_runtime_features.h
|
||||
+++ b/third_party/blink/public/platform/web_runtime_features.h
|
||||
@@ -210,6 +210,9 @@ class WebRuntimeFeatures {
|
||||
@@ -213,6 +213,9 @@ class WebRuntimeFeatures {
|
||||
BLINK_PLATFORM_EXPORT static void EnableAutomationControlled(bool);
|
||||
BLINK_PLATFORM_EXPORT static void EnableAutoplayIgnoresWebAudio(bool);
|
||||
BLINK_PLATFORM_EXPORT static void EnableMediaControlsExpandGesture(bool);
|
||||
|
@ -188,7 +188,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
#include "base/time/time.h"
|
||||
#include "cc/input/overscroll_behavior.h"
|
||||
#include "cc/input/scroll_snap_data.h"
|
||||
@@ -2169,6 +2170,23 @@ void Document::UpdateStyleAndLayoutTreeForThisDocument() {
|
||||
@@ -2178,6 +2179,23 @@ void Document::UpdateStyleAndLayoutTreeForThisDocument() {
|
||||
#if DCHECK_IS_ON()
|
||||
AssertLayoutTreeUpdated(*this, true /* allow_dirty_container_subtrees */);
|
||||
#endif
|
||||
|
@ -215,7 +215,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
|||
diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/renderer/core/dom/document.h
|
||||
--- a/third_party/blink/renderer/core/dom/document.h
|
||||
+++ b/third_party/blink/renderer/core/dom/document.h
|
||||
@@ -478,6 +478,10 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
@@ -482,6 +482,10 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
has_xml_declaration_ = has_xml_declaration ? 1 : 0;
|
||||
}
|
||||
|
||||
|
@ -226,7 +226,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/
|
|||
AtomicString visibilityState() const;
|
||||
bool IsPageVisible() const;
|
||||
bool hidden() const;
|
||||
@@ -2140,6 +2144,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
@@ -2196,6 +2200,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
|
||||
base::ElapsedTimer start_time_;
|
||||
|
||||
|
@ -239,7 +239,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/
|
|||
diff --git a/third_party/blink/renderer/core/dom/element.cc b/third_party/blink/renderer/core/dom/element.cc
|
||||
--- a/third_party/blink/renderer/core/dom/element.cc
|
||||
+++ b/third_party/blink/renderer/core/dom/element.cc
|
||||
@@ -2069,6 +2069,7 @@ void Element::ClientQuads(Vector<gfx::QuadF>& quads) const {
|
||||
@@ -2062,6 +2062,7 @@ void Element::ClientQuads(Vector<gfx::QuadF>& quads) const {
|
||||
quads.push_back(element_layout_object->LocalToAbsoluteQuad(
|
||||
gfx::QuadF(element_layout_object->ObjectBoundingBox())));
|
||||
}
|
||||
|
@ -247,7 +247,7 @@ diff --git a/third_party/blink/renderer/core/dom/element.cc b/third_party/blink/
|
|||
return;
|
||||
}
|
||||
|
||||
@@ -2076,6 +2077,11 @@ void Element::ClientQuads(Vector<gfx::QuadF>& quads) const {
|
||||
@@ -2069,6 +2070,11 @@ void Element::ClientQuads(Vector<gfx::QuadF>& quads) const {
|
||||
if (element_layout_object->IsBoxModelObject() ||
|
||||
element_layout_object->IsBR())
|
||||
element_layout_object->AbsoluteQuads(quads);
|
||||
|
@ -259,7 +259,7 @@ diff --git a/third_party/blink/renderer/core/dom/element.cc b/third_party/blink/
|
|||
}
|
||||
|
||||
DOMRectList* Element::getClientRects() {
|
||||
@@ -2107,6 +2113,9 @@ gfx::RectF Element::GetBoundingClientRectNoLifecycleUpdate() const {
|
||||
@@ -2100,6 +2106,9 @@ gfx::RectF Element::GetBoundingClientRectNoLifecycleUpdate() const {
|
||||
DCHECK(element_layout_object);
|
||||
GetDocument().AdjustRectForScrollAndAbsoluteZoom(result,
|
||||
*element_layout_object);
|
||||
|
@ -349,7 +349,7 @@ diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_c
|
|||
#include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h"
|
||||
#include "third_party/blink/renderer/platform/graphics/stroke_data.h"
|
||||
#include "third_party/blink/renderer/platform/graphics/video_frame_image_util.h"
|
||||
@@ -2049,6 +2050,10 @@ ImageData* BaseRenderingContext2D::getImageDataInternal(
|
||||
@@ -2047,6 +2048,10 @@ ImageData* BaseRenderingContext2D::getImageDataInternal(
|
||||
snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds();
|
||||
DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh)));
|
||||
}
|
||||
|
@ -363,7 +363,7 @@ diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_c
|
|||
diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
|
||||
--- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
|
||||
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
|
||||
@@ -923,9 +923,15 @@ TextMetrics* CanvasRenderingContext2D::measureText(const String& text) {
|
||||
@@ -916,9 +916,15 @@ TextMetrics* CanvasRenderingContext2D::measureText(const String& text) {
|
||||
TextDirection direction =
|
||||
ToTextDirection(GetState().GetDirection(), canvas());
|
||||
|
||||
|
@ -383,7 +383,7 @@ diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering
|
|||
diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
|
||||
--- a/third_party/blink/renderer/platform/BUILD.gn
|
||||
+++ b/third_party/blink/renderer/platform/BUILD.gn
|
||||
@@ -1623,7 +1623,9 @@ component("platform") {
|
||||
@@ -1591,7 +1591,9 @@ component("platform") {
|
||||
"//third_party/blink/renderer:non_test_config",
|
||||
]
|
||||
|
||||
|
@ -394,7 +394,7 @@ diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/re
|
|||
|
||||
allow_circular_includes_from = [
|
||||
"//third_party/blink/renderer/platform/blob",
|
||||
@@ -1691,6 +1693,7 @@ component("platform") {
|
||||
@@ -1659,6 +1661,7 @@ component("platform") {
|
||||
"//third_party/blink/public/strings",
|
||||
"//third_party/blink/renderer/platform/wtf",
|
||||
"//third_party/ced",
|
||||
|
@ -405,7 +405,7 @@ diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/re
|
|||
diff --git a/third_party/blink/renderer/platform/exported/web_runtime_features.cc b/third_party/blink/renderer/platform/exported/web_runtime_features.cc
|
||||
--- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc
|
||||
+++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc
|
||||
@@ -659,4 +659,16 @@ void WebRuntimeFeatures::EnableCLSScrollAnchoring(bool enable) {
|
||||
@@ -667,4 +667,16 @@ void WebRuntimeFeatures::EnableCLSScrollAnchoring(bool enable) {
|
||||
RuntimeEnabledFeatures::SetCLSScrollAnchoringEnabled(enable);
|
||||
}
|
||||
|
||||
|
@ -638,7 +638,7 @@ diff --git a/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
|
|||
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
@@ -1076,6 +1076,15 @@
|
||||
@@ -1098,6 +1098,15 @@
|
||||
origin_trial_allows_third_party: true,
|
||||
status: "experimental",
|
||||
},
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: Offer builtin autocomplete for chrome://flags
|
|||
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||||
@@ -270,6 +270,8 @@ std::vector<std::u16string> ChromeAutocompleteProviderClient::GetBuiltinURLs() {
|
||||
@@ -269,6 +269,8 @@ std::vector<std::u16string> ChromeAutocompleteProviderClient::GetBuiltinURLs() {
|
||||
std::vector<std::u16string>
|
||||
ChromeAutocompleteProviderClient::GetBuiltinsToProvideAsUserTypes() {
|
||||
std::vector<std::u16string> builtins_to_provide;
|
||||
|
|
|
@ -10,7 +10,7 @@ See https://github.com/bromite/bromite/issues/1472
|
|||
diff --git a/components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java b/components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java
|
||||
--- a/components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java
|
||||
+++ b/components/external_intents/android/java/src/org/chromium/components/external_intents/ExternalNavigationHandler.java
|
||||
@@ -1328,6 +1328,12 @@ public class ExternalNavigationHandler {
|
||||
@@ -1330,6 +1330,12 @@ public class ExternalNavigationHandler {
|
||||
OverrideUrlLoadingAsyncActionType.UI_GATING_BROWSER_NAVIGATION);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ diff --git a/net/dns/dns_transaction.cc b/net/dns/dns_transaction.cc
|
|||
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
||||
--- a/net/url_request/url_request_http_job.cc
|
||||
+++ b/net/url_request/url_request_http_job.cc
|
||||
@@ -320,6 +320,7 @@ void URLRequestHttpJob::OnGotFirstPartySetMetadata(
|
||||
@@ -321,6 +321,7 @@ void URLRequestHttpJob::OnGotFirstPartySetMetadata(
|
||||
// fields in the referrer.
|
||||
GURL referrer(request_->referrer());
|
||||
|
||||
|
@ -47,7 +47,7 @@ diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_reque
|
|||
// Our consumer should have made sure that this is a safe referrer (e.g. via
|
||||
// URLRequestJob::ComputeReferrerForPolicy).
|
||||
if (referrer.is_valid()) {
|
||||
@@ -327,11 +328,14 @@ void URLRequestHttpJob::OnGotFirstPartySetMetadata(
|
||||
@@ -328,11 +329,14 @@ void URLRequestHttpJob::OnGotFirstPartySetMetadata(
|
||||
request_info_.extra_headers.SetHeader(HttpRequestHeaders::kReferer,
|
||||
referer_value);
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_reque
|
|||
|
||||
AddExtraHeaders();
|
||||
|
||||
@@ -604,6 +608,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
@@ -605,6 +609,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
if (request_->Supports(SourceStream::SourceType::TYPE_DEFLATE)) {
|
||||
advertised_encoding_names.push_back("deflate");
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_reque
|
|||
// Advertise "br" encoding only if transferred data is opaque to proxy.
|
||||
if (request()->context()->enable_brotli() &&
|
||||
request_->Supports(SourceStream::SourceType::TYPE_BROTLI)) {
|
||||
@@ -612,6 +617,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
@@ -613,6 +618,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
advertised_encoding_names.push_back("br");
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_reque
|
|||
if (!advertised_encoding_names.empty()) {
|
||||
// Tell the server what compression formats are supported.
|
||||
request_info_.extra_headers.SetHeader(
|
||||
@@ -621,7 +627,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
@@ -622,7 +628,7 @@ void URLRequestHttpJob::AddExtraHeaders() {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Use (overriden) build timestamp for chrome_version_id
|
|||
diff --git a/base/BUILD.gn b/base/BUILD.gn
|
||||
--- a/base/BUILD.gn
|
||||
+++ b/base/BUILD.gn
|
||||
@@ -3901,8 +3901,13 @@ action("build_date") {
|
||||
@@ -3949,8 +3949,13 @@ action("build_date") {
|
||||
|
||||
args = [
|
||||
rebase_path("$target_gen_dir/generated_build_date.h", root_build_dir),
|
||||
|
|
|
@ -46,7 +46,7 @@ Parts of this patch were developed by csagan5, uazo and others.
|
|||
.../language/settings/LanguageSettings.java | 6 -
|
||||
.../prefetch/prefetch_service_factory.cc | 16 -
|
||||
.../browser/password_manager/android/BUILD.gn | 2 -
|
||||
...PasswordStoreAndroidBackendBridgeImpl.java | 7 -
|
||||
...PasswordStoreAndroidBackendBridgeImpl.java | 21 -
|
||||
.../push_messaging_service_factory.cc | 8 +-
|
||||
chrome/browser/ui/BUILD.gn | 3 -
|
||||
.../webui/chrome_web_ui_controller_factory.cc | 3 -
|
||||
|
@ -90,7 +90,7 @@ Parts of this patch were developed by csagan5, uazo and others.
|
|||
.../webauthn/AuthenticatorImpl.java | 30 -
|
||||
.../push_messaging/push_messaging_manager.cc | 2 +-
|
||||
content/public/android/BUILD.gn | 4 -
|
||||
content/public/common/content_features.cc | 2 +-
|
||||
content/public/common/content_features.cc | 4 +-
|
||||
content/test/BUILD.gn | 4 -
|
||||
device/BUILD.gn | 3 -
|
||||
device/fido/features.cc | 4 +-
|
||||
|
@ -101,14 +101,15 @@ Parts of this patch were developed by csagan5, uazo and others.
|
|||
third_party/android_deps/BUILD.gn | 540 +-----------------
|
||||
.../preconditions/javatests/BUILD.gn | 1 -
|
||||
.../gms/ChromiumPlayServicesAvailability.java | 10 +-
|
||||
79 files changed, 67 insertions(+), 2318 deletions(-)
|
||||
79 files changed, 68 insertions(+), 2333 deletions(-)
|
||||
delete mode 100644 components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskGcmTaskService.java
|
||||
delete mode 100644 components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerGcmNetworkManager.java
|
||||
|
||||
diff --git a/android_webview/expectations/system_webview_bundle.AndroidManifest.expected b/android_webview/expectations/system_webview_bundle.AndroidManifest.expected
|
||||
index 204f737cf943..822cd12d9e6e 100644
|
||||
--- a/android_webview/expectations/system_webview_bundle.AndroidManifest.expected
|
||||
+++ b/android_webview/expectations/system_webview_bundle.AndroidManifest.expected
|
||||
@@ -18,10 +18,6 @@
|
||||
@@ -19,10 +19,6 @@
|
||||
android:label="Android System WebView"
|
||||
android:multiArch="true"
|
||||
android:use32bitAbi="true">
|
||||
|
@ -119,7 +120,7 @@ diff --git a/android_webview/expectations/system_webview_bundle.AndroidManifest.
|
|||
</activity> # DIFF-ANCHOR: ea1a94af
|
||||
<activity # DIFF-ANCHOR: a4438884
|
||||
android:name="org.chromium.android_webview.devui.MainActivity"
|
||||
@@ -65,7 +61,6 @@
|
||||
@@ -66,7 +62,6 @@
|
||||
android:visibleToInstantApps="true">
|
||||
</activity-alias> # DIFF-ANCHOR: b7cc06e9
|
||||
<meta-data android:name="$PACKAGE.WebViewLibrary" android:value="libwebviewchromium.so"/>
|
||||
|
@ -128,9 +129,10 @@ diff --git a/android_webview/expectations/system_webview_bundle.AndroidManifest.
|
|||
<meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES" android:value="40"/>
|
||||
<provider # DIFF-ANCHOR: a5e78e63
|
||||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||
index a911fc9a092f..b3faa82fa390 100644
|
||||
--- a/chrome/android/BUILD.gn
|
||||
+++ b/chrome/android/BUILD.gn
|
||||
@@ -325,14 +325,6 @@ android_library("chrome_java") {
|
||||
@@ -326,14 +326,6 @@ android_library("chrome_java") {
|
||||
":chrome_public_apk_template_resources",
|
||||
":update_proto_java",
|
||||
":usage_stats_proto_java",
|
||||
|
@ -144,8 +146,8 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
- "$google_play_services_package:google_play_services_tasks_java",
|
||||
"//base:base_java",
|
||||
"//cc:cc_java",
|
||||
"//chrome/android/features/autofill_assistant:public_java",
|
||||
@@ -602,7 +594,6 @@ android_library("chrome_java") {
|
||||
"//chrome/android/features/keyboard_accessory:public_java",
|
||||
@@ -606,7 +598,6 @@ android_library("chrome_java") {
|
||||
"//skia/public/mojom:mojom_java",
|
||||
"//third_party/android_deps:android_support_v7_appcompat_java",
|
||||
"//third_party/android_deps:chromium_play_services_availability_java",
|
||||
|
@ -153,7 +155,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//third_party/android_deps:com_google_code_findbugs_jsr305_java",
|
||||
"//third_party/android_deps:com_google_guava_listenablefuture_java",
|
||||
"//third_party/android_deps:dagger_java",
|
||||
@@ -934,10 +925,6 @@ junit_binary("chrome_junit_tests") {
|
||||
@@ -937,10 +928,6 @@ junit_binary("chrome_junit_tests") {
|
||||
":chrome_jni_headers",
|
||||
":chrome_public_android_manifest",
|
||||
":delegate_public_impl_java",
|
||||
|
@ -164,7 +166,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//base:base_java",
|
||||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
@@ -1311,13 +1298,6 @@ android_library("chrome_test_java") {
|
||||
@@ -1317,13 +1304,6 @@ android_library("chrome_test_java") {
|
||||
":chrome_test_util_java",
|
||||
":chrome_test_util_jni",
|
||||
":delegate_public_impl_java",
|
||||
|
@ -178,7 +180,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//base:base_java",
|
||||
"//base:base_java_test_support",
|
||||
"//base/test:test_support_java",
|
||||
@@ -2391,7 +2371,6 @@ android_library("browser_java_test_support") {
|
||||
@@ -2405,7 +2385,6 @@ android_library("browser_java_test_support") {
|
||||
]
|
||||
deps = [
|
||||
":chrome_java",
|
||||
|
@ -186,7 +188,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//base:base_java",
|
||||
"//base:base_java_test_support",
|
||||
"//base:jni_java",
|
||||
@@ -2540,9 +2519,7 @@ android_library("base_monochrome_module_java") {
|
||||
@@ -2555,9 +2534,7 @@ android_library("base_monochrome_module_java") {
|
||||
android_library("base_module_java") {
|
||||
sources = [
|
||||
"../browser/attribution_reporting/android/java/src/org/chromium/chrome/browser/attribution_reporting/AttributionReportingProvider.java",
|
||||
|
@ -196,7 +198,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"java/src/org/chromium/chrome/browser/ChromeBackupAgent.java",
|
||||
"java/src/org/chromium/chrome/browser/DeferredStartupHandler.java",
|
||||
"java/src/org/chromium/chrome/browser/base/DexFixer.java",
|
||||
@@ -2553,8 +2530,6 @@ android_library("base_module_java") {
|
||||
@@ -2568,8 +2545,6 @@ android_library("base_module_java") {
|
||||
"java/src/org/chromium/chrome/browser/base/SplitCompatBackupAgent.java",
|
||||
"java/src/org/chromium/chrome/browser/base/SplitCompatContentProvider.java",
|
||||
"java/src/org/chromium/chrome/browser/base/SplitCompatCustomTabsService.java",
|
||||
|
@ -205,7 +207,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"java/src/org/chromium/chrome/browser/base/SplitCompatIntentService.java",
|
||||
"java/src/org/chromium/chrome/browser/base/SplitCompatJobService.java",
|
||||
"java/src/org/chromium/chrome/browser/base/SplitCompatMinidumpUploadJobService.java",
|
||||
@@ -2579,16 +2554,10 @@ android_library("base_module_java") {
|
||||
@@ -2594,16 +2569,10 @@ android_library("base_module_java") {
|
||||
"java/src/org/chromium/chrome/browser/photo_picker/DecoderService.java",
|
||||
"java/src/org/chromium/chrome/browser/prerender/ChromePrerenderService.java",
|
||||
"java/src/org/chromium/chrome/browser/provider/ChromeBrowserProvider.java",
|
||||
|
@ -222,7 +224,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//base:base_java",
|
||||
"//chrome/browser/download/android:file_provider_java",
|
||||
"//chrome/browser/flags:java",
|
||||
@@ -2601,7 +2570,6 @@ android_library("base_module_java") {
|
||||
@@ -2616,7 +2585,6 @@ android_library("base_module_java") {
|
||||
"//components/media_router/browser/android:cast_options_provider_java",
|
||||
"//components/minidump_uploader:minidump_uploader_java",
|
||||
"//components/module_installer/android:module_installer_java",
|
||||
|
@ -230,7 +232,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//third_party/androidx:androidx_annotation_annotation_java",
|
||||
"//third_party/androidx:androidx_collection_collection_java",
|
||||
"//third_party/androidx:androidx_fragment_fragment_java",
|
||||
@@ -2623,7 +2591,6 @@ android_library("base_module_java") {
|
||||
@@ -2638,7 +2606,6 @@ android_library("base_module_java") {
|
||||
# Deps to pull services into base module.
|
||||
# TODO(crbug.com/1126301): Consider moving these to the chrome module to
|
||||
# reduce base dex size.
|
||||
|
@ -239,6 +241,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//components/payments/content/android:service_java",
|
||||
"//third_party/androidx:androidx_browser_browser_java",
|
||||
diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni
|
||||
index fd0aad12a59b..313de6193509 100644
|
||||
--- a/chrome/android/chrome_java_sources.gni
|
||||
+++ b/chrome/android/chrome_java_sources.gni
|
||||
@@ -17,7 +17,6 @@ chrome_java_sources = [
|
||||
|
@ -249,7 +252,7 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java
|
|||
"java/src/org/chromium/chrome/browser/ChromeBackupAgentImpl.java",
|
||||
"java/src/org/chromium/chrome/browser/ChromeBackupWatcher.java",
|
||||
"java/src/org/chromium/chrome/browser/ChromeBaseAppCompatActivity.java",
|
||||
@@ -939,10 +938,6 @@ chrome_java_sources = [
|
||||
@@ -935,10 +934,6 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/searchwidget/SearchType.java",
|
||||
"java/src/org/chromium/chrome/browser/searchwidget/SearchWidgetProvider.java",
|
||||
"java/src/org/chromium/chrome/browser/send_tab_to_self/SendTabToSelfShareActivity.java",
|
||||
|
@ -261,6 +264,7 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java
|
|||
"java/src/org/chromium/chrome/browser/settings/SettingsActivity.java",
|
||||
"java/src/org/chromium/chrome/browser/settings/SettingsLauncherImpl.java",
|
||||
diff --git a/chrome/android/features/cablev2_authenticator/BUILD.gn b/chrome/android/features/cablev2_authenticator/BUILD.gn
|
||||
index c610598b7450..6714ac4a190c 100644
|
||||
--- a/chrome/android/features/cablev2_authenticator/BUILD.gn
|
||||
+++ b/chrome/android/features/cablev2_authenticator/BUILD.gn
|
||||
@@ -16,8 +16,6 @@ android_library("java") {
|
||||
|
@ -273,9 +277,10 @@ diff --git a/chrome/android/features/cablev2_authenticator/BUILD.gn b/chrome/and
|
|||
"//chrome/browser/webauthn/android:java_resources",
|
||||
"//components/webauthn/android:java",
|
||||
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
|
||||
index cc0ff9a4427e..a8c18d0d54e4 100644
|
||||
--- a/chrome/android/java/AndroidManifest.xml
|
||||
+++ b/chrome/android/java/AndroidManifest.xml
|
||||
@@ -101,21 +101,16 @@ by a child template that "extends" this file.
|
||||
@@ -102,21 +102,16 @@ by a child template that "extends" this file.
|
||||
<permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" android:protectionLevel="signature" />
|
||||
<permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKMARK_FOLDERS" android:protectionLevel="signatureOrSystem" />
|
||||
<permission android:name="{{ manifest_package }}.TOS_ACKED" android:protectionLevel="signatureOrSystem" />
|
||||
|
@ -297,7 +302,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
|
||||
|
||||
{% block extra_uses_permissions %}
|
||||
@@ -725,16 +720,6 @@ by a child template that "extends" this file.
|
||||
@@ -726,16 +721,6 @@ by a child template that "extends" this file.
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
@ -314,7 +319,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<!-- This activity is used to restart the main Chrome process. Should never be exported. -->
|
||||
<activity android:name="org.chromium.chrome.browser.BrowserRestartActivity"
|
||||
android:launchMode="singleInstance"
|
||||
@@ -798,15 +783,6 @@ by a child template that "extends" this file.
|
||||
@@ -799,15 +784,6 @@ by a child template that "extends" this file.
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
|
@ -330,7 +335,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<activity
|
||||
android:name="org.chromium.chrome.browser.vr.VrCancelAnimationActivity"
|
||||
android:exported="false"
|
||||
@@ -969,26 +945,6 @@ by a child template that "extends" this file.
|
||||
@@ -981,26 +957,6 @@ by a child template that "extends" this file.
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
|
||||
android:hardwareAccelerated="false" />
|
||||
|
||||
|
@ -357,7 +362,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<!-- Android Notification service listener -->
|
||||
<service android:name="org.chromium.chrome.browser.notifications.NotificationService"
|
||||
android:exported="false"/>
|
||||
@@ -1012,28 +968,10 @@ by a child template that "extends" this file.
|
||||
@@ -1032,28 +988,10 @@ by a child template that "extends" this file.
|
||||
android:exported="false"
|
||||
android:permission="android.permission.BIND_JOB_SERVICE"/>
|
||||
|
||||
|
@ -386,7 +391,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
<service android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService"
|
||||
android:exported="true"
|
||||
tools:ignore="ExportedService" />
|
||||
@@ -1252,12 +1190,6 @@ by a child template that "extends" this file.
|
||||
@@ -1272,12 +1210,6 @@ by a child template that "extends" this file.
|
||||
<meta-data android:name="com.google.ar.core" android:value="optional" />
|
||||
{% endif %}
|
||||
|
||||
|
@ -400,6 +405,7 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/Andro
|
|||
split preloader more time to work. -->
|
||||
<provider android:name="org.chromium.chrome.browser.util.ChromeFileProvider"
|
||||
diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
index 4f5751b297ab..e06ee7374f73 100644
|
||||
--- a/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
+++ b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
@@ -85,9 +85,4 @@
|
||||
|
@ -413,6 +419,7 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
- android:fragment="org.chromium.chrome.browser.webauthn.PrivacySettingsFragment"/>
|
||||
</PreferenceScreen>
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java b/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java
|
||||
index 37ab538e43c9..911a23f6a7c9 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java
|
||||
@@ -10,9 +10,6 @@ import android.content.pm.PackageManager;
|
||||
|
@ -425,7 +432,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java b
|
|||
import org.chromium.base.ContextUtils;
|
||||
import org.chromium.base.annotations.CalledByNative;
|
||||
import org.chromium.chrome.browser.customtabs.CustomTabsConnection;
|
||||
@@ -275,16 +272,7 @@ public abstract class AppHooks {
|
||||
@@ -266,16 +263,7 @@ public abstract class AppHooks {
|
||||
* same as {@link GoogleApiAvailability#isGooglePlayServicesAvailable()}.
|
||||
*/
|
||||
public int isGoogleApiAvailableWithMinApkVersion(int minApkVersion) {
|
||||
|
@ -444,6 +451,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java b
|
|||
|
||||
/**
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/PlayServicesVersionInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/PlayServicesVersionInfo.java
|
||||
index ab5666327790..1c8c35a2c9d0 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/PlayServicesVersionInfo.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/PlayServicesVersionInfo.java
|
||||
@@ -7,8 +7,6 @@ package org.chromium.chrome.browser;
|
||||
|
@ -479,6 +487,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/PlayServicesVer
|
|||
}
|
||||
}
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
||||
index 345ffb271956..79b6d859ab41 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/background_task_scheduler/ChromeBackgroundTaskFactory.java
|
||||
@@ -16,7 +16,6 @@ import org.chromium.chrome.browser.notifications.scheduler.NotificationScheduler
|
||||
|
@ -499,6 +508,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/background_task
|
|||
return new OfflineBackgroundTask();
|
||||
case TaskIds.OFFLINE_PAGES_PREFETCH_JOB_ID:
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java
|
||||
index 0c508b96796c..d182b76ade26 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java
|
||||
@@ -194,12 +194,8 @@ public class ExternalNavigationDelegateImpl implements ExternalNavigationDelegat
|
||||
|
@ -517,6 +527,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/externalnav/Ext
|
|||
|
||||
@Override
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/gcore/ChromeGoogleApiClientImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/gcore/ChromeGoogleApiClientImpl.java
|
||||
index 20e813b6e34e..950443de5bb3 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/gcore/ChromeGoogleApiClientImpl.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/gcore/ChromeGoogleApiClientImpl.java
|
||||
@@ -6,9 +6,6 @@ package org.chromium.chrome.browser.gcore;
|
||||
|
@ -585,6 +596,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/gcore/ChromeGoo
|
|||
- }
|
||||
}
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/gcore/GoogleApiClientHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/gcore/GoogleApiClientHelper.java
|
||||
index 520184e20d32..2fdb63b0cf2c 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/gcore/GoogleApiClientHelper.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/gcore/GoogleApiClientHelper.java
|
||||
@@ -7,11 +7,6 @@ package org.chromium.chrome.browser.gcore;
|
||||
|
@ -725,6 +737,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/gcore/GoogleApi
|
|||
}
|
||||
}
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsHandler.java
|
||||
index 0c3b78651e88..4865b1a9df12 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsHandler.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/instantapps/InstantAppsHandler.java
|
||||
@@ -41,31 +41,10 @@ public class InstantAppsHandler {
|
||||
|
@ -833,6 +846,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/instantapps/Ins
|
|||
try {
|
||||
appContext.startActivity(iaIntent);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omaha/UpdateStatusProvider.java b/chrome/android/java/src/org/chromium/chrome/browser/omaha/UpdateStatusProvider.java
|
||||
index b94f9a4c51c4..43d2ec12bc7b 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/omaha/UpdateStatusProvider.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omaha/UpdateStatusProvider.java
|
||||
@@ -17,8 +17,6 @@ import androidx.annotation.IntDef;
|
||||
|
@ -860,9 +874,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omaha/UpdateSta
|
|||
|
||||
private long getSize(StatFs statFs) {
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
index bbd4380eac65..e4e71e382f6f 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -79,7 +79,6 @@ public class PrivacySettings
|
||||
@@ -80,7 +80,6 @@ public class PrivacySettings
|
||||
private static final String PREF_CLEAR_BROWSING_DATA = "clear_browsing_data";
|
||||
private static final String PREF_PRIVACY_REVIEW = "privacy_review";
|
||||
private static final String PREF_INCOGNITO_LOCK = "incognito_lock";
|
||||
|
@ -870,7 +885,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
|
||||
private static final String PREF_CLOSE_TABS_ON_EXIT = "close_tabs_on_exit";
|
||||
|
||||
@@ -184,10 +183,6 @@ public class PrivacySettings
|
||||
@@ -185,10 +184,6 @@ public class PrivacySettings
|
||||
return true;
|
||||
});
|
||||
|
||||
|
@ -882,6 +897,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
(ChromeSwitchPreference) findPreference(PREF_INCOGNITO_TAB_HISTORY_ENABLED);
|
||||
historyInIncognitoPref.setOnPreferenceChangeListener(this);
|
||||
diff --git a/chrome/android/modules/chrome_feature_modules.gni b/chrome/android/modules/chrome_feature_modules.gni
|
||||
index f5ee6de650f0..93c72b9176bf 100644
|
||||
--- a/chrome/android/modules/chrome_feature_modules.gni
|
||||
+++ b/chrome/android/modules/chrome_feature_modules.gni
|
||||
@@ -8,8 +8,6 @@ import(
|
||||
|
@ -902,9 +918,10 @@ diff --git a/chrome/android/modules/chrome_feature_modules.gni b/chrome/android/
|
|||
# Modules shipped in Trichrome (Android Q+).
|
||||
trichrome_module_descs = monochrome_module_descs
|
||||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
index b4310266123c..68594ccb679c 100644
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -6739,8 +6739,6 @@ static_library("browser") {
|
||||
@@ -6781,8 +6781,6 @@ static_library("browser") {
|
||||
"offline_pages/offliner_helper.h",
|
||||
"offline_pages/offliner_user_data.cc",
|
||||
"offline_pages/offliner_user_data.h",
|
||||
|
@ -914,6 +931,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"offline_pages/prefetch/offline_metrics_collector_impl.h",
|
||||
"offline_pages/prefetch/offline_prefetch_download_client.cc",
|
||||
diff --git a/chrome/browser/gsa/java/src/org/chromium/chrome/browser/gsa/GSAState.java b/chrome/browser/gsa/java/src/org/chromium/chrome/browser/gsa/GSAState.java
|
||||
index 44d444d03248..c28a5cc5433a 100644
|
||||
--- a/chrome/browser/gsa/java/src/org/chromium/chrome/browser/gsa/GSAState.java
|
||||
+++ b/chrome/browser/gsa/java/src/org/chromium/chrome/browser/gsa/GSAState.java
|
||||
@@ -82,7 +82,7 @@ public class GSAState {
|
||||
|
@ -935,6 +953,7 @@ diff --git a/chrome/browser/gsa/java/src/org/chromium/chrome/browser/gsa/GSAStat
|
|||
|
||||
/* Private constructor, since this is a singleton */
|
||||
diff --git a/chrome/browser/language/android/BUILD.gn b/chrome/browser/language/android/BUILD.gn
|
||||
index 2baa1d03604c..0e9d78030198 100644
|
||||
--- a/chrome/browser/language/android/BUILD.gn
|
||||
+++ b/chrome/browser/language/android/BUILD.gn
|
||||
@@ -9,13 +9,11 @@ android_library("base_module_java") {
|
||||
|
@ -952,6 +971,7 @@ diff --git a/chrome/browser/language/android/BUILD.gn b/chrome/browser/language/
|
|||
"//ui/android:ui_no_recycler_view_java",
|
||||
]
|
||||
diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/AppLanguagePromoDialog.java b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/AppLanguagePromoDialog.java
|
||||
index df8b7f55d1bb..cc4db4ca1412 100644
|
||||
--- a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/AppLanguagePromoDialog.java
|
||||
+++ b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/AppLanguagePromoDialog.java
|
||||
@@ -457,12 +457,6 @@ public class AppLanguagePromoDialog {
|
||||
|
@ -992,6 +1012,7 @@ diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browse
|
|||
|
||||
/**
|
||||
diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/AppLanguagePreferenceDelegate.java b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/AppLanguagePreferenceDelegate.java
|
||||
index a455465d3ad9..c5fbbf765afc 100644
|
||||
--- a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/AppLanguagePreferenceDelegate.java
|
||||
+++ b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/AppLanguagePreferenceDelegate.java
|
||||
@@ -87,14 +87,6 @@ public class AppLanguagePreferenceDelegate {
|
||||
|
@ -1010,6 +1031,7 @@ diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browse
|
|||
|
||||
/**
|
||||
diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/LanguageSettings.java b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/LanguageSettings.java
|
||||
index 44e18f3d3027..a2c40bccd02f 100644
|
||||
--- a/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/LanguageSettings.java
|
||||
+++ b/chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/settings/LanguageSettings.java
|
||||
@@ -19,7 +19,6 @@ import org.chromium.base.Log;
|
||||
|
@ -1033,6 +1055,7 @@ diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browse
|
|||
|
||||
setupAppLanguageSection();
|
||||
diff --git a/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc b/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc
|
||||
index ac009f5689d4..45eb96fdd0f2 100644
|
||||
--- a/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc
|
||||
+++ b/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc
|
||||
@@ -18,7 +18,6 @@
|
||||
|
@ -1066,9 +1089,10 @@ diff --git a/chrome/browser/offline_pages/prefetch/prefetch_service_factory.cc b
|
|||
}
|
||||
|
||||
diff --git a/chrome/browser/password_manager/android/BUILD.gn b/chrome/browser/password_manager/android/BUILD.gn
|
||||
index 34ff83d1e9a6..f7ae6d770bce 100644
|
||||
--- a/chrome/browser/password_manager/android/BUILD.gn
|
||||
+++ b/chrome/browser/password_manager/android/BUILD.gn
|
||||
@@ -58,7 +58,6 @@ android_library("java") {
|
||||
@@ -63,7 +63,6 @@ android_library("java") {
|
||||
":android_backend_java_enums",
|
||||
":java_resources",
|
||||
":settings_interface_java",
|
||||
|
@ -1076,8 +1100,8 @@ diff --git a/chrome/browser/password_manager/android/BUILD.gn b/chrome/browser/p
|
|||
"//base:base_java",
|
||||
"//chrome/browser/device_reauth/android:java",
|
||||
"//chrome/browser/flags:java",
|
||||
@@ -132,7 +131,6 @@ junit_binary("password_manager_junit_tests") {
|
||||
":android_backend_java_enums",
|
||||
@@ -143,7 +142,6 @@ junit_binary("password_manager_junit_tests") {
|
||||
":backend_interface_public_impl_java",
|
||||
":java",
|
||||
":settings_interface_java",
|
||||
- "$google_play_services_package:google_play_services_basement_java",
|
||||
|
@ -1085,30 +1109,46 @@ diff --git a/chrome/browser/password_manager/android/BUILD.gn b/chrome/browser/p
|
|||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
diff --git a/chrome/browser/password_manager/android/java/src/org/chromium/chrome/browser/password_manager/PasswordStoreAndroidBackendBridgeImpl.java b/chrome/browser/password_manager/android/java/src/org/chromium/chrome/browser/password_manager/PasswordStoreAndroidBackendBridgeImpl.java
|
||||
index f766ea13aa76..d1b1cd3ea56e 100644
|
||||
--- a/chrome/browser/password_manager/android/java/src/org/chromium/chrome/browser/password_manager/PasswordStoreAndroidBackendBridgeImpl.java
|
||||
+++ b/chrome/browser/password_manager/android/java/src/org/chromium/chrome/browser/password_manager/PasswordStoreAndroidBackendBridgeImpl.java
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
package org.chromium.chrome.browser.password_manager;
|
||||
@@ -9,8 +9,6 @@ import static org.chromium.chrome.browser.password_manager.PasswordManagerHelper
|
||||
import android.accounts.Account;
|
||||
import android.app.PendingIntent;
|
||||
|
||||
-import com.google.android.gms.common.api.ApiException;
|
||||
-
|
||||
import org.chromium.base.annotations.CalledByNative;
|
||||
import org.chromium.base.annotations.NativeMethods;
|
||||
-import com.google.android.gms.common.api.ResolvableApiException;
|
||||
import com.google.common.base.Optional;
|
||||
|
||||
@@ -114,11 +112,6 @@ class PasswordStoreAndroidBackendBridgeImpl {
|
||||
import org.chromium.base.Log;
|
||||
@@ -123,25 +121,6 @@ class PasswordStoreAndroidBackendBridgeImpl {
|
||||
error = ((PasswordStoreAndroidBackend.BackendException) exception).errorCode;
|
||||
}
|
||||
|
||||
- if (exception instanceof ApiException) {
|
||||
- error = AndroidBackendErrorType.EXTERNAL_ERROR;
|
||||
- api_error_code = ((ApiException) exception).getStatusCode();
|
||||
-
|
||||
- if (usesUnifiedPasswordManagerUI() && exception instanceof ResolvableApiException
|
||||
- && api_error_code != ChromeSyncStatusCode.AUTH_ERROR_RESOLVABLE) {
|
||||
- // Backend error is user-recoverable, launch pending intent to allow the user to
|
||||
- // resolve it. Resolution for the authentication errors is not launched as
|
||||
- // user is requested to reauthenticate by Google services and Sync in Chrome.
|
||||
- ResolvableApiException resolvableApiException = (ResolvableApiException) exception;
|
||||
- PendingIntent pendingIntent = resolvableApiException.getResolution();
|
||||
- try {
|
||||
- pendingIntent.send();
|
||||
- } catch (PendingIntent.CanceledException e) {
|
||||
- Log.e(TAG, "Can not launch error resolution intent", e);
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-
|
||||
PasswordStoreAndroidBackendBridgeImplJni.get().onError(
|
||||
mNativeBackendBridge, jobId, error, api_error_code);
|
||||
}
|
||||
diff --git a/chrome/browser/push_messaging/push_messaging_service_factory.cc b/chrome/browser/push_messaging/push_messaging_service_factory.cc
|
||||
index 2987c24efdf2..f84b6dd50a80 100644
|
||||
--- a/chrome/browser/push_messaging/push_messaging_service_factory.cc
|
||||
+++ b/chrome/browser/push_messaging/push_messaging_service_factory.cc
|
||||
@@ -28,13 +28,7 @@
|
||||
|
@ -1127,9 +1167,10 @@ diff --git a/chrome/browser/push_messaging/push_messaging_service_factory.cc b/c
|
|||
|
||||
// static
|
||||
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
||||
index 6ebeefd819c9..8b98b903816c 100644
|
||||
--- a/chrome/browser/ui/BUILD.gn
|
||||
+++ b/chrome/browser/ui/BUILD.gn
|
||||
@@ -250,8 +250,6 @@ static_library("ui") {
|
||||
@@ -248,8 +248,6 @@ static_library("ui") {
|
||||
"webui/flags/flags_ui.h",
|
||||
"webui/flags/flags_ui_handler.cc",
|
||||
"webui/flags/flags_ui_handler.h",
|
||||
|
@ -1138,7 +1179,7 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|||
"webui/internals/internals_ui.cc",
|
||||
"webui/internals/internals_ui.h",
|
||||
"webui/interstitials/interstitial_ui.cc",
|
||||
@@ -480,7 +478,6 @@ static_library("ui") {
|
||||
@@ -479,7 +477,6 @@ static_library("ui") {
|
||||
"//components/feedback/content",
|
||||
"//components/find_in_page",
|
||||
"//components/flags_ui",
|
||||
|
@ -1147,9 +1188,10 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|||
"//components/heap_profiling/multi_process",
|
||||
"//components/history/content/browser",
|
||||
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
index 9c794434f3af..42a34703f688 100644
|
||||
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
||||
@@ -39,7 +39,6 @@
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "chrome/browser/ui/webui/download_internals/download_internals_ui.h"
|
||||
#include "chrome/browser/ui/webui/engagement/site_engagement_ui.h"
|
||||
#include "chrome/browser/ui/webui/flags/flags_ui.h"
|
||||
|
@ -1157,7 +1199,7 @@ diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrom
|
|||
#include "chrome/browser/ui/webui/internals/internals_ui.h"
|
||||
#include "chrome/browser/ui/webui/interstitials/interstitial_ui.h"
|
||||
#include "chrome/browser/ui/webui/invalidations/invalidations_ui.h"
|
||||
@@ -724,8 +723,6 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
|
||||
@@ -746,8 +745,6 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
|
||||
return &NewWebUI<FlagsDeprecatedUI>;
|
||||
if (url.host_piece() == chrome::kChromeUIFlagsHost)
|
||||
return &NewWebUI<FlagsUI>;
|
||||
|
@ -1167,9 +1209,10 @@ diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrom
|
|||
return &NewWebUI<InternalsUI>;
|
||||
if (url.host_piece() == chrome::kChromeUIInterstitialHost)
|
||||
diff --git a/chrome/test/android/BUILD.gn b/chrome/test/android/BUILD.gn
|
||||
index bce8795dd73f..4289b982e468 100644
|
||||
--- a/chrome/test/android/BUILD.gn
|
||||
+++ b/chrome/test/android/BUILD.gn
|
||||
@@ -306,8 +306,6 @@ android_library("chrome_java_test_support") {
|
||||
@@ -305,8 +305,6 @@ android_library("chrome_java_test_support") {
|
||||
]
|
||||
|
||||
deps = [
|
||||
|
@ -1179,6 +1222,7 @@ diff --git a/chrome/test/android/BUILD.gn b/chrome/test/android/BUILD.gn
|
|||
"//base:base_java_test_support",
|
||||
"//chrome/android:base_module_java",
|
||||
diff --git a/components/background_task_scheduler/BUILD.gn b/components/background_task_scheduler/BUILD.gn
|
||||
index 4417a697fdb9..5f76bd8b797c 100644
|
||||
--- a/components/background_task_scheduler/BUILD.gn
|
||||
+++ b/components/background_task_scheduler/BUILD.gn
|
||||
@@ -121,11 +121,6 @@ if (is_android) {
|
||||
|
@ -1194,6 +1238,7 @@ diff --git a/components/background_task_scheduler/BUILD.gn b/components/backgrou
|
|||
"internal:proto_java",
|
||||
"//base:base_java",
|
||||
diff --git a/components/background_task_scheduler/internal/BUILD.gn b/components/background_task_scheduler/internal/BUILD.gn
|
||||
index 05cf1f1a2c7e..f1268c5bc6de 100644
|
||||
--- a/components/background_task_scheduler/internal/BUILD.gn
|
||||
+++ b/components/background_task_scheduler/internal/BUILD.gn
|
||||
@@ -11,12 +11,10 @@ if (is_android) {
|
||||
|
@ -1233,6 +1278,7 @@ diff --git a/components/background_task_scheduler/internal/BUILD.gn b/components
|
|||
"//components/background_task_scheduler:background_task_scheduler_task_ids_java",
|
||||
diff --git a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskGcmTaskService.java b/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskGcmTaskService.java
|
||||
deleted file mode 100644
|
||||
index cf2b7598bf86..000000000000
|
||||
--- a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskGcmTaskService.java
|
||||
+++ /dev/null
|
||||
@@ -1,160 +0,0 @@
|
||||
|
@ -1397,6 +1443,7 @@ deleted file mode 100644
|
|||
- }
|
||||
-}
|
||||
diff --git a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerFactoryInternal.java b/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerFactoryInternal.java
|
||||
index 523cc6195333..1ae1ba748626 100644
|
||||
--- a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerFactoryInternal.java
|
||||
+++ b/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerFactoryInternal.java
|
||||
@@ -21,11 +21,7 @@ public final class BackgroundTaskSchedulerFactoryInternal {
|
||||
|
@ -1414,6 +1461,7 @@ diff --git a/components/background_task_scheduler/internal/android/java/src/org/
|
|||
/**
|
||||
diff --git a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerGcmNetworkManager.java b/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerGcmNetworkManager.java
|
||||
deleted file mode 100644
|
||||
index 3fbcd4ae4b72..000000000000
|
||||
--- a/components/background_task_scheduler/internal/android/java/src/org/chromium/components/background_task_scheduler/internal/BackgroundTaskSchedulerGcmNetworkManager.java
|
||||
+++ /dev/null
|
||||
@@ -1,257 +0,0 @@
|
||||
|
@ -1675,6 +1723,7 @@ deleted file mode 100644
|
|||
- }
|
||||
-}
|
||||
diff --git a/components/component_updater/android/java/src/org/chromium/components/component_updater/UpdateScheduler.java b/components/component_updater/android/java/src/org/chromium/components/component_updater/UpdateScheduler.java
|
||||
index f7137144ee1d..efcdca4737d9 100644
|
||||
--- a/components/component_updater/android/java/src/org/chromium/components/component_updater/UpdateScheduler.java
|
||||
+++ b/components/component_updater/android/java/src/org/chromium/components/component_updater/UpdateScheduler.java
|
||||
@@ -14,7 +14,6 @@ import org.chromium.components.background_task_scheduler.BackgroundTask.TaskFini
|
||||
|
@ -1686,6 +1735,7 @@ diff --git a/components/component_updater/android/java/src/org/chromium/componen
|
|||
/** Java-side implementation of the component update scheduler using the BackgroundTaskScheduler. */
|
||||
@JNINamespace("component_updater")
|
||||
diff --git a/components/externalauth/android/BUILD.gn b/components/externalauth/android/BUILD.gn
|
||||
index b1239f692741..6dd1b0019c80 100644
|
||||
--- a/components/externalauth/android/BUILD.gn
|
||||
+++ b/components/externalauth/android/BUILD.gn
|
||||
@@ -27,8 +27,6 @@ android_library("google_delegate_public_impl_java") {
|
||||
|
@ -1706,6 +1756,7 @@ diff --git a/components/externalauth/android/BUILD.gn b/components/externalauth/
|
|||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
diff --git a/components/externalauth/android/java/src/org/chromium/components/externalauth/ExternalAuthUtils.java b/components/externalauth/android/java/src/org/chromium/components/externalauth/ExternalAuthUtils.java
|
||||
index 422b44322ecc..7f166c26b192 100644
|
||||
--- a/components/externalauth/android/java/src/org/chromium/components/externalauth/ExternalAuthUtils.java
|
||||
+++ b/components/externalauth/android/java/src/org/chromium/components/externalauth/ExternalAuthUtils.java
|
||||
@@ -15,16 +15,12 @@ import android.text.TextUtils;
|
||||
|
@ -1775,6 +1826,7 @@ diff --git a/components/externalauth/android/java/src/org/chromium/components/ex
|
|||
|
||||
/**
|
||||
diff --git a/components/externalauth/android/java/src/org/chromium/components/externalauth/UserRecoverableErrorHandler.java b/components/externalauth/android/java/src/org/chromium/components/externalauth/UserRecoverableErrorHandler.java
|
||||
index 39905bebee10..c89b9917e4de 100644
|
||||
--- a/components/externalauth/android/java/src/org/chromium/components/externalauth/UserRecoverableErrorHandler.java
|
||||
+++ b/components/externalauth/android/java/src/org/chromium/components/externalauth/UserRecoverableErrorHandler.java
|
||||
@@ -9,8 +9,6 @@ import android.app.Dialog;
|
||||
|
@ -1807,6 +1859,7 @@ diff --git a/components/externalauth/android/java/src/org/chromium/components/ex
|
|||
// This can happen if |errorCode| is ConnectionResult.SERVICE_INVALID.
|
||||
if (mDialog != null && !mDialog.isShowing()) {
|
||||
diff --git a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java
|
||||
index fc3c5fb8c370..9a47c6e68ea7 100644
|
||||
--- a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java
|
||||
+++ b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java
|
||||
@@ -129,6 +129,8 @@ public class GoogleCloudMessagingV2 implements GoogleCloudMessagingSubscriber {
|
||||
|
@ -1819,6 +1872,7 @@ diff --git a/components/gcm_driver/android/java/src/org/chromium/components/gcm_
|
|||
throw new IOException(ERROR_MAIN_THREAD);
|
||||
}
|
||||
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc
|
||||
index 016228a0326c..42eb37253d63 100644
|
||||
--- a/components/gcm_driver/gcm_client_impl.cc
|
||||
+++ b/components/gcm_driver/gcm_client_impl.cc
|
||||
@@ -465,6 +465,7 @@ void GCMClientImpl::StartGCM() {
|
||||
|
@ -1854,6 +1908,7 @@ diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gc
|
|||
// Make sure no checkin is in progress.
|
||||
if (checkin_request_.get() || !device_checkin_info_.accounts_set)
|
||||
diff --git a/components/gcm_driver/instance_id/android/BUILD.gn b/components/gcm_driver/instance_id/android/BUILD.gn
|
||||
index 0e0beb64b083..dc9a460bdae7 100644
|
||||
--- a/components/gcm_driver/instance_id/android/BUILD.gn
|
||||
+++ b/components/gcm_driver/instance_id/android/BUILD.gn
|
||||
@@ -15,7 +15,6 @@ generate_jni("test_support_jni_headers") {
|
||||
|
@ -1880,6 +1935,7 @@ diff --git a/components/gcm_driver/instance_id/android/BUILD.gn b/components/gcm
|
|||
]
|
||||
|
||||
diff --git a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
|
||||
index 8bc7e839e620..eb267cb0eaa9 100644
|
||||
--- a/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
|
||||
+++ b/components/gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java
|
||||
@@ -27,7 +27,6 @@ public class InstanceIDBridge {
|
||||
|
@ -1980,6 +2036,7 @@ diff --git a/components/gcm_driver/instance_id/android/java/src/org/chromium/com
|
|||
}
|
||||
@Override
|
||||
diff --git a/components/media_router/browser/android/BUILD.gn b/components/media_router/browser/android/BUILD.gn
|
||||
index 3a028f66020f..f807861094a0 100644
|
||||
--- a/components/media_router/browser/android/BUILD.gn
|
||||
+++ b/components/media_router/browser/android/BUILD.gn
|
||||
@@ -11,10 +11,6 @@ android_library("java") {
|
||||
|
@ -2013,6 +2070,7 @@ diff --git a/components/media_router/browser/android/BUILD.gn b/components/media
|
|||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/BrowserMediaRouter.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/BrowserMediaRouter.java
|
||||
index 0c50bf2a485a..81b5bf059ca9 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/BrowserMediaRouter.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/BrowserMediaRouter.java
|
||||
@@ -10,9 +10,6 @@ import androidx.annotation.Nullable;
|
||||
|
@ -2048,6 +2106,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
};
|
||||
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/CastSessionUtil.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/CastSessionUtil.java
|
||||
index bcdeed0271b9..85e18b429c73 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/CastSessionUtil.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/CastSessionUtil.java
|
||||
@@ -4,9 +4,6 @@
|
||||
|
@ -2098,6 +2157,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
- }
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaSink.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaSink.java
|
||||
index 8304e667d8da..403f6de20875 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaSink.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaSink.java
|
||||
@@ -8,41 +8,24 @@ import androidx.annotation.Nullable;
|
||||
|
@ -2199,6 +2259,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
}
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaStatusBridge.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaStatusBridge.java
|
||||
index 3035d610e170..103acd2a7502 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaStatusBridge.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/MediaStatusBridge.java
|
||||
@@ -4,10 +4,6 @@
|
||||
|
@ -2332,6 +2393,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
}
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseNotificationController.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseNotificationController.java
|
||||
index 87ed0853c10f..d04b0cc41f0c 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseNotificationController.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseNotificationController.java
|
||||
@@ -6,10 +6,6 @@ package org.chromium.components.media_router.caf;
|
||||
|
@ -2419,6 +2481,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
@Override
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseSessionController.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseSessionController.java
|
||||
index b54eb557404c..88c3e26b99dc 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseSessionController.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/BaseSessionController.java
|
||||
@@ -6,12 +6,7 @@ package org.chromium.components.media_router.caf;
|
||||
|
@ -2584,6 +2647,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
private void notifyCallback(NotifyCallbackAction action) {
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafBaseMediaRouteProvider.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafBaseMediaRouteProvider.java
|
||||
index c1eb23f3bd96..3bae979efbe3 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafBaseMediaRouteProvider.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafBaseMediaRouteProvider.java
|
||||
@@ -12,10 +12,6 @@ import androidx.mediarouter.media.MediaRouteSelector;
|
||||
|
@ -2736,6 +2800,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
if (mPendingCreateRouteRequestInfo == null) return;
|
||||
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMediaRouteProvider.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMediaRouteProvider.java
|
||||
index 5b96bf665bc3..461724874350 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMediaRouteProvider.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMediaRouteProvider.java
|
||||
@@ -11,8 +11,6 @@ import androidx.annotation.Nullable;
|
||||
|
@ -2747,7 +2812,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
import org.chromium.base.Log;
|
||||
import org.chromium.components.media_router.BrowserMediaRouter;
|
||||
import org.chromium.components.media_router.ClientRecord;
|
||||
@@ -147,20 +145,6 @@ public class CafMediaRouteProvider extends CafBaseMediaRouteProvider {
|
||||
@@ -150,20 +148,6 @@ public class CafMediaRouteProvider extends CafBaseMediaRouteProvider {
|
||||
return mMessageHandler;
|
||||
}
|
||||
|
||||
|
@ -2769,6 +2834,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
protected void addRoute(
|
||||
MediaRoute route, String origin, int tabId, int nativeRequestId, boolean wasLaunched) {
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMessageHandler.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMessageHandler.java
|
||||
index f5e1361a35a2..46f4d3349c04 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMessageHandler.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CafMessageHandler.java
|
||||
@@ -13,10 +13,6 @@ import android.util.SparseArray;
|
||||
|
@ -2914,6 +2980,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
}
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastMediaSource.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastMediaSource.java
|
||||
index dda0636d2d07..83dfba069210 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastMediaSource.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastMediaSource.java
|
||||
@@ -9,8 +9,6 @@ import android.net.Uri;
|
||||
|
@ -2941,6 +3008,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
/**
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastOptionsProvider.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastOptionsProvider.java
|
||||
index f134ea1d42c9..537f71d3cabe 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastOptionsProvider.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastOptionsProvider.java
|
||||
@@ -6,28 +6,8 @@ package org.chromium.components.media_router.caf;
|
||||
|
@ -2974,6 +3042,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
+public class CastOptionsProvider {
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastSessionController.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastSessionController.java
|
||||
index fefabac82df8..a1470027df12 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastSessionController.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastSessionController.java
|
||||
@@ -7,11 +7,6 @@ package org.chromium.components.media_router.caf;
|
||||
|
@ -3112,6 +3181,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
@NonNull
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastUtils.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastUtils.java
|
||||
index 16ddb6474f3e..2816aac3dede 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastUtils.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/CastUtils.java
|
||||
@@ -4,18 +4,10 @@
|
||||
|
@ -3134,6 +3204,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
* Compares two origins. Empty origin strings correspond to unique origins in
|
||||
* url::Origin.
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafExpandedControllerActivity.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafExpandedControllerActivity.java
|
||||
index 53fea6d93b5a..f958f0fec598 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafExpandedControllerActivity.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafExpandedControllerActivity.java
|
||||
@@ -45,60 +45,35 @@ public class CafExpandedControllerActivity
|
||||
|
@ -3222,6 +3293,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
private void scheduleProgressUpdateTask() {
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafRemotingMediaRouteProvider.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafRemotingMediaRouteProvider.java
|
||||
index 21f2b2aba7ab..fea69a0fadd2 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafRemotingMediaRouteProvider.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/CafRemotingMediaRouteProvider.java
|
||||
@@ -49,9 +49,6 @@ public class CafRemotingMediaRouteProvider extends CafBaseMediaRouteProvider {
|
||||
|
@ -3243,6 +3315,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
}
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/FlingingControllerAdapter.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/FlingingControllerAdapter.java
|
||||
index 98cfcf2d9c58..c638d04b248d 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/FlingingControllerAdapter.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/FlingingControllerAdapter.java
|
||||
@@ -4,11 +4,6 @@
|
||||
|
@ -3363,6 +3436,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
- }
|
||||
}
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingMediaSource.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingMediaSource.java
|
||||
index 91984baef9e4..3e2cde548572 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingMediaSource.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingMediaSource.java
|
||||
@@ -13,8 +13,6 @@ import android.util.Base64;
|
||||
|
@ -3395,6 +3469,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
|
||||
return sApplicationId;
|
||||
diff --git a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingSessionController.java b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingSessionController.java
|
||||
index e617538a58dd..10f9d9a8a1be 100644
|
||||
--- a/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingSessionController.java
|
||||
+++ b/components/media_router/browser/android/java/src/org/chromium/components/media_router/caf/remoting/RemotingSessionController.java
|
||||
@@ -4,8 +4,6 @@
|
||||
|
@ -3445,6 +3520,7 @@ diff --git a/components/media_router/browser/android/java/src/org/chromium/compo
|
|||
public BaseNotificationController getNotificationController() {
|
||||
return mNotificationController;
|
||||
diff --git a/components/media_router/test/android/cast_emulator/BUILD.gn b/components/media_router/test/android/cast_emulator/BUILD.gn
|
||||
index 14be15c521cc..2da11eafc131 100644
|
||||
--- a/components/media_router/test/android/cast_emulator/BUILD.gn
|
||||
+++ b/components/media_router/test/android/cast_emulator/BUILD.gn
|
||||
@@ -20,7 +20,6 @@ android_library("cast_emulator_java") {
|
||||
|
@ -3456,6 +3532,7 @@ diff --git a/components/media_router/test/android/cast_emulator/BUILD.gn b/compo
|
|||
"//third_party/android_deps:android_support_v7_appcompat_java",
|
||||
"//third_party/androidx:androidx_mediarouter_mediarouter_java",
|
||||
diff --git a/components/module_installer/android/BUILD.gn b/components/module_installer/android/BUILD.gn
|
||||
index 39b6d30790bb..6e24d4821af0 100644
|
||||
--- a/components/module_installer/android/BUILD.gn
|
||||
+++ b/components/module_installer/android/BUILD.gn
|
||||
@@ -34,7 +34,6 @@ android_library("module_installer_java") {
|
||||
|
@ -3475,6 +3552,7 @@ diff --git a/components/module_installer/android/BUILD.gn b/components/module_in
|
|||
]
|
||||
}
|
||||
diff --git a/components/signin/public/android/BUILD.gn b/components/signin/public/android/BUILD.gn
|
||||
index d5b5b61fc045..822cc12b08ac 100644
|
||||
--- a/components/signin/public/android/BUILD.gn
|
||||
+++ b/components/signin/public/android/BUILD.gn
|
||||
@@ -2,8 +2,6 @@ import("//build/config/android/rules.gni")
|
||||
|
@ -3486,7 +3564,7 @@ diff --git a/components/signin/public/android/BUILD.gn b/components/signin/publi
|
|||
"//base:base_java",
|
||||
"//components/externalauth/android:java",
|
||||
"//net/android:net_java",
|
||||
@@ -24,7 +22,6 @@ android_library("java") {
|
||||
@@ -27,7 +25,6 @@ android_library("java") {
|
||||
"java/src/org/chromium/components/signin/AccountManagerFacade.java",
|
||||
"java/src/org/chromium/components/signin/AccountManagerFacadeImpl.java",
|
||||
"java/src/org/chromium/components/signin/AccountManagerFacadeProvider.java",
|
||||
|
@ -3494,7 +3572,7 @@ diff --git a/components/signin/public/android/BUILD.gn b/components/signin/publi
|
|||
"java/src/org/chromium/components/signin/AccountRestrictionPatternReceiver.java",
|
||||
"java/src/org/chromium/components/signin/AccountUtils.java",
|
||||
"java/src/org/chromium/components/signin/AccountsChangeObserver.java",
|
||||
@@ -136,7 +133,6 @@ java_library("junit") {
|
||||
@@ -161,7 +158,6 @@ java_library("junit") {
|
||||
deps = [
|
||||
":java",
|
||||
":signin_java_test_support",
|
||||
|
@ -3503,6 +3581,7 @@ diff --git a/components/signin/public/android/BUILD.gn b/components/signin/publi
|
|||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
diff --git a/components/webauthn/android/BUILD.gn b/components/webauthn/android/BUILD.gn
|
||||
index 647842c55b24..5fcc9383a325 100644
|
||||
--- a/components/webauthn/android/BUILD.gn
|
||||
+++ b/components/webauthn/android/BUILD.gn
|
||||
@@ -6,7 +6,6 @@ import("//build/config/android/rules.gni")
|
||||
|
@ -3525,7 +3604,7 @@ diff --git a/components/webauthn/android/BUILD.gn b/components/webauthn/android/
|
|||
"java/src/org/chromium/components/webauthn/GetAssertionResponseCallback.java",
|
||||
"java/src/org/chromium/components/webauthn/InternalAuthenticator.java",
|
||||
"java/src/org/chromium/components/webauthn/IsUvpaaResponseCallback.java",
|
||||
@@ -28,9 +22,6 @@ android_library("java") {
|
||||
@@ -29,9 +23,6 @@ android_library("java") {
|
||||
]
|
||||
annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
|
||||
deps = [
|
||||
|
@ -3535,7 +3614,7 @@ diff --git a/components/webauthn/android/BUILD.gn b/components/webauthn/android/
|
|||
"//base:base_java",
|
||||
"//base:jni_java",
|
||||
"//components/externalauth/android:java",
|
||||
@@ -64,7 +55,6 @@ android_library("test_support_java") {
|
||||
@@ -65,7 +56,6 @@ android_library("test_support_java") {
|
||||
|
||||
source_set("android") {
|
||||
sources = [
|
||||
|
@ -3544,9 +3623,10 @@ diff --git a/components/webauthn/android/BUILD.gn b/components/webauthn/android/
|
|||
"internal_authenticator_android.h",
|
||||
]
|
||||
diff --git a/components/webauthn/android/java/src/org/chromium/components/webauthn/AuthenticatorImpl.java b/components/webauthn/android/java/src/org/chromium/components/webauthn/AuthenticatorImpl.java
|
||||
index 55f97c5d1c33..ebbd964a2bbb 100644
|
||||
--- a/components/webauthn/android/java/src/org/chromium/components/webauthn/AuthenticatorImpl.java
|
||||
+++ b/components/webauthn/android/java/src/org/chromium/components/webauthn/AuthenticatorImpl.java
|
||||
@@ -117,18 +117,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
@@ -116,18 +116,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
|
||||
mMakeCredentialCallback = callback;
|
||||
mIsOperationPending = true;
|
||||
|
@ -3565,7 +3645,7 @@ diff --git a/components/webauthn/android/java/src/org/chromium/components/webaut
|
|||
}
|
||||
|
||||
@Override
|
||||
@@ -141,17 +130,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
@@ -140,17 +129,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
|
||||
mGetAssertionCallback = callback;
|
||||
mIsOperationPending = true;
|
||||
|
@ -3583,7 +3663,7 @@ diff --git a/components/webauthn/android/java/src/org/chromium/components/webaut
|
|||
}
|
||||
|
||||
@Override
|
||||
@@ -176,16 +155,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
@@ -170,16 +149,7 @@ public final class AuthenticatorImpl implements Authenticator {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3601,9 +3681,10 @@ diff --git a/components/webauthn/android/java/src/org/chromium/components/webaut
|
|||
|
||||
@Override
|
||||
diff --git a/content/browser/push_messaging/push_messaging_manager.cc b/content/browser/push_messaging/push_messaging_manager.cc
|
||||
index e4fda8f407f9..13f6d59b00ac 100644
|
||||
--- a/content/browser/push_messaging/push_messaging_manager.cc
|
||||
+++ b/content/browser/push_messaging/push_messaging_manager.cc
|
||||
@@ -788,7 +788,7 @@ void PushMessagingManager::GetSubscriptionInfo(
|
||||
@@ -787,7 +787,7 @@ void PushMessagingManager::GetSubscriptionInfo(
|
||||
}
|
||||
|
||||
PushMessagingService* PushMessagingManager::GetService() {
|
||||
|
@ -3613,6 +3694,7 @@ diff --git a/content/browser/push_messaging/push_messaging_manager.cc b/content/
|
|||
|
||||
} // namespace content
|
||||
diff --git a/content/public/android/BUILD.gn b/content/public/android/BUILD.gn
|
||||
index 144e011ccb83..6458db2c73c6 100644
|
||||
--- a/content/public/android/BUILD.gn
|
||||
+++ b/content/public/android/BUILD.gn
|
||||
@@ -136,10 +136,6 @@ android_library("content_main_dex_java") {
|
||||
|
@ -3627,21 +3709,25 @@ diff --git a/content/public/android/BUILD.gn b/content/public/android/BUILD.gn
|
|||
"//build:chromeos_buildflags",
|
||||
"//components/download/public/common:public_java",
|
||||
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
|
||||
index e2dae408a5a6..e13561260ba7 100644
|
||||
--- a/content/public/common/content_features.cc
|
||||
+++ b/content/public/common/content_features.cc
|
||||
@@ -1072,7 +1072,7 @@ const base::Feature kWebAssemblyTrapHandler {
|
||||
// Controls whether the WebAuthentication API is enabled:
|
||||
// https://w3c.github.io/webauthn
|
||||
const base::Feature kWebAuth{"WebAuthentication",
|
||||
- base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
+ base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
@@ -1093,8 +1093,8 @@ const base::Feature kWebAssemblyTrapHandler {
|
||||
// Controls whether CTAP2 devices can communicate via the WebAuthentication API
|
||||
// using pairingless BLE protocol.
|
||||
// https://w3c.github.io/webauthn
|
||||
-const base::Feature kWebAuthCable{"WebAuthenticationCable",
|
||||
- base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
+const base::Feature kWebAuthCable{"WebAuthenticationCable", // disabled in Bromite
|
||||
+ base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
// Controls whether WebAuthn conditional UI requests are supported.
|
||||
const base::Feature kWebAuthConditionalUI{"WebAuthenticationConditionalUI",
|
||||
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
|
||||
index 90bea547654a..094776ef8634 100644
|
||||
--- a/content/test/BUILD.gn
|
||||
+++ b/content/test/BUILD.gn
|
||||
@@ -2944,10 +2944,6 @@ if (is_android) {
|
||||
@@ -2960,10 +2960,6 @@ if (is_android) {
|
||||
testonly = true
|
||||
sources = content_java_sources_needing_jni
|
||||
deps = [
|
||||
|
@ -3653,9 +3739,10 @@ diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
|
|||
"//content/public/android:content_java",
|
||||
"//ui/android:ui_full_java",
|
||||
diff --git a/device/BUILD.gn b/device/BUILD.gn
|
||||
index 40439fa61a3b..4e177730142d 100644
|
||||
--- a/device/BUILD.gn
|
||||
+++ b/device/BUILD.gn
|
||||
@@ -451,9 +451,6 @@ if (is_android) {
|
||||
@@ -452,9 +452,6 @@ if (is_android) {
|
||||
"gamepad/android/junit/src/org/chromium/device/gamepad/GamepadMappingsTest.java",
|
||||
]
|
||||
deps = [
|
||||
|
@ -3666,6 +3753,7 @@ diff --git a/device/BUILD.gn b/device/BUILD.gn
|
|||
"//base:base_java_test_support",
|
||||
"//base:base_junit_test_support",
|
||||
diff --git a/device/fido/features.cc b/device/fido/features.cc
|
||||
index efa92631ca9a..aaa1bcc83fcc 100644
|
||||
--- a/device/fido/features.cc
|
||||
+++ b/device/fido/features.cc
|
||||
@@ -22,8 +22,8 @@ const base::Feature kWebAuthUseNativeWinApi{"WebAuthenticationUseNativeWinApi",
|
||||
|
@ -3680,6 +3768,7 @@ diff --git a/device/fido/features.cc b/device/fido/features.cc
|
|||
extern const base::Feature kWebAuthCableDisco{
|
||||
"WebAuthenticationCableDisco", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
diff --git a/remoting/android/client_java_tmpl.gni b/remoting/android/client_java_tmpl.gni
|
||||
index 373788f5a075..48cdc9998920 100644
|
||||
--- a/remoting/android/client_java_tmpl.gni
|
||||
+++ b/remoting/android/client_java_tmpl.gni
|
||||
@@ -104,9 +104,6 @@ template("remoting_android_client_java_tmpl") {
|
||||
|
@ -3693,6 +3782,7 @@ diff --git a/remoting/android/client_java_tmpl.gni b/remoting/android/client_jav
|
|||
}
|
||||
|
||||
diff --git a/services/BUILD.gn b/services/BUILD.gn
|
||||
index e1c133f2e613..ce678b41aeb5 100644
|
||||
--- a/services/BUILD.gn
|
||||
+++ b/services/BUILD.gn
|
||||
@@ -117,11 +117,6 @@ if (is_android) {
|
||||
|
@ -3719,6 +3809,7 @@ diff --git a/services/BUILD.gn b/services/BUILD.gn
|
|||
"//base:base_java_test_support",
|
||||
"//mojo/public/java:base_java",
|
||||
diff --git a/services/device/geolocation/BUILD.gn b/services/device/geolocation/BUILD.gn
|
||||
index 3cac82beb5b2..a876ea52fc46 100644
|
||||
--- a/services/device/geolocation/BUILD.gn
|
||||
+++ b/services/device/geolocation/BUILD.gn
|
||||
@@ -163,9 +163,6 @@ if (is_android) {
|
||||
|
@ -3732,6 +3823,7 @@ diff --git a/services/device/geolocation/BUILD.gn b/services/device/geolocation/
|
|||
"//components/location/android:location_java",
|
||||
"//services/device/public/java:geolocation_java",
|
||||
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
|
||||
index adc633da539d..11ab7de50298 100644
|
||||
--- a/services/shape_detection/BUILD.gn
|
||||
+++ b/services/shape_detection/BUILD.gn
|
||||
@@ -115,10 +115,6 @@ if (is_android) {
|
||||
|
@ -3746,6 +3838,7 @@ diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.
|
|||
"//mojo/public/java:base_java",
|
||||
"//mojo/public/java:bindings_java",
|
||||
diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.gn
|
||||
index 042444db4e8b..98c6faf3764b 100644
|
||||
--- a/third_party/android_deps/BUILD.gn
|
||||
+++ b/third_party/android_deps/BUILD.gn
|
||||
@@ -68,7 +68,6 @@ if (!limit_android_deps) {
|
||||
|
@ -3756,7 +3849,7 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
":org_robolectric_utils_java",
|
||||
":org_robolectric_utils_reflector_java",
|
||||
|
||||
@@ -93,7 +92,7 @@ if (!limit_android_deps) {
|
||||
@@ -87,7 +86,7 @@ if (!limit_android_deps) {
|
||||
|
||||
android_library("chromium_play_services_availability_java") {
|
||||
sources = [ "util/org/chromium/gms/ChromiumPlayServicesAvailability.java" ]
|
||||
|
@ -3765,7 +3858,7 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
}
|
||||
|
||||
android_library("chromium_play_services_availability_shadows_java") {
|
||||
@@ -1024,210 +1023,6 @@ if (!limit_android_deps) {
|
||||
@@ -987,210 +986,6 @@ if (!limit_android_deps) {
|
||||
resource_overlay = true
|
||||
}
|
||||
|
||||
|
@ -3976,7 +4069,7 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
# This is generated, do not edit. Update BuildConfigGenerator.groovy instead.
|
||||
android_aar_prebuilt("com_google_android_material_material_java") {
|
||||
aar_path =
|
||||
@@ -1273,60 +1068,6 @@ if (!limit_android_deps) {
|
||||
@@ -1236,60 +1031,6 @@ if (!limit_android_deps) {
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -4037,13 +4130,13 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
# This is generated, do not edit. Update BuildConfigGenerator.groovy instead.
|
||||
java_prebuilt("com_google_flatbuffers_flatbuffers_java_java") {
|
||||
jar_path = "libs/com_google_flatbuffers_flatbuffers_java/flatbuffers-java-2.0.3.jar"
|
||||
@@ -1482,19 +1223,6 @@ if (!limit_android_deps) {
|
||||
bypass_platform_checks = true
|
||||
@@ -1461,19 +1202,6 @@ if (!limit_android_deps) {
|
||||
deps += [ ":com_android_support_multidex_java" ]
|
||||
}
|
||||
|
||||
- # This is generated, do not edit. Update BuildConfigGenerator.groovy instead.
|
||||
- java_prebuilt("org_robolectric_shadows_playservices_java") {
|
||||
- jar_path = "libs/org_robolectric_shadows_playservices/shadows-playservices-4.3.1.jar"
|
||||
- jar_path = "libs/org_robolectric_shadows_playservices/shadows-playservices-4.7.3.jar"
|
||||
- output_name = "org_robolectric_shadows_playservices"
|
||||
- enable_bytecode_checks = false
|
||||
- testonly = true
|
||||
|
@ -4056,8 +4149,8 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
-
|
||||
# This is generated, do not edit. Update BuildConfigGenerator.groovy instead.
|
||||
java_prebuilt("org_robolectric_utils_java") {
|
||||
jar_path = "libs/org_robolectric_utils/utils-4.3.1.jar"
|
||||
@@ -1871,272 +1599,6 @@ if (!limit_android_deps) {
|
||||
jar_path = "libs/org_robolectric_utils/utils-4.7.3.jar"
|
||||
@@ -1820,272 +1548,6 @@ if (!limit_android_deps) {
|
||||
deps = [ "//third_party/androidx:androidx_annotation_annotation_java" ]
|
||||
}
|
||||
|
||||
|
@ -4331,6 +4424,7 @@ diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.
|
|||
java_prebuilt("com_squareup_javawriter_java") {
|
||||
jar_path = "libs/com_squareup_javawriter/javawriter-2.1.1.jar"
|
||||
diff --git a/third_party/android_deps/local_modifications/preconditions/javatests/BUILD.gn b/third_party/android_deps/local_modifications/preconditions/javatests/BUILD.gn
|
||||
index 6d0964bb78d9..f8e87e7ed306 100644
|
||||
--- a/third_party/android_deps/local_modifications/preconditions/javatests/BUILD.gn
|
||||
+++ b/third_party/android_deps/local_modifications/preconditions/javatests/BUILD.gn
|
||||
@@ -8,7 +8,6 @@ android_library("javatests") {
|
||||
|
@ -4342,6 +4436,7 @@ diff --git a/third_party/android_deps/local_modifications/preconditions/javatest
|
|||
"//base:base_java_test_support",
|
||||
"//base/test:test_support_java",
|
||||
diff --git a/third_party/android_deps/util/org/chromium/gms/ChromiumPlayServicesAvailability.java b/third_party/android_deps/util/org/chromium/gms/ChromiumPlayServicesAvailability.java
|
||||
index b0e2815377c0..1fd4e14a6206 100644
|
||||
--- a/third_party/android_deps/util/org/chromium/gms/ChromiumPlayServicesAvailability.java
|
||||
+++ b/third_party/android_deps/util/org/chromium/gms/ChromiumPlayServicesAvailability.java
|
||||
@@ -5,9 +5,6 @@ package org.chromium.gms;
|
||||
|
@ -4374,5 +4469,6 @@ diff --git a/third_party/android_deps/util/org/chromium/gms/ChromiumPlayServices
|
|||
+ return 16; // API_UNAVAILABLE
|
||||
}
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
|
||||
private boolean mPartnerBrowserRefreshNeeded;
|
||||
|
||||
@@ -1482,6 +1487,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -1483,6 +1488,11 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
mCompositorViewHolderSupplier.set(null);
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
onDestroyInternal();
|
||||
|
||||
if (mDidAddPolicyChangeListener) {
|
||||
@@ -1836,6 +1846,13 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -1837,6 +1847,13 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
|
||||
// Defense in depth against the UI being erroneously enabled.
|
||||
BookmarkBridge bridge = mBookmarkBridgeSupplier.get();
|
||||
|
|
|
@ -6,7 +6,7 @@ Subject: Remove contextual search manager
|
|||
chrome/BUILD.gn | 10 --
|
||||
chrome/android/BUILD.gn | 9 --
|
||||
chrome/android/chrome_java_resources.gni | 17 ----
|
||||
chrome/android/chrome_java_sources.gni | 60 ------------
|
||||
chrome/android/chrome_java_sources.gni | 61 -------------
|
||||
.../ManualFillingMediator.java | 9 --
|
||||
.../contextual_search_promo_ripple.9.png | Bin 411 -> 0 bytes
|
||||
.../contextual_search_promo_ripple.9.png | Bin 304 -> 0 bytes
|
||||
|
@ -21,7 +21,7 @@ Subject: Remove contextual search manager
|
|||
.../contextual_search_promo_view_revised.xml | 86 ------------------
|
||||
...ntextual_search_quick_action_icon_view.xml | 12 ---
|
||||
...earch_related_searches_in_content_view.xml | 16 ----
|
||||
...ontextual_search_related_searches_view.xml | 15 ---
|
||||
...ontextual_search_related_searches_view.xml | 21 -----
|
||||
.../layout/contextual_search_term_view.xml | 19 ----
|
||||
.../res/xml/contextual_search_preferences.xml | 25 -----
|
||||
.../xml/contextual_search_tap_preferences.xml | 26 ------
|
||||
|
@ -41,14 +41,14 @@ Subject: Remove contextual search manager
|
|||
.../tabbed_mode/TabbedRootUiCoordinator.java | 5 +-
|
||||
.../chrome/browser/ui/RootUiCoordinator.java | 60 +-----------
|
||||
chrome/browser/BUILD.gn | 31 -------
|
||||
chrome/browser/about_flags.cc | 81 -----------------
|
||||
chrome/browser/about_flags.cc | 70 --------------
|
||||
...nfiguration_policy_handler_list_factory.cc | 6 +-
|
||||
.../strings/android_chrome_strings.grd | 78 ----------------
|
||||
components/BUILD.gn | 1 -
|
||||
content/browser/browser_interface_binders.cc | 1 -
|
||||
third_party/blink/public/mojom/BUILD.gn | 2 +-
|
||||
third_party/blink/public/public_features.gni | 2 +-
|
||||
45 files changed, 17 insertions(+), 805 deletions(-)
|
||||
45 files changed, 17 insertions(+), 801 deletions(-)
|
||||
delete mode 100644 chrome/android/java/res/drawable-hdpi/contextual_search_promo_ripple.9.png
|
||||
delete mode 100644 chrome/android/java/res/drawable-mdpi/contextual_search_promo_ripple.9.png
|
||||
delete mode 100644 chrome/android/java/res/drawable-xhdpi/contextual_search_promo_ripple.9.png
|
||||
|
@ -68,9 +68,10 @@ Subject: Remove contextual search manager
|
|||
delete mode 100644 chrome/android/java/res/xml/contextual_search_tap_preferences.xml
|
||||
|
||||
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
|
||||
index 92e68bb4c0b5..b4ff66890437 100644
|
||||
--- a/chrome/BUILD.gn
|
||||
+++ b/chrome/BUILD.gn
|
||||
@@ -1650,20 +1650,10 @@ group("strings") {
|
||||
@@ -1602,20 +1602,10 @@ group("strings") {
|
||||
}
|
||||
|
||||
if (is_android) {
|
||||
|
@ -92,9 +93,10 @@ diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
|
|||
sources = [ "browser/offline_pages/offline_page_utils.h" ]
|
||||
}
|
||||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||
index cb47dcf6f3c2..64757cc19227 100644
|
||||
--- a/chrome/android/BUILD.gn
|
||||
+++ b/chrome/android/BUILD.gn
|
||||
@@ -485,7 +485,6 @@ android_library("chrome_java") {
|
||||
@@ -488,7 +488,6 @@ android_library("chrome_java") {
|
||||
"//components/content_capture/android:java",
|
||||
"//components/content_settings/android:content_settings_enums_java",
|
||||
"//components/content_settings/android:java",
|
||||
|
@ -102,7 +104,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//components/crash/android:java",
|
||||
"//components/dom_distiller/content/browser/android:dom_distiller_content_java",
|
||||
"//components/dom_distiller/core/android:dom_distiller_core_java",
|
||||
@@ -656,11 +655,9 @@ android_library("chrome_java") {
|
||||
@@ -660,11 +659,9 @@ android_library("chrome_java") {
|
||||
":resource_id_javagen",
|
||||
":sync_user_settings_enums_java",
|
||||
":vr_build_config",
|
||||
|
@ -114,7 +116,7 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"//chrome:supervised_user_url_filter_enum_javagen",
|
||||
"//chrome/browser:screenshot_mode_enum",
|
||||
"//chrome/browser:sharing_dialog_type_generated_enum",
|
||||
@@ -3822,18 +3819,12 @@ generate_jni("chrome_jni_headers") {
|
||||
@@ -3841,18 +3838,12 @@ generate_jni("chrome_jni_headers") {
|
||||
"java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java",
|
||||
|
@ -134,43 +136,44 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
"java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java",
|
||||
"java/src/org/chromium/chrome/browser/device_dialog/ChromeBluetoothChooserAndroidDelegate.java",
|
||||
diff --git a/chrome/android/chrome_java_resources.gni b/chrome/android/chrome_java_resources.gni
|
||||
index 8ca21547407b..498900336a8e 100644
|
||||
--- a/chrome/android/chrome_java_resources.gni
|
||||
+++ b/chrome/android/chrome_java_resources.gni
|
||||
@@ -31,7 +31,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-hdpi/btn_tabstrip_new_incognito_tab_normal.png",
|
||||
"java/res/drawable-hdpi/btn_tabstrip_new_tab_normal.png",
|
||||
"java/res/drawable-hdpi/btn_tab_close_normal.png",
|
||||
"java/res/drawable-hdpi/btn_tabstrip_new_tab.png",
|
||||
"java/res/drawable-hdpi/btn_tabstrip_switch_normal.png",
|
||||
- "java/res/drawable-hdpi/contextual_search_promo_ripple.9.png",
|
||||
"java/res/drawable-hdpi/cvc_icon.png",
|
||||
"java/res/drawable-hdpi/cvc_icon_amex.png",
|
||||
"java/res/drawable-hdpi/down_arrow.png",
|
||||
@@ -112,7 +111,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-mdpi/btn_tabstrip_new_incognito_tab_normal.png",
|
||||
"java/res/drawable-mdpi/btn_tabstrip_new_tab_normal.png",
|
||||
@@ -108,7 +107,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-mdpi/btn_tab_close_normal.png",
|
||||
"java/res/drawable-mdpi/btn_tabstrip_new_tab.png",
|
||||
"java/res/drawable-mdpi/btn_tabstrip_switch_normal.png",
|
||||
- "java/res/drawable-mdpi/contextual_search_promo_ripple.9.png",
|
||||
"java/res/drawable-mdpi/cvc_icon.png",
|
||||
"java/res/drawable-mdpi/cvc_icon_amex.png",
|
||||
"java/res/drawable-mdpi/down_arrow.png",
|
||||
@@ -196,7 +194,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xhdpi/btn_tabstrip_new_incognito_tab_normal.png",
|
||||
"java/res/drawable-xhdpi/btn_tabstrip_new_tab_normal.png",
|
||||
@@ -193,7 +191,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xhdpi/btn_tab_close_normal.png",
|
||||
"java/res/drawable-xhdpi/btn_tabstrip_new_tab.png",
|
||||
"java/res/drawable-xhdpi/btn_tabstrip_switch_normal.png",
|
||||
- "java/res/drawable-xhdpi/contextual_search_promo_ripple.9.png",
|
||||
"java/res/drawable-xhdpi/cvc_icon.png",
|
||||
"java/res/drawable-xhdpi/cvc_icon_amex.png",
|
||||
"java/res/drawable-xhdpi/down_arrow.png",
|
||||
@@ -266,7 +263,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xxhdpi/btn_tabstrip_new_incognito_tab_normal.png",
|
||||
"java/res/drawable-xxhdpi/btn_tabstrip_new_tab_normal.png",
|
||||
@@ -264,7 +261,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xxhdpi/btn_tab_close_normal.png",
|
||||
"java/res/drawable-xxhdpi/btn_tabstrip_new_tab.png",
|
||||
"java/res/drawable-xxhdpi/btn_tabstrip_switch_normal.png",
|
||||
- "java/res/drawable-xxhdpi/contextual_search_promo_ripple.9.png",
|
||||
"java/res/drawable-xxhdpi/cvc_icon.png",
|
||||
"java/res/drawable-xxhdpi/cvc_icon_amex.png",
|
||||
"java/res/drawable-xxhdpi/down_arrow.png",
|
||||
@@ -336,7 +332,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xxxhdpi/btn_tabstrip_new_incognito_tab_normal.png",
|
||||
"java/res/drawable-xxxhdpi/btn_tabstrip_new_tab_normal.png",
|
||||
@@ -335,7 +331,6 @@ chrome_java_resources = [
|
||||
"java/res/drawable-xxxhdpi/btn_tab_close_normal.png",
|
||||
"java/res/drawable-xxxhdpi/btn_tabstrip_new_tab.png",
|
||||
"java/res/drawable-xxxhdpi/btn_tabstrip_switch_normal.png",
|
||||
- "java/res/drawable-xxxhdpi/contextual_search_promo_ripple.9.png",
|
||||
"java/res/drawable-xxxhdpi/cvc_icon.png",
|
||||
|
@ -203,9 +206,10 @@ diff --git a/chrome/android/chrome_java_resources.gni b/chrome/android/chrome_ja
|
|||
"java/res/xml/do_not_track_preferences.xml",
|
||||
"java/res/xml/google_services_preferences.xml",
|
||||
diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni
|
||||
index 6a0746d8cba9..fd0aad12a59b 100644
|
||||
--- a/chrome/android/chrome_java_sources.gni
|
||||
+++ b/chrome/android/chrome_java_sources.gni
|
||||
@@ -305,21 +305,6 @@ chrome_java_sources = [
|
||||
@@ -303,22 +303,6 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelManager.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelRepaddingTextView.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelTextViewInflater.java",
|
||||
|
@ -223,11 +227,12 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java
|
|||
- "java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchQuickActionControl.java",
|
||||
- "java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchSheetContent.java",
|
||||
- "java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchTermControl.java",
|
||||
- "java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/NoSystemGestureFrameLayout.java",
|
||||
- "java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/RelatedSearchesControl.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/ephemeraltab/EphemeralTabCoordinator.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/ephemeraltab/EphemeralTabMediator.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/bottombar/ephemeraltab/EphemeralTabSheetContent.java",
|
||||
@@ -361,7 +346,6 @@ chrome_java_sources = [
|
||||
@@ -360,7 +344,6 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/compositor/overlays/strip/StripStacker.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/overlays/strip/TabLoadTracker.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/resources/StaticResourcePreloads.java",
|
||||
|
@ -235,7 +240,7 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java
|
|||
"java/src/org/chromium/chrome/browser/compositor/scene_layer/StaticTabSceneLayer.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java",
|
||||
"java/src/org/chromium/chrome/browser/compositor/scene_layer/TabStripSceneLayer.java",
|
||||
@@ -387,50 +371,6 @@ chrome_java_sources = [
|
||||
@@ -386,50 +369,6 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUi.java",
|
||||
"java/src/org/chromium/chrome/browser/contextmenu/ContextMenuUtils.java",
|
||||
"java/src/org/chromium/chrome/browser/contextmenu/LensChipDelegate.java",
|
||||
|
@ -287,9 +292,10 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java
|
|||
"java/src/org/chromium/chrome/browser/crash/ChromeMinidumpUploaderDelegate.java",
|
||||
"java/src/org/chromium/chrome/browser/crash/ChromePureJavaExceptionReporter.java",
|
||||
diff --git a/chrome/android/features/keyboard_accessory/internal/java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingMediator.java b/chrome/android/features/keyboard_accessory/internal/java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingMediator.java
|
||||
index 5bb1826bbec4..b95091acfde4 100644
|
||||
--- a/chrome/android/features/keyboard_accessory/internal/java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingMediator.java
|
||||
+++ b/chrome/android/features/keyboard_accessory/internal/java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingMediator.java
|
||||
@@ -32,7 +32,6 @@ import org.chromium.base.supplier.ObservableSupplierImpl;
|
||||
@@ -33,7 +33,6 @@ import org.chromium.base.supplier.ObservableSupplierImpl;
|
||||
import org.chromium.base.supplier.Supplier;
|
||||
import org.chromium.chrome.browser.app.ChromeActivity;
|
||||
import org.chromium.chrome.browser.compositor.CompositorViewHolder;
|
||||
|
@ -297,7 +303,7 @@ diff --git a/chrome/android/features/keyboard_accessory/internal/java/src/org/ch
|
|||
import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||
import org.chromium.chrome.browser.fullscreen.FullscreenManager;
|
||||
import org.chromium.chrome.browser.fullscreen.FullscreenOptions;
|
||||
@@ -485,14 +484,6 @@ class ManualFillingMediator extends EmptyTabObserver
|
||||
@@ -486,14 +485,6 @@ class ManualFillingMediator extends EmptyTabObserver
|
||||
// When in VR mode, don't extend the keyboard
|
||||
if (VrModuleProvider.getDelegate().isInVr()) return false;
|
||||
|
||||
|
@ -419,6 +425,7 @@ FV1jgEwAlav
|
|||
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_bar_banner_text_view.xml b/chrome/android/java/res/layout/contextual_search_bar_banner_text_view.xml
|
||||
deleted file mode 100644
|
||||
index ce374ba4f9ba..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_bar_banner_text_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,24 +0,0 @@
|
||||
|
@ -448,6 +455,7 @@ deleted file mode 100644
|
|||
-</LinearLayout>
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_caption_view.xml b/chrome/android/java/res/layout/contextual_search_caption_view.xml
|
||||
deleted file mode 100644
|
||||
index e95c2c8c2d8b..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_caption_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,14 +0,0 @@
|
||||
|
@ -468,6 +476,7 @@ deleted file mode 100644
|
|||
\ No newline at end of file
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_card_icon_view.xml b/chrome/android/java/res/layout/contextual_search_card_icon_view.xml
|
||||
deleted file mode 100644
|
||||
index 285ca63977fb..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_card_icon_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,12 +0,0 @@
|
||||
|
@ -485,6 +494,7 @@ deleted file mode 100644
|
|||
- android:scaleType="center"/>
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_context_view.xml b/chrome/android/java/res/layout/contextual_search_context_view.xml
|
||||
deleted file mode 100644
|
||||
index f96bb622cba2..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_context_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,25 +0,0 @@
|
||||
|
@ -515,6 +525,7 @@ deleted file mode 100644
|
|||
-</LinearLayout>
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_promo_view.xml b/chrome/android/java/res/layout/contextual_search_promo_view.xml
|
||||
deleted file mode 100644
|
||||
index 0bf5075e3b5d..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_promo_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,66 +0,0 @@
|
||||
|
@ -587,6 +598,7 @@ deleted file mode 100644
|
|||
\ No newline at end of file
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_promo_view_revised.xml b/chrome/android/java/res/layout/contextual_search_promo_view_revised.xml
|
||||
deleted file mode 100644
|
||||
index 92354eae8d94..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_promo_view_revised.xml
|
||||
+++ /dev/null
|
||||
@@ -1,86 +0,0 @@
|
||||
|
@ -679,6 +691,7 @@ deleted file mode 100644
|
|||
\ No newline at end of file
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_quick_action_icon_view.xml b/chrome/android/java/res/layout/contextual_search_quick_action_icon_view.xml
|
||||
deleted file mode 100644
|
||||
index d0eb7f20e1dd..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_quick_action_icon_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,12 +0,0 @@
|
||||
|
@ -697,6 +710,7 @@ deleted file mode 100644
|
|||
\ No newline at end of file
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_related_searches_in_content_view.xml b/chrome/android/java/res/layout/contextual_search_related_searches_in_content_view.xml
|
||||
deleted file mode 100644
|
||||
index 1d9fc00273b2..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_related_searches_in_content_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,16 +0,0 @@
|
||||
|
@ -707,7 +721,7 @@ deleted file mode 100644
|
|||
-
|
||||
-<!-- Displays Related Searches suggestions in a section of the Contextual
|
||||
- Search bottom sheet. -->
|
||||
-<FrameLayout
|
||||
-<org.chromium.chrome.browser.compositor.bottombar.contextualsearch.NoSystemGestureFrameLayout
|
||||
- xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
- android:id="@+id/contextual_search_related_searches_in_content_view_id"
|
||||
- android:layout_width="match_parent"
|
||||
|
@ -715,29 +729,37 @@ deleted file mode 100644
|
|||
- android:background="@macro/overlay_panel_bar_background_color"
|
||||
- android:visibility="invisible">
|
||||
- <!-- ChipView elements and their container are dynamically added here. -->
|
||||
-</FrameLayout>
|
||||
-</org.chromium.chrome.browser.compositor.bottombar.contextualsearch.NoSystemGestureFrameLayout>
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_related_searches_view.xml b/chrome/android/java/res/layout/contextual_search_related_searches_view.xml
|
||||
deleted file mode 100644
|
||||
index b3b3fd913b30..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_related_searches_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,15 +0,0 @@
|
||||
@@ -1,21 +0,0 @@
|
||||
-<?xml version="1.0" encoding="utf-8"?>
|
||||
-<!-- Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
- Use of this source code is governed by a BSD-style license that can be
|
||||
- found in the LICENSE file. -->
|
||||
-
|
||||
-<!-- Displays Related Searches suggestions in the Bar of the Overlay Panel. -->
|
||||
-<FrameLayout
|
||||
- xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
- android:id="@+id/contextual_search_related_searches_view_id"
|
||||
- android:layout_width="wrap_content"
|
||||
- android:layout_height="wrap_content"
|
||||
- android:background="@macro/overlay_panel_bar_background_color"
|
||||
- android:visibility="invisible">
|
||||
- <!-- ChipView elements and their container are dynamically added here. -->
|
||||
- <org.chromium.chrome.browser.compositor.bottombar.contextualsearch.NoSystemGestureFrameLayout
|
||||
- android:id="@+id/contextual_search_related_searches_view_control_id"
|
||||
- android:layout_width="wrap_content"
|
||||
- android:layout_height="wrap_content"
|
||||
- android:background="@macro/overlay_panel_bar_background_color"
|
||||
- android:layout_marginBottom="@dimen/toolbar_progress_bar_height"
|
||||
- android:layout_gravity="top">
|
||||
- <!-- ChipView elements and their container are dynamically added here. -->
|
||||
- </org.chromium.chrome.browser.compositor.bottombar.contextualsearch.NoSystemGestureFrameLayout>
|
||||
-</FrameLayout>
|
||||
diff --git a/chrome/android/java/res/layout/contextual_search_term_view.xml b/chrome/android/java/res/layout/contextual_search_term_view.xml
|
||||
deleted file mode 100644
|
||||
index 75ea9f3e367a..000000000000
|
||||
--- a/chrome/android/java/res/layout/contextual_search_term_view.xml
|
||||
+++ /dev/null
|
||||
@@ -1,19 +0,0 @@
|
||||
|
@ -762,6 +784,7 @@ deleted file mode 100644
|
|||
-</FrameLayout>
|
||||
diff --git a/chrome/android/java/res/xml/contextual_search_preferences.xml b/chrome/android/java/res/xml/contextual_search_preferences.xml
|
||||
deleted file mode 100644
|
||||
index 43b5ad53c715..000000000000
|
||||
--- a/chrome/android/java/res/xml/contextual_search_preferences.xml
|
||||
+++ /dev/null
|
||||
@@ -1,25 +0,0 @@
|
||||
|
@ -792,6 +815,7 @@ deleted file mode 100644
|
|||
-</PreferenceScreen>
|
||||
diff --git a/chrome/android/java/res/xml/contextual_search_tap_preferences.xml b/chrome/android/java/res/xml/contextual_search_tap_preferences.xml
|
||||
deleted file mode 100644
|
||||
index cfa0306040ab..000000000000
|
||||
--- a/chrome/android/java/res/xml/contextual_search_tap_preferences.xml
|
||||
+++ /dev/null
|
||||
@@ -1,26 +0,0 @@
|
||||
|
@ -822,9 +846,10 @@ deleted file mode 100644
|
|||
-</PreferenceScreen>
|
||||
-
|
||||
diff --git a/chrome/android/java/res/xml/google_services_preferences.xml b/chrome/android/java/res/xml/google_services_preferences.xml
|
||||
index 912c8c217add..cc2d10e10bc3 100644
|
||||
--- a/chrome/android/java/res/xml/google_services_preferences.xml
|
||||
+++ b/chrome/android/java/res/xml/google_services_preferences.xml
|
||||
@@ -35,8 +35,4 @@
|
||||
@@ -40,8 +40,4 @@
|
||||
android:summary="@string/prefs_autofill_assistant_summary"
|
||||
android:fragment="org.chromium.chrome.browser.autofill_assistant.AutofillAssistantPreferenceFragment"
|
||||
app:isPreferenceVisible="false"/>
|
||||
|
@ -834,6 +859,7 @@ diff --git a/chrome/android/java/res/xml/google_services_preferences.xml b/chrom
|
|||
- android:fragment="org.chromium.chrome.browser.contextualsearch.ContextualSearchPreferenceFragment"/>
|
||||
</PreferenceScreen>
|
||||
diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
index 509d51b12cc8..63d1b2481a91 100644
|
||||
--- a/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
+++ b/chrome/android/java/res/xml/privacy_preferences.xml
|
||||
@@ -72,10 +72,6 @@
|
||||
|
@ -848,9 +874,10 @@ diff --git a/chrome/android/java/res/xml/privacy_preferences.xml b/chrome/androi
|
|||
<Preference
|
||||
android:key="phone_as_a_security_key"
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
index 469825fd477d..ae55d0c90def 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
|
||||
@@ -1636,7 +1636,7 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -1651,7 +1651,7 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
protected RootUiCoordinator createRootUiCoordinator() {
|
||||
return new TabbedRootUiCoordinator(this, this::onOmniboxFocusChanged,
|
||||
getShareDelegateSupplier(), getActivityTabProvider(), mTabModelProfileSupplier,
|
||||
|
@ -859,7 +886,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedAct
|
|||
getTabModelSelectorSupplier(), mStartSurfaceSupplier,
|
||||
mIntentMetadataOneshotSupplier, mLayoutStateProviderOneshotSupplier,
|
||||
mStartSurfaceParentTabSupplier, getBrowserControlsManager(), getWindowAndroid(),
|
||||
@@ -2676,7 +2676,7 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
@@ -2689,7 +2689,7 @@ public class ChromeTabbedActivity extends ChromeActivity<ChromeActivityComponent
|
||||
// TODO(crbug.com/1157310): Transition this::method refs to dedicated suppliers.
|
||||
mTabModalHandler = new TabModalLifetimeHandler(this, getLifecycleDispatcher(), manager,
|
||||
this::getAppBrowserControlsVisibilityDelegate, this::getTabObscuringHandler,
|
||||
|
@ -869,6 +896,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedAct
|
|||
this::getFullscreenManager);
|
||||
return manager;
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
index d7942fc6dd31..a78448bffc61 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
@@ -100,9 +100,6 @@ import org.chromium.chrome.browser.compositor.layouts.SceneChangeObserver;
|
||||
|
@ -908,7 +936,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
new OneshotSupplierImpl<>(), new OneshotSupplierImpl<>(),
|
||||
new OneshotSupplierImpl<>(),
|
||||
() -> null, mBrowserControlsManagerSupplier.get(), getWindowAndroid(),
|
||||
@@ -984,14 +979,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -985,14 +980,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
mCompositorViewHolderSupplier.get().onNativeLibraryReady(
|
||||
getWindowAndroid(), getTabContentManager());
|
||||
|
||||
|
@ -923,7 +951,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
TraceEvent.end("ChromeActivity:CompositorInitialization");
|
||||
}
|
||||
|
||||
@@ -1471,11 +1458,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -1472,11 +1459,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@SuppressLint("NewApi")
|
||||
@Override
|
||||
protected final void onDestroy() {
|
||||
|
@ -935,7 +963,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
if (mSnackbarManager != null) {
|
||||
SnackbarManagerProvider.detach(mSnackbarManager);
|
||||
}
|
||||
@@ -2092,13 +2074,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2093,13 +2075,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
return mCompositorViewHolderSupplier.get();
|
||||
}
|
||||
|
||||
|
@ -949,7 +977,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
/**
|
||||
* Exits the fullscreen mode, if any. Does nothing if no fullscreen is present.
|
||||
* @return Whether the fullscreen mode is currently showing.
|
||||
@@ -2141,15 +2116,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2142,15 +2117,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
}
|
||||
|
||||
mActivityTabProvider.setLayoutStateProvider(layoutManager);
|
||||
|
@ -965,7 +993,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
}
|
||||
|
||||
/**
|
||||
@@ -2332,18 +2298,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2333,18 +2299,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
return webContents != null ? SelectionPopupController.fromWebContents(webContents) : null;
|
||||
}
|
||||
|
||||
|
@ -985,6 +1013,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActiv
|
|||
private void openChromeManagementPage() {
|
||||
Tab currentTab = getActivityTab();
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
||||
index c57ddbd7b9b0..5854851653fc 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
||||
@@ -19,7 +19,6 @@ import org.chromium.base.annotations.NativeMethods;
|
||||
|
@ -996,6 +1025,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bott
|
|||
import org.chromium.chrome.browser.incognito.IncognitoUtils;
|
||||
import org.chromium.chrome.browser.profiles.Profile;
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerImpl.java
|
||||
index ad9fafd21561..477a7b723788 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerImpl.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerImpl.java
|
||||
@@ -25,7 +25,6 @@ import org.chromium.chrome.browser.browser_controls.BrowserControlsStateProvider
|
||||
|
@ -1017,9 +1047,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layo
|
|||
|
||||
for (int i = 0; i < overlayOrder.length; i++) mOverlayOrderMap.put(overlayOrder[i], i);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
|
||||
index 8a67dfcaab01..07366fb8e686 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
|
||||
@@ -155,7 +155,7 @@ public abstract class BaseCustomTabActivity extends ChromeActivity<BaseCustomTab
|
||||
@@ -154,7 +154,7 @@ public abstract class BaseCustomTabActivity extends ChromeActivity<BaseCustomTab
|
||||
mBaseCustomTabRootUiCoordinator = new BaseCustomTabRootUiCoordinator(this,
|
||||
getShareDelegateSupplier(),
|
||||
getActivityTabProvider(), mTabModelProfileSupplier, mBookmarkBridgeSupplier,
|
||||
|
@ -1029,6 +1060,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/Base
|
|||
getLayoutManagerSupplier(),
|
||||
/* menuOrKeyboardActionController= */ this, this::getActivityThemeColor,
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabRootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabRootUiCoordinator.java
|
||||
index 294e1977c158..0aac95888edd 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabRootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabRootUiCoordinator.java
|
||||
@@ -25,7 +25,6 @@ import org.chromium.chrome.browser.compositor.CompositorViewHolder;
|
||||
|
@ -1058,9 +1090,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/Base
|
|||
new OneshotSupplierImpl<>(), () -> null,
|
||||
browserControlsManager, windowAndroid, new DummyJankTracker(),
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
||||
index 20a710a55739..8dd86bfeba46 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
||||
@@ -187,12 +187,6 @@ public class CustomTabActivity extends BaseCustomTabActivity {
|
||||
@@ -188,12 +188,6 @@ public class CustomTabActivity extends BaseCustomTabActivity {
|
||||
mIntentDataProvider.getSession(), webContents);
|
||||
}
|
||||
|
||||
|
@ -1074,6 +1107,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/Cust
|
|||
public String getPackageName() {
|
||||
if (mShouldOverridePackage && mIntentDataProvider instanceof CustomTabIntentDataProvider) {
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/ChromeTabModalPresenter.java b/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/ChromeTabModalPresenter.java
|
||||
index ef6eadc3dea4..3547bfaf0695 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/ChromeTabModalPresenter.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/ChromeTabModalPresenter.java
|
||||
@@ -20,7 +20,6 @@ import org.chromium.chrome.browser.browser_controls.BrowserControlsStateProvider
|
||||
|
@ -1124,6 +1158,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/Chr
|
|||
WebContents webContents = mActiveTab.getWebContents();
|
||||
if (webContents != null) {
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/TabModalLifetimeHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/TabModalLifetimeHandler.java
|
||||
index 724678fe349d..502e79a4cd3c 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/TabModalLifetimeHandler.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/TabModalLifetimeHandler.java
|
||||
@@ -8,7 +8,6 @@ import android.app.Activity;
|
||||
|
@ -1169,9 +1204,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/modaldialog/Tab
|
|||
tabModelSelector);
|
||||
assert mAppVisibilityDelegateSupplier.hasValue();
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
index e726445de336..b0a285106ed2 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/privacy/settings/PrivacySettings.java
|
||||
@@ -53,7 +53,6 @@ import org.chromium.ui.text.SpanApplier;
|
||||
@@ -54,7 +54,6 @@ import org.chromium.ui.text.SpanApplier;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.preference.PreferenceCategory;
|
||||
|
@ -1179,7 +1215,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
import org.chromium.chrome.browser.preferences.SharedPreferencesManager;
|
||||
import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
|
||||
|
||||
@@ -84,9 +83,7 @@ public class PrivacySettings
|
||||
@@ -85,9 +84,7 @@ public class PrivacySettings
|
||||
// moved from SyncAndServicesSettings.java
|
||||
private static final String PREF_SERVICES_CATEGORY = "services_category";
|
||||
private static final String PREF_SEARCH_SUGGESTIONS = "search_suggestions";
|
||||
|
@ -1189,7 +1225,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
private final SharedPreferencesManager mSharedPreferencesManager =
|
||||
SharedPreferencesManager.getInstance();
|
||||
private final PrefService prefService = UserPrefs.get(Profile.getLastUsedRegularProfile());
|
||||
@@ -138,12 +135,6 @@ public class PrivacySettings
|
||||
@@ -145,12 +142,6 @@ public class PrivacySettings
|
||||
mSearchSuggestions.setOnPreferenceChangeListener(this);
|
||||
mSearchSuggestions.setManagedPreferenceDelegate(mManagedPreferenceDelegate);
|
||||
|
||||
|
@ -1203,6 +1239,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|||
(ChromeSwitchPreference) findPreference(PREF_CAN_MAKE_PAYMENT);
|
||||
canMakePaymentPref.setOnPreferenceChangeListener(this);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabHelpers.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabHelpers.java
|
||||
index 5f28dfdf4b6a..0b1f42f14258 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabHelpers.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabHelpers.java
|
||||
@@ -7,7 +7,6 @@ package org.chromium.chrome.browser.tab;
|
||||
|
@ -1222,9 +1259,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabHelpers.
|
|||
TaskTabHelper.createForTab(tab, parentTab);
|
||||
TabBrowserControlsConstraintsHelper.createForTab(tab);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
index 19007fdd6667..3647c48fe649 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java
|
||||
@@ -38,7 +38,6 @@ import org.chromium.chrome.browser.compositor.bottombar.ephemeraltab.EphemeralTa
|
||||
@@ -37,7 +37,6 @@ import org.chromium.chrome.browser.compositor.bottombar.ephemeraltab.EphemeralTa
|
||||
import org.chromium.chrome.browser.compositor.layouts.LayoutManagerImpl;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
|
@ -1232,7 +1270,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/Tab
|
|||
import org.chromium.chrome.browser.continuous_search.ContinuousSearchContainerCoordinator;
|
||||
import org.chromium.chrome.browser.continuous_search.ContinuousSearchContainerCoordinator.HeightObserver;
|
||||
import org.chromium.chrome.browser.feature_guide.notifications.FeatureNotificationUtils;
|
||||
@@ -255,7 +254,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@@ -254,7 +253,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@NonNull ActivityTabProvider tabProvider,
|
||||
@NonNull ObservableSupplier<Profile> profileSupplier,
|
||||
@NonNull ObservableSupplier<BookmarkBridge> bookmarkBridgeSupplier,
|
||||
|
@ -1241,7 +1279,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/Tab
|
|||
@NonNull ObservableSupplier<TabModelSelector> tabModelSelectorSupplier,
|
||||
@NonNull OneshotSupplier<StartSurface> startSurfaceSupplier,
|
||||
@NonNull OneshotSupplier<ToolbarIntentMetadata> intentMetadataOneshotSupplier,
|
||||
@@ -290,7 +289,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@@ -289,7 +288,7 @@ public class TabbedRootUiCoordinator extends RootUiCoordinator {
|
||||
@NonNull OmniboxPedalDelegate omniboxPedalDelegate,
|
||||
boolean initializeUiWithIncognitoColors) {
|
||||
super(activity, onOmniboxFocusChangedListener, shareDelegateSupplier, tabProvider,
|
||||
|
@ -1251,9 +1289,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/Tab
|
|||
layoutStateProviderOneshotSupplier, startSurfaceParentTabSupplier,
|
||||
browserControlsManager, windowAndroid, jankTracker, activityLifecycleDispatcher,
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
index e51f63731c17..c5b3698f0147 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java
|
||||
@@ -46,7 +46,6 @@ import org.chromium.chrome.browser.compositor.bottombar.OverlayPanelManager;
|
||||
@@ -45,7 +45,6 @@ import org.chromium.chrome.browser.compositor.bottombar.OverlayPanelManager;
|
||||
import org.chromium.chrome.browser.compositor.layouts.LayoutManagerImpl;
|
||||
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
|
||||
import org.chromium.chrome.browser.compositor.layouts.content.TabContentManager;
|
||||
|
@ -1261,7 +1300,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
import org.chromium.chrome.browser.crash.ChromePureJavaExceptionReporter;
|
||||
import org.chromium.chrome.browser.directactions.DirectActionInitializer;
|
||||
import org.chromium.chrome.browser.feature_engagement.TrackerFactory;
|
||||
@@ -210,8 +209,6 @@ public class RootUiCoordinator
|
||||
@@ -218,8 +217,6 @@ public class RootUiCoordinator
|
||||
protected final ObservableSupplier<Profile> mProfileSupplier;
|
||||
private final ObservableSupplier<BookmarkBridge> mBookmarkBridgeSupplier;
|
||||
private final OneshotSupplierImpl<AppMenuCoordinator> mAppMenuSupplier;
|
||||
|
@ -1270,7 +1309,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
protected final CallbackController mCallbackController;
|
||||
protected final BrowserControlsManager mBrowserControlsManager;
|
||||
protected ObservableSupplier<TabModelSelector> mTabModelSelectorSupplier;
|
||||
@@ -301,7 +298,7 @@ public class RootUiCoordinator
|
||||
@@ -309,7 +306,7 @@ public class RootUiCoordinator
|
||||
@NonNull ActivityTabProvider tabProvider,
|
||||
@NonNull ObservableSupplier<Profile> profileSupplier,
|
||||
@NonNull ObservableSupplier<BookmarkBridge> bookmarkBridgeSupplier,
|
||||
|
@ -1279,7 +1318,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
@NonNull ObservableSupplier<TabModelSelector> tabModelSelectorSupplier,
|
||||
@NonNull OneshotSupplier<StartSurface> startSurfaceSupplier,
|
||||
@NonNull OneshotSupplier<ToolbarIntentMetadata> intentMetadataOneshotSupplier,
|
||||
@@ -384,7 +381,6 @@ public class RootUiCoordinator
|
||||
@@ -392,7 +389,6 @@ public class RootUiCoordinator
|
||||
mProfileSupplier = profileSupplier;
|
||||
mBookmarkBridgeSupplier = bookmarkBridgeSupplier;
|
||||
mAppMenuSupplier = new OneshotSupplierImpl<>();
|
||||
|
@ -1287,7 +1326,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
mActionModeControllerCallback = new ToolbarActionModeCallback();
|
||||
|
||||
mTabModelSelectorSupplier = tabModelSelectorSupplier;
|
||||
@@ -505,9 +501,6 @@ public class RootUiCoordinator
|
||||
@@ -513,9 +509,6 @@ public class RootUiCoordinator
|
||||
|
||||
if (mBottomSheetManager != null) mBottomSheetManager.onDestroy();
|
||||
if (mBottomSheetController != null) {
|
||||
|
@ -1297,7 +1336,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
BottomSheetControllerFactory.detach(mBottomSheetController);
|
||||
mBottomSheetController.destroy();
|
||||
}
|
||||
@@ -578,7 +571,6 @@ public class RootUiCoordinator
|
||||
@@ -590,7 +583,6 @@ public class RootUiCoordinator
|
||||
public void onPostInflationStartup() {
|
||||
initAppMenu();
|
||||
initDirectActionInitializer();
|
||||
|
@ -1305,7 +1344,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
if (mAppMenuCoordinator != null && mModalDialogManagerSupplier.hasValue()) {
|
||||
mModalDialogManagerObserver = new ModalDialogManagerObserver() {
|
||||
@Override
|
||||
@@ -791,15 +783,6 @@ public class RootUiCoordinator
|
||||
@@ -813,15 +805,6 @@ public class RootUiCoordinator
|
||||
|
||||
@Override
|
||||
public boolean canShowAppMenu() {
|
||||
|
@ -1321,7 +1360,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
// Do not show the menu if we are in find in page view.
|
||||
if (mFindToolbarManager != null && mFindToolbarManager.isShowing()
|
||||
&& !DeviceFormFactor.isNonMultiDisplayContextOnTablet(mActivity)) {
|
||||
@@ -999,10 +982,6 @@ public class RootUiCoordinator
|
||||
@@ -1020,10 +1003,6 @@ public class RootUiCoordinator
|
||||
public void onStartedShowing(int layoutType, boolean showToolbar) {
|
||||
if (layoutType != LayoutType.BROWSING
|
||||
&& layoutType != LayoutType.SIMPLE_ANIMATION) {
|
||||
|
@ -1332,7 +1371,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
}
|
||||
|
||||
if (layoutType == LayoutType.TAB_SWITCHER) {
|
||||
@@ -1096,10 +1075,6 @@ public class RootUiCoordinator
|
||||
@@ -1117,10 +1096,6 @@ public class RootUiCoordinator
|
||||
* cross-feature interaction, e.g. hide other features when this feature is shown.
|
||||
*/
|
||||
protected void onFindToolbarShown() {
|
||||
|
@ -1343,7 +1382,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
}
|
||||
|
||||
/**
|
||||
@@ -1205,39 +1180,6 @@ public class RootUiCoordinator
|
||||
@@ -1226,39 +1201,6 @@ public class RootUiCoordinator
|
||||
mActivityLifecycleDispatcher.register(mDirectActionInitializer);
|
||||
}
|
||||
|
||||
|
@ -1384,9 +1423,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordi
|
|||
|
||||
@VisibleForTesting
|
||||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
index 94e86c3c7e4c..378c48a95148 100644
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -2011,9 +2011,6 @@ static_library("browser") {
|
||||
@@ -2034,9 +2034,6 @@ static_library("browser") {
|
||||
"//components/content_settings/core/browser",
|
||||
"//components/content_settings/core/common",
|
||||
"//components/contextual_search:buildflags",
|
||||
|
@ -1396,7 +1436,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"//components/continuous_search/browser",
|
||||
"//components/continuous_search/common/public/mojom",
|
||||
"//components/cookie_config",
|
||||
@@ -2624,8 +2621,6 @@ static_library("browser") {
|
||||
@@ -2619,8 +2616,6 @@ static_library("browser") {
|
||||
"android/compositor/decoration_title.h",
|
||||
"android/compositor/layer/content_layer.cc",
|
||||
"android/compositor/layer/content_layer.h",
|
||||
|
@ -1405,7 +1445,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"android/compositor/layer/layer.h",
|
||||
"android/compositor/layer/overlay_panel_layer.cc",
|
||||
"android/compositor/layer/overlay_panel_layer.h",
|
||||
@@ -2646,8 +2641,6 @@ static_library("browser") {
|
||||
@@ -2641,8 +2636,6 @@ static_library("browser") {
|
||||
"android/compositor/resources/resource_factory.cc",
|
||||
"android/compositor/resources/toolbar_resource.cc",
|
||||
"android/compositor/resources/toolbar_resource.h",
|
||||
|
@ -1414,7 +1454,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"android/compositor/scene_layer/continuous_search_scene_layer.cc",
|
||||
"android/compositor/scene_layer/continuous_search_scene_layer.h",
|
||||
"android/compositor/scene_layer/overscroll_scene_layer.cc",
|
||||
@@ -2672,28 +2665,6 @@ static_library("browser") {
|
||||
@@ -2667,28 +2660,6 @@ static_library("browser") {
|
||||
"android/content/content_utils.cc",
|
||||
"android/context_menu/context_menu_native_delegate_impl.cc",
|
||||
"android/context_menu/context_menu_native_delegate_impl.h",
|
||||
|
@ -1443,7 +1483,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"android/cookies/cookies_fetcher_util.cc",
|
||||
"android/customtabs/client_data_header_web_contents_observer.cc",
|
||||
"android/customtabs/client_data_header_web_contents_observer.h",
|
||||
@@ -3270,8 +3241,6 @@ static_library("browser") {
|
||||
@@ -3266,8 +3237,6 @@ static_library("browser") {
|
||||
"safe_browsing/android/safe_browsing_referring_app_bridge_android.h",
|
||||
"safe_browsing/android/safe_browsing_settings_launcher_android.cc",
|
||||
"safe_browsing/android/safe_browsing_settings_launcher_android.h",
|
||||
|
@ -1453,19 +1493,13 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|||
"search_engines/ui_thread_search_terms_data_android.cc",
|
||||
"search_engines/ui_thread_search_terms_data_android.h",
|
||||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
index 8a71ee8c2dd2..9f40936fd1e9 100644
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -1664,23 +1664,6 @@ const FeatureEntry::FeatureVariation kExploreSitesVariations[] = {
|
||||
base::size(kExploreSitesDenseTitleBottom), nullptr},
|
||||
{"Dense Title Right", kExploreSitesDenseTitleRight,
|
||||
base::size(kExploreSitesDenseTitleRight), nullptr}};
|
||||
-const FeatureEntry::FeatureParam kLongpressResolvePreserveTap = {
|
||||
- contextual_search::kLongpressResolveParamName,
|
||||
- contextual_search::kLongpressResolvePreserveTap};
|
||||
-const FeatureEntry::FeatureVariation kLongpressResolveVariations[] = {
|
||||
- {"and preserve Tap behavior", &kLongpressResolvePreserveTap, 1, nullptr},
|
||||
-};
|
||||
-
|
||||
@@ -1728,17 +1728,6 @@ const FeatureEntry::FeatureVariation kLongpressResolveVariations[] = {
|
||||
{"and preserve Tap behavior", &kLongpressResolvePreserveTap, 1, nullptr},
|
||||
};
|
||||
|
||||
-const FeatureEntry::FeatureParam kContextualSearchPromoCardShow3Times = {
|
||||
- "promo_card_max_shown", "3"};
|
||||
-const FeatureEntry::FeatureParam kContextualSearchPromoCardShow100Times = {
|
||||
|
@ -1476,10 +1510,11 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
- {"with promo show 100 times", &kContextualSearchPromoCardShow100Times, 1,
|
||||
- nullptr},
|
||||
-};
|
||||
|
||||
-
|
||||
const FeatureEntry::FeatureParam kRelatedSearchesUrl = {"stamp", "1Ru"};
|
||||
const FeatureEntry::FeatureParam kRelatedSearchesContent = {"stamp", "1Rc"};
|
||||
@@ -2986,70 +2969,6 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
const FeatureEntry::FeatureVariation kRelatedSearchesVariations[] = {
|
||||
@@ -3085,65 +3074,6 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kCSSContainerQueriesDescription, kOsAll,
|
||||
FEATURE_VALUE_TYPE(blink::features::kCSSContainerQueries)},
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
|
@ -1495,11 +1530,6 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
- flag_descriptions::kContextualSearchForceCaptionName,
|
||||
- flag_descriptions::kContextualSearchForceCaptionDescription, kOsAndroid,
|
||||
- FEATURE_VALUE_TYPE(chrome::android::kContextualSearchForceCaption)},
|
||||
- {"contextual-search-literal-search-tap",
|
||||
- flag_descriptions::kContextualSearchLiteralSearchTapName,
|
||||
- flag_descriptions::kContextualSearchLiteralSearchTapDescription,
|
||||
- kOsAndroid,
|
||||
- FEATURE_VALUE_TYPE(chrome::android::kContextualSearchLiteralSearchTap)},
|
||||
- {"contextual-search-longpress-resolve",
|
||||
- flag_descriptions::kContextualSearchLongpressResolveName,
|
||||
- flag_descriptions::kContextualSearchLongpressResolveDescription,
|
||||
|
@ -1551,9 +1581,10 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
flag_descriptions::kExploreSitesDescription, kOsAndroid,
|
||||
FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kExploreSites,
|
||||
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
||||
index 8770b1eeb4fc..0121c5a87dca 100644
|
||||
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
||||
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
||||
@@ -116,7 +116,6 @@
|
||||
@@ -115,7 +115,6 @@
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
#include "chrome/browser/first_run/android/first_run_prefs.h"
|
||||
#include "chrome/browser/lens/android/lens_prefs.h"
|
||||
|
@ -1561,7 +1592,7 @@ diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
|||
#else // BUILDFLAG(IS_ANDROID)
|
||||
#include "chrome/browser/download/default_download_dir_policy_handler.h"
|
||||
#include "chrome/browser/download/download_auto_open_policy_handler.h"
|
||||
@@ -1783,10 +1782,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
|
||||
@@ -1786,10 +1785,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
|
||||
key::kBrowsingDataLifetime, browsing_data::prefs::kBrowsingDataLifetime,
|
||||
chrome_schema));
|
||||
|
||||
|
@ -1574,9 +1605,10 @@ diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
|||
std::make_unique<NtpCustomBackgroundEnabledPolicyHandler>());
|
||||
handlers->AddHandler(std::make_unique<DefaultDownloadDirPolicyHandler>());
|
||||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
index be21fdb2fd66..f5e595defbc3 100644
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -788,49 +788,6 @@ CHAR_LIMIT guidelines:
|
||||
@@ -785,49 +785,6 @@ CHAR_LIMIT guidelines:
|
||||
<message name="IDS_PREFS_PRIVACY_SECURITY" desc="Title for the Privacy and Security preferences. [CHAR_LIMIT=32]">
|
||||
Privacy and security
|
||||
</message>
|
||||
|
@ -1626,7 +1658,7 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
<message name="IDS_DO_NOT_TRACK_TITLE" desc="Title for 'Do Not Track' preference">
|
||||
“Do Not Track”
|
||||
</message>
|
||||
@@ -3862,41 +3819,6 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
@@ -3849,41 +3806,6 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
||||
Tabs
|
||||
</message>
|
||||
|
||||
|
@ -1669,9 +1701,10 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|||
<message name="IDS_WEBAPP_ACTIVITY_TITLE" desc="Title in recent tasks list for web apps, i.e. web pages that are shown in a separate window">
|
||||
Web App
|
||||
diff --git a/components/BUILD.gn b/components/BUILD.gn
|
||||
index 0608159b1f24..77ddac9080af 100644
|
||||
--- a/components/BUILD.gn
|
||||
+++ b/components/BUILD.gn
|
||||
@@ -295,7 +295,6 @@ test("components_unittests") {
|
||||
@@ -297,7 +297,6 @@ test("components_unittests") {
|
||||
"//components/certificate_transparency:unit_tests",
|
||||
"//components/content_capture/browser:unit_tests",
|
||||
"//components/content_settings/browser:unit_tests",
|
||||
|
@ -1680,6 +1713,7 @@ diff --git a/components/BUILD.gn b/components/BUILD.gn
|
|||
"//components/continuous_search/common:unit_tests",
|
||||
"//components/custom_handlers:unit_tests",
|
||||
diff --git a/content/browser/browser_interface_binders.cc b/content/browser/browser_interface_binders.cc
|
||||
index b5cfb66ad96a..a81968d945d8 100644
|
||||
--- a/content/browser/browser_interface_binders.cc
|
||||
+++ b/content/browser/browser_interface_binders.cc
|
||||
@@ -164,7 +164,6 @@
|
||||
|
@ -1691,9 +1725,10 @@ diff --git a/content/browser/browser_interface_binders.cc b/content/browser/brow
|
|||
#include "content/browser/direct_sockets/direct_sockets_service_impl.h"
|
||||
#include "media/mojo/mojom/speech_recognition_service.mojom.h"
|
||||
diff --git a/third_party/blink/public/mojom/BUILD.gn b/third_party/blink/public/mojom/BUILD.gn
|
||||
index 83d68e186f14..f41642e4585e 100644
|
||||
--- a/third_party/blink/public/mojom/BUILD.gn
|
||||
+++ b/third_party/blink/public/mojom/BUILD.gn
|
||||
@@ -828,8 +828,8 @@ mojom("android_mojo_bindings") {
|
||||
@@ -841,8 +841,8 @@ mojom("android_mojo_bindings") {
|
||||
# This Android unhandled-tap feature uses another mojo source, add it in.
|
||||
if (enable_unhandled_tap) {
|
||||
sources += [ "unhandled_tap_notifier/unhandled_tap_notifier.mojom" ]
|
||||
|
@ -1704,6 +1739,7 @@ diff --git a/third_party/blink/public/mojom/BUILD.gn b/third_party/blink/public/
|
|||
cpp_typemaps = [
|
||||
{
|
||||
diff --git a/third_party/blink/public/public_features.gni b/third_party/blink/public/public_features.gni
|
||||
index e3f525272bcc..2698c2ab33ea 100644
|
||||
--- a/third_party/blink/public/public_features.gni
|
||||
+++ b/third_party/blink/public/public_features.gni
|
||||
@@ -12,7 +12,7 @@ declare_args() {
|
||||
|
@ -1715,5 +1751,6 @@ diff --git a/third_party/blink/public/public_features.gni b/third_party/blink/pu
|
|||
|
||||
# Use Minikin hyphenation engine.
|
||||
use_minikin_hyphenation = !is_mac
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ diff --git a/chrome/android/java/res/menu/main_menu.xml b/chrome/android/java/re
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/KeyboardShortcuts.java b/chrome/android/java/src/org/chromium/chrome/browser/KeyboardShortcuts.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/KeyboardShortcuts.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/KeyboardShortcuts.java
|
||||
@@ -365,9 +365,6 @@ public class KeyboardShortcuts {
|
||||
@@ -363,9 +363,6 @@ public class KeyboardShortcuts {
|
||||
case KeyEvent.KEYCODE_BUTTON_START:
|
||||
if (currentTab != null && currentTab.canGoForward()) currentTab.goForward();
|
||||
return true;
|
||||
|
@ -39,7 +39,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/KeyboardShortcu
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java
|
||||
@@ -2409,16 +2409,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
@@ -2410,16 +2410,6 @@ public abstract class ChromeActivity<C extends ChromeActivityComponent>
|
||||
|
||||
final Tab currentTab = getActivityTab();
|
||||
|
||||
|
|
132
build/patches/Remove-report-sending.patch
Normal file
132
build/patches/Remove-report-sending.patch
Normal file
|
@ -0,0 +1,132 @@
|
|||
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||||
Date: Sun, 26 Nov 2017 22:51:43 +0100
|
||||
Subject: Remove report sending
|
||||
|
||||
No metrics are sent anywhere in Bromite, remove the checkbox
|
||||
from first run activity.
|
||||
---
|
||||
.../android/java/res/layout/fre_tosanduma.xml | 11 +------
|
||||
chrome/android/java/res/values/dimens.xml | 1 -
|
||||
.../firstrun/ToSAndUMAFirstRunFragment.java | 30 -------------------
|
||||
3 files changed, 1 insertion(+), 41 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/res/layout/fre_tosanduma.xml b/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
--- a/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
+++ b/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
@@ -83,16 +83,7 @@
|
||||
android:layout_marginTop="@dimen/fre_vertical_spacing"
|
||||
android:layout_marginBottom="@dimen/fre_tos_bottom_margin"
|
||||
android:lineSpacingMultiplier="1.4"
|
||||
- android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
|
||||
-
|
||||
- <CheckBox
|
||||
- android:id="@+id/send_report_checkbox"
|
||||
- android:layout_width="wrap_content"
|
||||
- android:layout_height="wrap_content"
|
||||
- android:lineSpacingMultiplier="1.4"
|
||||
- android:text="@string/fre_send_report_check"
|
||||
- android:paddingStart="@dimen/fre_tos_checkbox_padding"
|
||||
- android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
|
||||
+ android:textAppearance="@style/TextAppearance.TextMedium.Primary" android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<include
|
||||
diff --git a/chrome/android/java/res/values/dimens.xml b/chrome/android/java/res/values/dimens.xml
|
||||
--- a/chrome/android/java/res/values/dimens.xml
|
||||
+++ b/chrome/android/java/res/values/dimens.xml
|
||||
@@ -115,7 +115,6 @@
|
||||
|
||||
<dimen name="fre_image_bottom_margin">36dp</dimen>
|
||||
<dimen name="fre_tos_image_height">110dp</dimen>
|
||||
- <dimen name="fre_tos_checkbox_padding">12dp</dimen>
|
||||
<dimen name="fre_tos_bottom_margin">16dp</dimen>
|
||||
<dimen name="fre_loading_spinner_size">48dp</dimen>
|
||||
<dimen name="fre_bottom_loading_spinner_size">24dp</dimen>
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
@@ -62,7 +62,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
private boolean mAllowCrashUpload;
|
||||
|
||||
private Button mAcceptButton;
|
||||
- private CheckBox mSendReportCheckBox;
|
||||
private TextView mTosAndPrivacy;
|
||||
private View mTitle;
|
||||
private View mProgressSpinner;
|
||||
@@ -89,13 +88,10 @@ public class ToSAndUMAFirstRunFragment
|
||||
mProgressSpinner = view.findViewById(R.id.progress_spinner);
|
||||
mProgressSpinner.setVisibility(View.GONE);
|
||||
mAcceptButton = (Button) view.findViewById(R.id.terms_accept);
|
||||
- mSendReportCheckBox = (CheckBox) view.findViewById(R.id.send_report_checkbox);
|
||||
mTosAndPrivacy = (TextView) view.findViewById(R.id.tos_and_privacy);
|
||||
|
||||
// Register event listeners.
|
||||
mAcceptButton.setOnClickListener((v) -> onTosButtonClicked());
|
||||
- mSendReportCheckBox.setOnCheckedChangeListener(
|
||||
- ((compoundButton, isChecked) -> mAllowCrashUpload = isChecked));
|
||||
|
||||
// Make TextView links clickable.
|
||||
mTosAndPrivacy.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
@@ -133,11 +129,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
if (!isVisibleToUser) {
|
||||
// Restore original enabled & visibility states, in case the user returns to the page.
|
||||
setSpinnerVisible(false);
|
||||
- } else {
|
||||
- // On certain versions of Android, the checkbox will appear unchecked upon revisiting
|
||||
- // the page. Force it to the end state of the drawable animation as a work around.
|
||||
- // crbug.com/666258
|
||||
- mSendReportCheckBox.jumpDrawablesToCurrentState();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +155,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
assert !isWaitingForNativeAndPolicyInit();
|
||||
|
||||
setSpinnerVisible(false);
|
||||
- mSendReportCheckBox.setChecked(mAllowCrashUpload);
|
||||
}
|
||||
|
||||
/** Implements {@link FreUMADialogCoordinator.Listener} */
|
||||
@@ -188,8 +178,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
.isUsageAndCrashReportingPermittedByPolicy();
|
||||
|
||||
updateTosText(umaDialogMayBeShown, hasChildAccount, isMetricsReportingDisabledByPolicy);
|
||||
-
|
||||
- updateReportCheckbox(umaDialogMayBeShown, isMetricsReportingDisabledByPolicy);
|
||||
}
|
||||
|
||||
private SpanInfo buildTermsOfServiceLink() {
|
||||
@@ -265,20 +253,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
mTosAndPrivacy.setText(SpanApplier.applySpans(tosString, spans.toArray(new SpanInfo[0])));
|
||||
}
|
||||
|
||||
- private void updateReportCheckbox(
|
||||
- boolean umaDialogMayBeShown, boolean isMetricsReportingDisabledByPolicy) {
|
||||
- mAllowCrashUpload = getUmaCheckBoxInitialState();
|
||||
- mSendReportCheckBox.setChecked(mAllowCrashUpload);
|
||||
-
|
||||
- if (!canShowUmaCheckBox()) {
|
||||
- if (!umaDialogMayBeShown) {
|
||||
- mAllowCrashUpload = (sShowUmaCheckBoxForTesting || VersionInfo.isOfficialBuild())
|
||||
- && !isMetricsReportingDisabledByPolicy;
|
||||
- }
|
||||
- mSendReportCheckBox.setVisibility(View.GONE);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
private void openUmaDialog() {
|
||||
new FreUMADialogCoordinator(requireContext(),
|
||||
((ModalDialogManagerHolder) getActivity()).getModalDialogManager(), this,
|
||||
@@ -373,10 +347,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
|
||||
mAcceptButton.setVisibility(visibility);
|
||||
mTosAndPrivacy.setVisibility(visibility);
|
||||
- // Avoid updating visibility if the UMA check box can't be shown right now.
|
||||
- if (canShowUmaCheckBox()) {
|
||||
- mSendReportCheckBox.setVisibility(visibility);
|
||||
- }
|
||||
}
|
||||
|
||||
protected View getToSAndPrivacyText() {
|
||||
--
|
||||
2.25.1
|
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,7 @@ Disable search-ready omnibox by default
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -3500,8 +3500,8 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -3606,8 +3606,8 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
#if defined(USE_AURA)
|
||||
{"overscroll-history-navigation",
|
||||
flag_descriptions::kOverscrollHistoryNavigationName,
|
||||
|
@ -30,7 +30,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
{"pull-to-refresh", flag_descriptions::kPullToRefreshName,
|
||||
flag_descriptions::kPullToRefreshDescription, kOsAura,
|
||||
MULTI_VALUE_TYPE(kPullToRefreshChoices)},
|
||||
@@ -7819,6 +7819,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -8055,6 +8055,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kDesksTrackpadSwipeImprovementsDescription, kOsCrOS,
|
||||
FEATURE_VALUE_TYPE(ash::features::kEnableDesksTrackpadSwipeImprovements)},
|
||||
#endif
|
||||
|
@ -43,7 +43,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||
--- a/chrome/browser/flag-metadata.json
|
||||
+++ b/chrome/browser/flag-metadata.json
|
||||
@@ -2522,6 +2522,11 @@
|
||||
@@ -2572,6 +2572,11 @@
|
||||
// with neural net palm detection.
|
||||
"expiry_milestone": 90
|
||||
},
|
||||
|
@ -58,7 +58,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -3567,6 +3567,11 @@ const char kSendTabToSelfV2Description[] =
|
||||
@@ -3610,6 +3610,11 @@ const char kSendTabToSelfV2Description[] =
|
||||
"Enables new received tab "
|
||||
"UI shown next to the profile icon instead of using system notifications.";
|
||||
|
||||
|
@ -73,7 +73,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -2045,6 +2045,9 @@ extern const char kSecurePaymentConfirmationAndroidDescription[];
|
||||
@@ -2065,6 +2065,9 @@ extern const char kShowScrollableMVTOnNTPAndroidDescription[];
|
||||
extern const char kSendTabToSelfV2Name[];
|
||||
extern const char kSendTabToSelfV2Description[];
|
||||
|
||||
|
@ -86,7 +86,7 @@ diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptio
|
|||
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
|
||||
@@ -257,6 +257,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
@@ -259,6 +259,7 @@ const base::Feature* const kFeaturesExposedToJava[] = {
|
||||
&kImproveReaderModePrompt,
|
||||
&kReaderModeInCCT,
|
||||
&kReengagementNotification,
|
||||
|
@ -94,7 +94,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
&kRelatedSearches,
|
||||
&kRelatedSearchesAlternateUx,
|
||||
&kRelatedSearchesInBar,
|
||||
@@ -740,6 +741,9 @@ const base::Feature kRelatedSearchesSimplifiedUx{
|
||||
@@ -737,6 +738,9 @@ const base::Feature kRelatedSearchesSimplifiedUx{
|
||||
const base::Feature kRelatedSearchesUi{"RelatedSearchesUi",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
|
@ -107,7 +107,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.h
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
@@ -133,6 +133,7 @@ extern const base::Feature kSearchEnginePromoExistingDeviceV2;
|
||||
@@ -132,6 +132,7 @@ extern const base::Feature kSearchEnginePromoExistingDeviceV2;
|
||||
extern const base::Feature kSearchEnginePromoNewDevice;
|
||||
extern const base::Feature kSearchEnginePromoNewDeviceV2;
|
||||
extern const base::Feature kServiceManagerForBackgroundPrefetch;
|
||||
|
@ -119,13 +119,13 @@ diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/f
|
|||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
@@ -401,6 +401,7 @@ public abstract class ChromeFeatureList {
|
||||
public static final String MESSAGES_FOR_ANDROID_SAVE_CARD = "MessagesForAndroidSaveCard";
|
||||
public static final String MESSAGES_FOR_ANDROID_SYNC_ERROR = "MessagesForAndroidSyncError";
|
||||
public static final String MOBILE_IDENTITY_CONSISTENCY_PROMOS =
|
||||
+ public static final String SEARCH_READY_OMNIBOX = "SearchReadyOmnibox";
|
||||
"MobileIdentityConsistencyPromos";
|
||||
public static final String MODAL_PERMISSION_DIALOG_VIEW = "ModalPermissionDialogView";
|
||||
public static final String METRICS_SETTINGS_ANDROID = "MetricsSettingsAndroid";
|
||||
public static final String NEW_WINDOW_APP_MENU = "NewWindowAppMenu";
|
||||
+ public static final String SEARCH_READY_OMNIBOX = "SearchReadyOmnibox";
|
||||
public static final String OFFLINE_INDICATOR = "OfflineIndicator";
|
||||
public static final String OFFLINE_INDICATOR_V2 = "OfflineIndicatorV2";
|
||||
public static final String OFFLINE_PAGES_DESCRIPTIVE_FAIL_STATUS =
|
||||
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/DropdownItemViewInfoListBuilder.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/DropdownItemViewInfoListBuilder.java
|
||||
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/DropdownItemViewInfoListBuilder.java
|
||||
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/DropdownItemViewInfoListBuilder.java
|
||||
|
|
|
@ -39,7 +39,7 @@ diff --git a/chrome/android/chrome_java_resources.gni b/chrome/android/chrome_ja
|
|||
diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni
|
||||
--- a/chrome/android/chrome_java_sources.gni
|
||||
+++ b/chrome/android/chrome_java_sources.gni
|
||||
@@ -535,6 +535,7 @@ chrome_java_sources = [
|
||||
@@ -533,6 +533,7 @@ chrome_java_sources = [
|
||||
"java/src/org/chromium/chrome/browser/feedback/FeedFeedbackCollector.java",
|
||||
"java/src/org/chromium/chrome/browser/feedback/HelpAndFeedbackLauncherImpl.java",
|
||||
"java/src/org/chromium/chrome/browser/feedback/ScreenshotTask.java",
|
||||
|
@ -206,15 +206,15 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/native_page/Nat
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
@@ -39,6 +39,7 @@ import org.chromium.chrome.browser.explore_sites.ExperimentalExploreSitesSection
|
||||
import org.chromium.chrome.browser.explore_sites.ExploreSitesBridge;
|
||||
@@ -40,6 +40,7 @@ import org.chromium.chrome.browser.explore_sites.ExploreSitesBridge;
|
||||
import org.chromium.chrome.browser.feed.FeedSurfaceScrollDelegate;
|
||||
import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||
import org.chromium.chrome.browser.lens.LensEntryPoint;
|
||||
+import org.chromium.chrome.browser.flags.ChromeFeatureList;
|
||||
import org.chromium.chrome.browser.lens.LensMetrics;
|
||||
import org.chromium.chrome.browser.lifecycle.ActivityLifecycleDispatcher;
|
||||
import org.chromium.chrome.browser.logo.LogoBridge.Logo;
|
||||
@@ -123,6 +124,8 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
@@ -133,6 +134,8 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
private UiConfig mUiConfig;
|
||||
private CallbackController mCallbackController = new CallbackController();
|
||||
|
||||
|
@ -223,15 +223,15 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
|||
/**
|
||||
* Whether the tiles shown in the layout have finished loading.
|
||||
* With {@link #mHasShownView}, it's one of the 2 flags used to track initialisation progress.
|
||||
@@ -259,6 +262,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
mNoSearchLogoSpacer = findViewById(R.id.no_search_logo_spacer);
|
||||
|
||||
@@ -258,6 +261,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
profile, searchProviderIsGoogle, contextMenuManager, tileGroupDelegate);
|
||||
}
|
||||
initializeSearchBoxBackground();
|
||||
+ initializeShortcuts();
|
||||
initializeSearchBoxTextView();
|
||||
initializeVoiceSearchButton();
|
||||
initializeLensButton();
|
||||
@@ -570,10 +574,16 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
@@ -628,10 +632,16 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
* Updates the padding for the tile grid based on what is shown above it.
|
||||
*/
|
||||
private void updateTileGridPadding() {
|
||||
|
@ -247,10 +247,10 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
|||
? R.dimen.tile_grid_layout_padding_top
|
||||
: R.dimen.tile_grid_layout_no_logo_padding_top);
|
||||
+ }
|
||||
mSiteSectionViewHolder.getItemView().setPadding(
|
||||
0, paddingTop, 0, mSiteSectionViewHolder.getItemView().getPaddingBottom());
|
||||
}
|
||||
@@ -971,6 +981,22 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
if (mSiteSectionViewHolder != null) {
|
||||
mSiteSectionViewHolder.getItemView().setPadding(
|
||||
0, paddingTop, 0, mSiteSectionViewHolder.getItemView().getPaddingBottom());
|
||||
@@ -1043,6 +1053,22 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
return iphCommandBuilder;
|
||||
}
|
||||
|
||||
|
@ -310,7 +310,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/Sug
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -4174,6 +4174,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -4291,6 +4291,9 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
SINGLE_VALUE_TYPE_AND_VALUE(
|
||||
switches::kForceShowUpdateMenuItemCustomSummary,
|
||||
"Custom Summary")},
|
||||
|
@ -323,7 +323,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -3601,6 +3601,9 @@ const char kStartSurfaceAndroidDescription[] =
|
||||
@@ -3644,6 +3644,9 @@ const char kStartSurfaceAndroidDescription[] =
|
||||
"Enable showing the start surface when launching Chrome via the "
|
||||
"launcher.";
|
||||
|
||||
|
@ -336,7 +336,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -2063,6 +2063,9 @@ extern const char kSiteIsolationForPasswordSitesDescription[];
|
||||
@@ -2083,6 +2083,9 @@ extern const char kSiteIsolationForPasswordSitesDescription[];
|
||||
extern const char kSmartSuggestionForLargeDownloadsName[];
|
||||
extern const char kSmartSuggestionForLargeDownloadsDescription[];
|
||||
|
||||
|
@ -357,7 +357,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
&kInstanceSwitcher,
|
||||
&kInstantStart,
|
||||
&kKitKatSupported,
|
||||
@@ -706,6 +707,9 @@ const base::Feature kInstanceSwitcher{"InstanceSwitcher",
|
||||
@@ -703,6 +704,9 @@ const base::Feature kInstanceSwitcher{"InstanceSwitcher",
|
||||
const base::Feature kOfflineIndicatorV2{"OfflineIndicatorV2",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
|
@ -370,8 +370,8 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browse
|
|||
diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
--- a/chrome/browser/flags/android/chrome_feature_list.h
|
||||
+++ b/chrome/browser/flags/android/chrome_feature_list.h
|
||||
@@ -117,6 +117,7 @@ extern const base::Feature kLensCameraAssistedSearch;
|
||||
extern const base::Feature kNewWindowAppMenu;
|
||||
@@ -116,6 +116,7 @@ extern const base::Feature kNewWindowAppMenu;
|
||||
extern const base::Feature kNotificationPermissionVariant;
|
||||
extern const base::Feature kOfflineIndicatorV2;
|
||||
extern const base::Feature kPageAnnotationsService;
|
||||
+extern const base::Feature kSimplifiedNTP;
|
||||
|
@ -381,7 +381,7 @@ diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser
|
|||
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||||
@@ -387,6 +387,7 @@ public abstract class ChromeFeatureList {
|
||||
@@ -391,6 +391,7 @@ public abstract class ChromeFeatureList {
|
||||
public static final String MESSAGES_FOR_ANDROID_ADS_BLOCKED = "MessagesForAndroidAdsBlocked";
|
||||
public static final String MESSAGES_FOR_ANDROID_CHROME_SURVEY =
|
||||
"MessagesForAndroidChromeSurvey";
|
||||
|
@ -392,7 +392,7 @@ diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/f
|
|||
diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/features.cc
|
||||
--- a/components/ntp_snippets/features.cc
|
||||
+++ b/components/ntp_snippets/features.cc
|
||||
@@ -13,13 +13,17 @@
|
||||
@@ -12,13 +12,17 @@
|
||||
#include "components/ntp_snippets/category_rankers/constant_category_ranker.h"
|
||||
#include "components/variations/variations_associated_data.h"
|
||||
|
||||
|
@ -414,7 +414,7 @@ diff --git a/components/ntp_snippets/features.cc b/components/ntp_snippets/featu
|
|||
diff --git a/testing/variations/fieldtrial_testing_config.json b/testing/variations/fieldtrial_testing_config.json
|
||||
--- a/testing/variations/fieldtrial_testing_config.json
|
||||
+++ b/testing/variations/fieldtrial_testing_config.json
|
||||
@@ -3294,6 +3294,24 @@
|
||||
@@ -3644,6 +3644,24 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
@ -13,7 +13,7 @@ This reverts commit 4e598f38a0e6dd3dbede009c6a99b2a520a94e1f.
|
|||
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
||||
--- a/chrome/browser/about_flags.cc
|
||||
+++ b/chrome/browser/about_flags.cc
|
||||
@@ -3546,6 +3546,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
@@ -3652,6 +3652,10 @@ const FeatureEntry kFeatureEntries[] = {
|
||||
flag_descriptions::kEnableVulkanDescription,
|
||||
kOsWin | kOsLinux | kOsAndroid, FEATURE_VALUE_TYPE(features::kVulkan)},
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
|
@ -27,7 +27,7 @@ diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
|||
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
|
||||
--- a/chrome/browser/flag-metadata.json
|
||||
+++ b/chrome/browser/flag-metadata.json
|
||||
@@ -1247,6 +1247,11 @@
|
||||
@@ -1277,6 +1277,11 @@
|
||||
// enable-javascript-harmony.
|
||||
"expiry_milestone": -1
|
||||
},
|
||||
|
@ -42,7 +42,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
|
|||
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
||||
--- a/chrome/browser/flag_descriptions.cc
|
||||
+++ b/chrome/browser/flag_descriptions.cc
|
||||
@@ -3460,6 +3460,10 @@ const char kReadLaterDescription[] =
|
||||
@@ -3515,6 +3515,10 @@ const char kReadLaterDescription[] =
|
||||
"Allow users to save tabs for later. Enables a new button and menu for "
|
||||
"accessing tabs saved for later.";
|
||||
|
||||
|
@ -56,7 +56,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
|
|||
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
|
||||
--- a/chrome/browser/flag_descriptions.h
|
||||
+++ b/chrome/browser/flag_descriptions.h
|
||||
@@ -1988,6 +1988,9 @@ extern const char kQueryTilesSegmentationDescription[];
|
||||
@@ -2012,6 +2012,9 @@ extern const char kQueryTilesSegmentationDescription[];
|
||||
extern const char kQueryTilesSwapTrendingName[];
|
||||
extern const char kQueryTilesSwapTrendingDescription[];
|
||||
|
||||
|
|
|
@ -1,247 +0,0 @@
|
|||
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||||
Date: Sun, 26 Nov 2017 22:51:43 +0100
|
||||
Subject: Skip the first run and remove report sending
|
||||
|
||||
---
|
||||
.../android/java/res/layout/fre_tosanduma.xml | 11 +-----
|
||||
chrome/android/java/res/values/dimens.xml | 1 -
|
||||
.../browser/firstrun/FirstRunActivity.java | 7 ----
|
||||
.../firstrun/FirstRunFlowSequencer.java | 9 ++---
|
||||
.../browser/firstrun/FirstRunUtils.java | 3 --
|
||||
.../firstrun/ToSAndUMAFirstRunFragment.java | 34 +------------------
|
||||
.../browser/firstrun/FirstRunStatus.java | 6 ++--
|
||||
7 files changed, 6 insertions(+), 65 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/java/res/layout/fre_tosanduma.xml b/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
--- a/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
+++ b/chrome/android/java/res/layout/fre_tosanduma.xml
|
||||
@@ -83,16 +83,7 @@
|
||||
android:layout_marginTop="@dimen/fre_vertical_spacing"
|
||||
android:layout_marginBottom="@dimen/fre_tos_bottom_margin"
|
||||
android:lineSpacingMultiplier="1.4"
|
||||
- android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
|
||||
-
|
||||
- <CheckBox
|
||||
- android:id="@+id/send_report_checkbox"
|
||||
- android:layout_width="wrap_content"
|
||||
- android:layout_height="wrap_content"
|
||||
- android:lineSpacingMultiplier="1.4"
|
||||
- android:text="@string/fre_send_report_check"
|
||||
- android:paddingStart="@dimen/fre_tos_checkbox_padding"
|
||||
- android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
|
||||
+ android:textAppearance="@style/TextAppearance.TextMedium.Primary" android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<include
|
||||
diff --git a/chrome/android/java/res/values/dimens.xml b/chrome/android/java/res/values/dimens.xml
|
||||
--- a/chrome/android/java/res/values/dimens.xml
|
||||
+++ b/chrome/android/java/res/values/dimens.xml
|
||||
@@ -115,7 +115,6 @@
|
||||
|
||||
<dimen name="fre_image_bottom_margin">36dp</dimen>
|
||||
<dimen name="fre_tos_image_height">110dp</dimen>
|
||||
- <dimen name="fre_tos_checkbox_padding">12dp</dimen>
|
||||
<dimen name="fre_tos_bottom_margin">16dp</dimen>
|
||||
<dimen name="fre_loading_spinner_size">48dp</dimen>
|
||||
<dimen name="fre_bottom_loading_spinner_size">24dp</dimen>
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunActivity.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunActivity.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunActivity.java
|
||||
@@ -33,7 +33,6 @@ import org.chromium.chrome.browser.fonts.FontPreloader;
|
||||
import org.chromium.chrome.browser.metrics.UmaUtils;
|
||||
import org.chromium.chrome.browser.search_engines.TemplateUrlServiceFactory;
|
||||
import org.chromium.chrome.browser.signin.SigninFirstRunFragment;
|
||||
-import org.chromium.chrome.browser.signin.services.FREMobileIdentityConsistencyFieldTrial;
|
||||
import org.chromium.components.browser_ui.modaldialog.AppModalPresenter;
|
||||
import org.chromium.ui.base.LocalizationUtils;
|
||||
import org.chromium.ui.modaldialog.ModalDialogManager;
|
||||
@@ -144,9 +143,6 @@ public class FirstRunActivity extends FirstRunActivityBase implements FirstRunPa
|
||||
/** Creates first page and sets up adapter. Should result UI being shown on the screen. */
|
||||
private void createFirstPage() {
|
||||
BooleanSupplier showWelcomePage = () -> !FirstRunStatus.shouldSkipWelcomePage();
|
||||
- if (FREMobileIdentityConsistencyFieldTrial.isEnabled()) {
|
||||
- mPages.add(new FirstRunPage<>(SigninFirstRunFragment.class, showWelcomePage));
|
||||
- } else {
|
||||
// TODO(crbug.com/1111490): Revisit during post-MVP.
|
||||
// There's an edge case where we accept the welcome page in the main app, abort the FRE,
|
||||
// then go through this CCT FRE again.
|
||||
@@ -155,7 +151,6 @@ public class FirstRunActivity extends FirstRunActivityBase implements FirstRunPa
|
||||
TosAndUmaFirstRunFragmentWithEnterpriseSupport.class,
|
||||
showWelcomePage)
|
||||
: new FirstRunPage<>(ToSAndUMAFirstRunFragment.class, showWelcomePage));
|
||||
- }
|
||||
mFreProgressStates.add(MobileFreProgress.WELCOME_SHOWN);
|
||||
mPagerAdapter = new FirstRunPagerAdapter(FirstRunActivity.this, mPages);
|
||||
mPager.setAdapter(mPagerAdapter);
|
||||
@@ -245,8 +240,6 @@ public class FirstRunActivity extends FirstRunActivityBase implements FirstRunPa
|
||||
public void triggerLayoutInflation() {
|
||||
// Generate trial group as early as possible to guarantee it's available by the time native
|
||||
// needs to register the synthetic trial group. See https://crbug.com/1295692 for details.
|
||||
- FREMobileIdentityConsistencyFieldTrial.createFirstRunTrial();
|
||||
-
|
||||
initializeStateFromLaunchData();
|
||||
RecordHistogram.recordTimesHistogram("MobileFre.FromLaunch.TriggerLayoutInflation",
|
||||
SystemClock.elapsedRealtime() - mIntentCreationElapsedRealtimeMs);
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencer.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencer.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencer.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencer.java
|
||||
@@ -85,10 +85,7 @@ public abstract class FirstRunFlowSequencer {
|
||||
/** @return true if the Search Engine promo page should be shown. */
|
||||
@VisibleForTesting
|
||||
public boolean shouldShowSearchEnginePage() {
|
||||
- @SearchEnginePromoType
|
||||
- int searchPromoType = LocaleManager.getInstance().getSearchEnginePromoShowType();
|
||||
- return searchPromoType == SearchEnginePromoType.SHOW_NEW
|
||||
- || searchPromoType == SearchEnginePromoType.SHOW_EXISTING;
|
||||
+ return false;
|
||||
}
|
||||
|
||||
/** @return true if Sync is allowed for the current user. */
|
||||
@@ -103,9 +100,7 @@ public abstract class FirstRunFlowSequencer {
|
||||
/** @return true if first use hints should be skipped. */
|
||||
@VisibleForTesting
|
||||
protected boolean shouldSkipFirstUseHints(Activity activity) {
|
||||
- return Settings.Secure.getInt(
|
||||
- activity.getContentResolver(), Settings.Secure.SKIP_FIRST_USE_HINTS, 0)
|
||||
- != 0;
|
||||
+ return true;
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunUtils.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunUtils.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunUtils.java
|
||||
@@ -43,15 +43,12 @@ public class FirstRunUtils {
|
||||
boolean javaPrefValue =
|
||||
javaPrefs.readBoolean(ChromePreferenceKeys.FIRST_RUN_CACHED_TOS_ACCEPTED, false);
|
||||
boolean nativePrefValue = isFirstRunEulaAccepted();
|
||||
- boolean isFirstRunComplete = FirstRunStatus.getFirstRunFlowComplete();
|
||||
- if (javaPrefValue || nativePrefValue || isFirstRunComplete) {
|
||||
if (!javaPrefValue) {
|
||||
javaPrefs.writeBoolean(ChromePreferenceKeys.FIRST_RUN_CACHED_TOS_ACCEPTED, true);
|
||||
}
|
||||
if (!nativePrefValue) {
|
||||
setEulaAccepted();
|
||||
}
|
||||
- }
|
||||
}
|
||||
|
||||
/**
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
|
||||
@@ -62,7 +62,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
private boolean mAllowCrashUpload;
|
||||
|
||||
private Button mAcceptButton;
|
||||
- private CheckBox mSendReportCheckBox;
|
||||
private TextView mTosAndPrivacy;
|
||||
private View mTitle;
|
||||
private View mProgressSpinner;
|
||||
@@ -89,13 +88,10 @@ public class ToSAndUMAFirstRunFragment
|
||||
mProgressSpinner = view.findViewById(R.id.progress_spinner);
|
||||
mProgressSpinner.setVisibility(View.GONE);
|
||||
mAcceptButton = (Button) view.findViewById(R.id.terms_accept);
|
||||
- mSendReportCheckBox = (CheckBox) view.findViewById(R.id.send_report_checkbox);
|
||||
mTosAndPrivacy = (TextView) view.findViewById(R.id.tos_and_privacy);
|
||||
|
||||
// Register event listeners.
|
||||
mAcceptButton.setOnClickListener((v) -> onTosButtonClicked());
|
||||
- mSendReportCheckBox.setOnCheckedChangeListener(
|
||||
- ((compoundButton, isChecked) -> mAllowCrashUpload = isChecked));
|
||||
|
||||
// Make TextView links clickable.
|
||||
mTosAndPrivacy.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
@@ -133,11 +129,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
if (!isVisibleToUser) {
|
||||
// Restore original enabled & visibility states, in case the user returns to the page.
|
||||
setSpinnerVisible(false);
|
||||
- } else {
|
||||
- // On certain versions of Android, the checkbox will appear unchecked upon revisiting
|
||||
- // the page. Force it to the end state of the drawable animation as a work around.
|
||||
- // crbug.com/666258
|
||||
- mSendReportCheckBox.jumpDrawablesToCurrentState();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +155,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
assert !isWaitingForNativeAndPolicyInit();
|
||||
|
||||
setSpinnerVisible(false);
|
||||
- mSendReportCheckBox.setChecked(mAllowCrashUpload);
|
||||
}
|
||||
|
||||
/** Implements {@link FreUMADialogCoordinator.Listener} */
|
||||
@@ -181,14 +171,10 @@ public class ToSAndUMAFirstRunFragment
|
||||
|
||||
final boolean umaDialogMayBeShown =
|
||||
FREMobileIdentityConsistencyFieldTrial.shouldShowOldFreWithUmaDialog();
|
||||
- final boolean hasChildAccount = getPageDelegate().getProperties().getBoolean(
|
||||
- SyncConsentFirstRunFragment.IS_CHILD_ACCOUNT, false);
|
||||
final boolean isMetricsReportingDisabledByPolicy = !isWaitingForNativeAndPolicyInit()
|
||||
&& PrivacyPreferencesManagerImpl.getInstance().isMetricsReportingDisabledByPolicy();
|
||||
|
||||
- updateTosText(umaDialogMayBeShown, hasChildAccount, isMetricsReportingDisabledByPolicy);
|
||||
-
|
||||
- updateReportCheckbox(umaDialogMayBeShown, isMetricsReportingDisabledByPolicy);
|
||||
+ updateTosText(umaDialogMayBeShown, false, isMetricsReportingDisabledByPolicy);
|
||||
}
|
||||
|
||||
private SpanInfo buildTermsOfServiceLink() {
|
||||
@@ -264,20 +250,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
mTosAndPrivacy.setText(SpanApplier.applySpans(tosString, spans.toArray(new SpanInfo[0])));
|
||||
}
|
||||
|
||||
- private void updateReportCheckbox(
|
||||
- boolean umaDialogMayBeShown, boolean isMetricsReportingDisabledByPolicy) {
|
||||
- mAllowCrashUpload = getUmaCheckBoxInitialState();
|
||||
- mSendReportCheckBox.setChecked(mAllowCrashUpload);
|
||||
-
|
||||
- if (!canShowUmaCheckBox()) {
|
||||
- if (!umaDialogMayBeShown) {
|
||||
- mAllowCrashUpload = (sShowUmaCheckBoxForTesting || VersionInfo.isOfficialBuild())
|
||||
- && !isMetricsReportingDisabledByPolicy;
|
||||
- }
|
||||
- mSendReportCheckBox.setVisibility(View.GONE);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
private void openUmaDialog() {
|
||||
new FreUMADialogCoordinator(requireContext(),
|
||||
((ModalDialogManagerHolder) getActivity()).getModalDialogManager(), this,
|
||||
@@ -372,10 +344,6 @@ public class ToSAndUMAFirstRunFragment
|
||||
|
||||
mAcceptButton.setVisibility(visibility);
|
||||
mTosAndPrivacy.setVisibility(visibility);
|
||||
- // Avoid updating visibility if the UMA check box can't be shown right now.
|
||||
- if (canShowUmaCheckBox()) {
|
||||
- mSendReportCheckBox.setVisibility(visibility);
|
||||
- }
|
||||
}
|
||||
|
||||
protected View getToSAndPrivacyText() {
|
||||
diff --git a/chrome/browser/first_run/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java b/chrome/browser/first_run/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
||||
--- a/chrome/browser/first_run/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
||||
+++ b/chrome/browser/first_run/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunStatus.java
|
||||
@@ -43,8 +43,7 @@ public class FirstRunStatus {
|
||||
* includes ToS and Sign In pages if necessary.
|
||||
*/
|
||||
public static boolean getFirstRunFlowComplete() {
|
||||
- return SharedPreferencesManager.getInstance().readBoolean(
|
||||
- ChromePreferenceKeys.FIRST_RUN_FLOW_COMPLETE, false);
|
||||
+ return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,8 +60,7 @@ public class FirstRunStatus {
|
||||
* Checks whether the welcome page should be skipped from the main First Run Experience.
|
||||
*/
|
||||
public static boolean shouldSkipWelcomePage() {
|
||||
- return SharedPreferencesManager.getInstance().readBoolean(
|
||||
- ChromePreferenceKeys.FIRST_RUN_SKIP_WELCOME_PAGE, false);
|
||||
+ return true;
|
||||
}
|
||||
|
||||
/**
|
||||
--
|
||||
2.25.1
|
|
@ -16,7 +16,7 @@ See also: https://github.com/bromite/bromite/wiki/TimezoneOverride
|
|||
.../site_settings/SingleCategorySettings.java | 77 ++++++-
|
||||
.../site_settings/SingleWebsiteSettings.java | 8 +-
|
||||
.../site_settings/SiteSettings.java | 2 +-
|
||||
.../site_settings/SiteSettingsCategory.java | 10 +-
|
||||
.../site_settings/SiteSettingsCategory.java | 9 +-
|
||||
.../site_settings/SiteSettingsDelegate.java | 2 +
|
||||
...imezoneOverrideSiteSettingsPreference.java | 193 ++++++++++++++++++
|
||||
.../browser_ui/site_settings/Website.java | 10 +
|
||||
|
@ -41,15 +41,16 @@ See also: https://github.com/bromite/bromite/wiki/TimezoneOverride
|
|||
.../renderer/content_settings_agent_impl.cc | 89 ++++++++
|
||||
.../renderer/content_settings_agent_impl.h | 4 +
|
||||
.../WebLayerSiteSettingsDelegate.java | 3 +
|
||||
35 files changed, 699 insertions(+), 15 deletions(-)
|
||||
35 files changed, 698 insertions(+), 15 deletions(-)
|
||||
create mode 100755 components/browser_ui/site_settings/android/java/res/layout/time_zone_select_dialog.xml
|
||||
create mode 100755 components/browser_ui/site_settings/android/java/res/layout/timezoneoverride_site_settings_preference.xml
|
||||
create mode 100755 components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/TimezoneOverrideSiteSettingsPreference.java
|
||||
|
||||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java
|
||||
index 83d8ba95297e..9dbf950f2f45 100644
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java
|
||||
@@ -42,6 +42,10 @@ import org.chromium.url.GURL;
|
||||
@@ -43,6 +43,10 @@ import org.chromium.url.GURL;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -60,7 +61,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/site_settings/C
|
|||
/**
|
||||
* A SiteSettingsDelegate instance that contains Chrome-specific Site Settings logic.
|
||||
*/
|
||||
@@ -254,4 +258,16 @@ public class ChromeSiteSettingsDelegate implements SiteSettingsDelegate {
|
||||
@@ -257,4 +261,16 @@ public class ChromeSiteSettingsDelegate implements SiteSettingsDelegate {
|
||||
mPrivacySandboxController.dismissSnackbar();
|
||||
}
|
||||
}
|
||||
|
@ -78,6 +79,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/site_settings/C
|
|||
+ }
|
||||
}
|
||||
diff --git a/components/browser_ui/site_settings/android/BUILD.gn b/components/browser_ui/site_settings/android/BUILD.gn
|
||||
index 285c9b0a5eb1..22bd85704fc3 100644
|
||||
--- a/components/browser_ui/site_settings/android/BUILD.gn
|
||||
+++ b/components/browser_ui/site_settings/android/BUILD.gn
|
||||
@@ -66,6 +66,7 @@ android_library("java") {
|
||||
|
@ -99,6 +101,7 @@ diff --git a/components/browser_ui/site_settings/android/BUILD.gn b/components/b
|
|||
deps = [
|
||||
diff --git a/components/browser_ui/site_settings/android/java/res/layout/time_zone_select_dialog.xml b/components/browser_ui/site_settings/android/java/res/layout/time_zone_select_dialog.xml
|
||||
new file mode 100755
|
||||
index 000000000000..05ac75a4cb5c
|
||||
--- /dev/null
|
||||
+++ b/components/browser_ui/site_settings/android/java/res/layout/time_zone_select_dialog.xml
|
||||
@@ -0,0 +1,36 @@
|
||||
|
@ -141,6 +144,7 @@ new file mode 100755
|
|||
\ No newline at end of file
|
||||
diff --git a/components/browser_ui/site_settings/android/java/res/layout/timezoneoverride_site_settings_preference.xml b/components/browser_ui/site_settings/android/java/res/layout/timezoneoverride_site_settings_preference.xml
|
||||
new file mode 100755
|
||||
index 000000000000..e7570d55a1f5
|
||||
--- /dev/null
|
||||
+++ b/components/browser_ui/site_settings/android/java/res/layout/timezoneoverride_site_settings_preference.xml
|
||||
@@ -0,0 +1,68 @@
|
||||
|
@ -213,6 +217,7 @@ new file mode 100755
|
|||
+
|
||||
+</LinearLayout>
|
||||
diff --git a/components/browser_ui/site_settings/android/java/res/xml/site_settings_preferences.xml b/components/browser_ui/site_settings/android/java/res/xml/site_settings_preferences.xml
|
||||
index 7140e17f9eae..0d757c8d7cb4 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/res/xml/site_settings_preferences.xml
|
||||
+++ b/components/browser_ui/site_settings/android/java/res/xml/site_settings_preferences.xml
|
||||
@@ -41,6 +41,10 @@
|
||||
|
@ -227,6 +232,7 @@ diff --git a/components/browser_ui/site_settings/android/java/res/xml/site_setti
|
|||
<org.chromium.components.browser_ui.settings.ChromeBasePreference
|
||||
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
|
||||
diff --git a/components/browser_ui/site_settings/android/java/res/xml/website_preferences.xml b/components/browser_ui/site_settings/android/java/res/xml/website_preferences.xml
|
||||
index 0745adba2db5..35d1cfc9da22 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/res/xml/website_preferences.xml
|
||||
+++ b/components/browser_ui/site_settings/android/java/res/xml/website_preferences.xml
|
||||
@@ -13,6 +13,12 @@
|
||||
|
@ -253,9 +259,10 @@ diff --git a/components/browser_ui/site_settings/android/java/res/xml/website_pr
|
|||
<!-- A checkbox for enabling a quiet ui for notification prompts. Only shown in the Notifications category. -->
|
||||
<org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/ContentSettingsResources.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/ContentSettingsResources.java
|
||||
index 277bf6683620..8db7557cc109 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/ContentSettingsResources.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/ContentSettingsResources.java
|
||||
@@ -262,6 +262,12 @@ public class ContentSettingsResources {
|
||||
@@ -269,6 +269,12 @@ public class ContentSettingsResources {
|
||||
R.string.vr_permission_title, ContentSettingValues.ASK,
|
||||
ContentSettingValues.BLOCK, R.string.website_settings_category_vr_ask,
|
||||
R.string.website_settings_category_vr_blocked);
|
||||
|
@ -268,7 +275,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
}
|
||||
assert false; // NOTREACHED
|
||||
return null;
|
||||
@@ -414,6 +420,23 @@ public class ContentSettingsResources {
|
||||
@@ -421,6 +427,23 @@ public class ContentSettingsResources {
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -292,7 +299,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
/**
|
||||
* Returns the string resource id for a content type to show with a permission category.
|
||||
* @param enabled Whether the content type is enabled.
|
||||
@@ -428,7 +451,10 @@ public class ContentSettingsResources {
|
||||
@@ -435,7 +458,10 @@ public class ContentSettingsResources {
|
||||
* with a particular website.
|
||||
* @param value The ContentSetting for which we want the resource.
|
||||
*/
|
||||
|
@ -304,7 +311,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
switch (value) {
|
||||
case ContentSettingValues.ALLOW:
|
||||
return R.string.website_settings_permissions_allow;
|
||||
@@ -534,6 +560,13 @@ public class ContentSettingsResources {
|
||||
@@ -541,6 +567,13 @@ public class ContentSettingsResources {
|
||||
return descriptionIDs;
|
||||
}
|
||||
}
|
||||
|
@ -319,6 +326,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
assert false;
|
||||
return null;
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
|
||||
index 14e5fdc0a792..3a70df3c0fb0 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
|
||||
@@ -62,6 +62,10 @@ import org.chromium.ui.widget.Toast;
|
||||
|
@ -518,6 +526,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
return new AlertDialog.Builder(getContext(), R.style.Theme_Chromium_AlertDialog)
|
||||
.setPositiveButton(R.string.cancel, null)
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleWebsiteSettings.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleWebsiteSettings.java
|
||||
index be32aaeff4fa..5a0bb442e960 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleWebsiteSettings.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleWebsiteSettings.java
|
||||
@@ -132,6 +132,8 @@ public class SingleWebsiteSettings extends SiteSettingsPreferenceFragment
|
||||
|
@ -554,6 +563,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
|
||||
if (mWebsiteSettingsObserver != null) {
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettings.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettings.java
|
||||
index 5c0f1e108c2a..d3a3415aacc4 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettings.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettings.java
|
||||
@@ -117,7 +117,7 @@ public class SiteSettings
|
||||
|
@ -566,32 +576,32 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
p.setSummary(ContentSettingsResources.getCategorySummary(contentType, checked));
|
||||
}
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
|
||||
index 1ea3178640ca..fc093a3da7a4 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
|
||||
@@ -42,7 +42,8 @@ public class SiteSettingsCategory {
|
||||
Type.CLIPBOARD, Type.COOKIES, Type.IDLE_DETECTION, Type.DEVICE_LOCATION,
|
||||
@@ -43,7 +43,7 @@ public class SiteSettingsCategory {
|
||||
Type.JAVASCRIPT, Type.MICROPHONE, Type.NFC, Type.NOTIFICATIONS, Type.POPUPS,
|
||||
Type.PROTECTED_MEDIA, Type.SENSORS, Type.SOUND, Type.USB, Type.VIRTUAL_REALITY,
|
||||
- Type.USE_STORAGE, Type.AUTO_DARK_WEB_CONTENT, Type.REQUEST_DESKTOP_SITE})
|
||||
+ Type.USE_STORAGE, Type.AUTO_DARK_WEB_CONTENT, Type.REQUEST_DESKTOP_SITE,
|
||||
+ Type.TIMEZONE_OVERRIDE})
|
||||
Type.USE_STORAGE, Type.AUTO_DARK_WEB_CONTENT, Type.REQUEST_DESKTOP_SITE,
|
||||
- Type.FEDERATED_IDENTITY_API})
|
||||
+ Type.FEDERATED_IDENTITY_API, Type.TIMEZONE_OVERRIDE})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface Type {
|
||||
// All updates here must also be reflected in {@link #preferenceKey(int)
|
||||
@@ -72,10 +73,11 @@ public class SiteSettingsCategory {
|
||||
int USE_STORAGE = 22;
|
||||
@@ -74,10 +74,11 @@ public class SiteSettingsCategory {
|
||||
int AUTO_DARK_WEB_CONTENT = 23;
|
||||
int REQUEST_DESKTOP_SITE = 24;
|
||||
+ int TIMEZONE_OVERRIDE = 25;
|
||||
int FEDERATED_IDENTITY_API = 25;
|
||||
+ int TIMEZONE_OVERRIDE = 26;
|
||||
/**
|
||||
* Number of handled categories used for calculating array sizes.
|
||||
*/
|
||||
- int NUM_ENTRIES = 25;
|
||||
+ int NUM_ENTRIES = 26;
|
||||
- int NUM_ENTRIES = 26;
|
||||
+ int NUM_ENTRIES = 27;
|
||||
}
|
||||
|
||||
private final BrowserContextHandle mBrowserContextHandle;
|
||||
@@ -198,6 +200,8 @@ public class SiteSettingsCategory {
|
||||
@@ -202,6 +203,8 @@ public class SiteSettingsCategory {
|
||||
return ContentSettingsType.USB_GUARD;
|
||||
case Type.VIRTUAL_REALITY:
|
||||
return ContentSettingsType.VR;
|
||||
|
@ -600,7 +610,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
// case Type.ALL_SITES
|
||||
// case Type.USE_STORAGE
|
||||
default:
|
||||
@@ -276,6 +280,8 @@ public class SiteSettingsCategory {
|
||||
@@ -282,6 +285,8 @@ public class SiteSettingsCategory {
|
||||
return "use_storage";
|
||||
case Type.VIRTUAL_REALITY:
|
||||
return "virtual_reality";
|
||||
|
@ -610,6 +620,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
assert false;
|
||||
return "";
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsDelegate.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsDelegate.java
|
||||
index 5469897e04f5..7cac36037ca6 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsDelegate.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsDelegate.java
|
||||
@@ -124,4 +124,6 @@ public interface SiteSettingsDelegate {
|
||||
|
@ -621,6 +632,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
}
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/TimezoneOverrideSiteSettingsPreference.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/TimezoneOverrideSiteSettingsPreference.java
|
||||
new file mode 100755
|
||||
index 000000000000..d27d700f2f1b
|
||||
--- /dev/null
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/TimezoneOverrideSiteSettingsPreference.java
|
||||
@@ -0,0 +1,193 @@
|
||||
|
@ -818,6 +830,7 @@ new file mode 100755
|
|||
+ }
|
||||
+}
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/Website.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/Website.java
|
||||
index fa69c4b50b53..b9931fc4cfdf 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/Website.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/Website.java
|
||||
@@ -229,6 +229,16 @@ public final class Website implements Serializable {
|
||||
|
@ -838,17 +851,18 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
// We want to call setContentSetting even after explicitly setting
|
||||
// mContentSettingException above because this will trigger the actual change
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePermissionsFetcher.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePermissionsFetcher.java
|
||||
index edfd2c5e3652..7999edc0aa11 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePermissionsFetcher.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePermissionsFetcher.java
|
||||
@@ -67,6 +67,7 @@ public class WebsitePermissionsFetcher {
|
||||
case ContentSettingsType.JAVASCRIPT_JIT:
|
||||
@@ -68,6 +68,7 @@ public class WebsitePermissionsFetcher {
|
||||
case ContentSettingsType.POPUPS:
|
||||
case ContentSettingsType.REQUEST_DESKTOP_SITE:
|
||||
case ContentSettingsType.SOUND:
|
||||
+ case ContentSettingsType.TIMEZONE_OVERRIDE:
|
||||
return WebsitePermissionsType.CONTENT_SETTING_EXCEPTION;
|
||||
case ContentSettingsType.AR:
|
||||
case ContentSettingsType.CLIPBOARD_READ_WRITE:
|
||||
@@ -147,6 +148,8 @@ public class WebsitePermissionsFetcher {
|
||||
@@ -148,6 +149,8 @@ public class WebsitePermissionsFetcher {
|
||||
for (@ContentSettingsType int type = 0; type < ContentSettingsType.NUM_TYPES; type++) {
|
||||
addFetcherForContentSettingsType(queue, type);
|
||||
}
|
||||
|
@ -858,6 +872,7 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
queue.next();
|
||||
}
|
||||
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePreferenceBridge.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePreferenceBridge.java
|
||||
index f51ec6626e4d..2b6245364e8c 100644
|
||||
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePreferenceBridge.java
|
||||
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/WebsitePreferenceBridge.java
|
||||
@@ -221,6 +221,8 @@ public class WebsitePreferenceBridge {
|
||||
|
@ -893,9 +908,10 @@ diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/c
|
|||
}
|
||||
}
|
||||
diff --git a/components/browser_ui/site_settings/android/website_preference_bridge.cc b/components/browser_ui/site_settings/android/website_preference_bridge.cc
|
||||
index def2775f382c..198c73de1686 100644
|
||||
--- a/components/browser_ui/site_settings/android/website_preference_bridge.cc
|
||||
+++ b/components/browser_ui/site_settings/android/website_preference_bridge.cc
|
||||
@@ -899,3 +899,19 @@ static jboolean JNI_WebsitePreferenceBridge_GetLocationAllowedByPolicy(
|
||||
@@ -900,3 +900,19 @@ static jboolean JNI_WebsitePreferenceBridge_GetLocationAllowedByPolicy(
|
||||
->GetDefaultContentSetting(ContentSettingsType::GEOLOCATION,
|
||||
nullptr) == CONTENT_SETTING_ALLOW;
|
||||
}
|
||||
|
@ -916,9 +932,10 @@ diff --git a/components/browser_ui/site_settings/android/website_preference_brid
|
|||
+ return ConvertUTF8ToJavaString(env, timezone);
|
||||
+}
|
||||
diff --git a/components/browser_ui/strings/android/site_settings.grdp b/components/browser_ui/strings/android/site_settings.grdp
|
||||
index caf954d272b8..43ba542ee263 100644
|
||||
--- a/components/browser_ui/strings/android/site_settings.grdp
|
||||
+++ b/components/browser_ui/strings/android/site_settings.grdp
|
||||
@@ -72,6 +72,9 @@
|
||||
@@ -75,6 +75,9 @@
|
||||
<message name="IDS_AUTO_DARK_WEB_CONTENT_TITLE" desc="Title of the permission auto darken web content [CHAR_LIMIT=32]">
|
||||
Dark theme for sites
|
||||
</message>
|
||||
|
@ -928,7 +945,7 @@ diff --git a/components/browser_ui/strings/android/site_settings.grdp b/componen
|
|||
<message name="IDS_DESKTOP_SITE_TITLE" desc="Title of the permission to request the desktop view of a site by default [CHAR_LIMIT=32]">
|
||||
Desktop site
|
||||
</message>
|
||||
@@ -486,6 +489,38 @@
|
||||
@@ -497,6 +500,38 @@
|
||||
Block sites from playing protected content
|
||||
</message>
|
||||
|
||||
|
@ -968,6 +985,7 @@ diff --git a/components/browser_ui/strings/android/site_settings.grdp b/componen
|
|||
|
||||
<message name="IDS_WEBSITE_SETTINGS_CATEGORY_SOUND_ALLOWED" desc="Summary text explaining that sites are allowed to play sound and that it is the recommended setting.">
|
||||
diff --git a/components/content_settings/core/browser/content_settings_pref_provider.cc b/components/content_settings/core/browser/content_settings_pref_provider.cc
|
||||
index e9fe209377d8..5350fcfb9096 100644
|
||||
--- a/components/content_settings/core/browser/content_settings_pref_provider.cc
|
||||
+++ b/components/content_settings/core/browser/content_settings_pref_provider.cc
|
||||
@@ -84,6 +84,8 @@ void PrefProvider::RegisterProfilePrefs(
|
||||
|
@ -979,7 +997,7 @@ diff --git a/components/content_settings/core/browser/content_settings_pref_prov
|
|||
// Obsolete prefs ----------------------------------------------------------
|
||||
|
||||
// These prefs have been removed, but need to be registered so they can
|
||||
@@ -165,6 +167,10 @@ PrefProvider::PrefProvider(PrefService* prefs,
|
||||
@@ -169,6 +171,10 @@ PrefProvider::PrefProvider(PrefService* prefs,
|
||||
event_args->set_number_of_exceptions(
|
||||
num_exceptions); // PrefProvider::PrefProvider.
|
||||
});
|
||||
|
@ -990,7 +1008,7 @@ diff --git a/components/content_settings/core/browser/content_settings_pref_prov
|
|||
}
|
||||
|
||||
PrefProvider::~PrefProvider() {
|
||||
@@ -295,4 +301,14 @@ void PrefProvider::SetClockForTesting(base::Clock* clock) {
|
||||
@@ -299,4 +305,14 @@ void PrefProvider::SetClockForTesting(base::Clock* clock) {
|
||||
clock_ = clock;
|
||||
}
|
||||
|
||||
|
@ -1006,9 +1024,10 @@ diff --git a/components/content_settings/core/browser/content_settings_pref_prov
|
|||
+
|
||||
} // namespace content_settings
|
||||
diff --git a/components/content_settings/core/browser/content_settings_pref_provider.h b/components/content_settings/core/browser/content_settings_pref_provider.h
|
||||
index f0949df7975e..0b0945c9ba17 100644
|
||||
--- a/components/content_settings/core/browser/content_settings_pref_provider.h
|
||||
+++ b/components/content_settings/core/browser/content_settings_pref_provider.h
|
||||
@@ -66,6 +66,9 @@ class PrefProvider : public UserModifiableProvider {
|
||||
@@ -67,6 +67,9 @@ class PrefProvider : public UserModifiableProvider {
|
||||
|
||||
ContentSettingsPref* GetPref(ContentSettingsType type) const;
|
||||
|
||||
|
@ -1018,7 +1037,7 @@ diff --git a/components/content_settings/core/browser/content_settings_pref_prov
|
|||
private:
|
||||
friend class DeadlockCheckerObserver; // For testing.
|
||||
|
||||
@@ -97,6 +100,7 @@ class PrefProvider : public UserModifiableProvider {
|
||||
@@ -99,6 +102,7 @@ class PrefProvider : public UserModifiableProvider {
|
||||
base::ThreadChecker thread_checker_;
|
||||
|
||||
raw_ptr<base::Clock> clock_;
|
||||
|
@ -1027,13 +1046,13 @@ diff --git a/components/content_settings/core/browser/content_settings_pref_prov
|
|||
|
||||
} // namespace content_settings
|
||||
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
|
||||
index d5ececff8ece..b581bd975e02 100644
|
||||
--- a/components/content_settings/core/browser/content_settings_registry.cc
|
||||
+++ b/components/content_settings/core/browser/content_settings_registry.cc
|
||||
@@ -644,6 +644,18 @@ void ContentSettingsRegistry::Init() {
|
||||
ContentSettingsInfo::INHERIT_IN_INCOGNITO,
|
||||
@@ -645,6 +645,18 @@ void ContentSettingsRegistry::Init() {
|
||||
ContentSettingsInfo::PERSISTENT,
|
||||
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_AND_INSECURE_ORIGINS);
|
||||
+
|
||||
|
||||
+ Register(ContentSettingsType::TIMEZONE_OVERRIDE, "timezone-override", CONTENT_SETTING_ALLOW,
|
||||
+ WebsiteSettingsInfo::SYNCABLE,
|
||||
+ AllowlistedSchemes(kChromeUIScheme, kChromeDevToolsScheme),
|
||||
|
@ -1045,13 +1064,15 @@ diff --git a/components/content_settings/core/browser/content_settings_registry.
|
|||
+ ContentSettingsInfo::INHERIT_IN_INCOGNITO,
|
||||
+ ContentSettingsInfo::PERSISTENT,
|
||||
+ ContentSettingsInfo::EXCEPTIONS_ON_SECURE_AND_INSECURE_ORIGINS);
|
||||
}
|
||||
|
||||
void ContentSettingsRegistry::Register(
|
||||
+
|
||||
Register(ContentSettingsType::FEDERATED_IDENTITY_API, "webid-api",
|
||||
CONTENT_SETTING_ALLOW, WebsiteSettingsInfo::UNSYNCABLE,
|
||||
AllowlistedSchemes(),
|
||||
diff --git a/components/content_settings/core/browser/content_settings_utils.cc b/components/content_settings/core/browser/content_settings_utils.cc
|
||||
index 011f3b4fea36..0061636f9de8 100644
|
||||
--- a/components/content_settings/core/browser/content_settings_utils.cc
|
||||
+++ b/components/content_settings/core/browser/content_settings_utils.cc
|
||||
@@ -151,6 +151,13 @@ void GetRendererContentSettingRules(const HostContentSettingsMap* map,
|
||||
@@ -150,6 +150,13 @@ void GetRendererContentSettingRules(const HostContentSettingsMap* map,
|
||||
&(rules->script_rules));
|
||||
map->GetSettingsForOneType(ContentSettingsType::POPUPS,
|
||||
&(rules->popup_redirect_rules));
|
||||
|
@ -1066,9 +1087,10 @@ diff --git a/components/content_settings/core/browser/content_settings_utils.cc
|
|||
|
||||
bool IsMorePermissive(ContentSetting a, ContentSetting b) {
|
||||
diff --git a/components/content_settings/core/browser/host_content_settings_map.cc b/components/content_settings/core/browser/host_content_settings_map.cc
|
||||
index 42ce02d5bf00..e8595b95748e 100644
|
||||
--- a/components/content_settings/core/browser/host_content_settings_map.cc
|
||||
+++ b/components/content_settings/core/browser/host_content_settings_map.cc
|
||||
@@ -597,6 +597,14 @@ void HostContentSettingsMap::SetClockForTesting(base::Clock* clock) {
|
||||
@@ -599,6 +599,14 @@ void HostContentSettingsMap::SetClockForTesting(base::Clock* clock) {
|
||||
provider->SetClockForTesting(clock);
|
||||
}
|
||||
|
||||
|
@ -1084,9 +1106,10 @@ diff --git a/components/content_settings/core/browser/host_content_settings_map.
|
|||
auto* content_setting_registry =
|
||||
content_settings::ContentSettingsRegistry::GetInstance();
|
||||
diff --git a/components/content_settings/core/browser/host_content_settings_map.h b/components/content_settings/core/browser/host_content_settings_map.h
|
||||
index f4cb54d4fb4c..4d40d1f5ac2a 100644
|
||||
--- a/components/content_settings/core/browser/host_content_settings_map.h
|
||||
+++ b/components/content_settings/core/browser/host_content_settings_map.h
|
||||
@@ -333,6 +333,9 @@ class HostContentSettingsMap : public content_settings::Observer,
|
||||
@@ -335,6 +335,9 @@ class HostContentSettingsMap : public content_settings::Observer,
|
||||
allow_invalid_secondary_pattern_for_testing_ = allow;
|
||||
}
|
||||
|
||||
|
@ -1097,6 +1120,7 @@ diff --git a/components/content_settings/core/browser/host_content_settings_map.
|
|||
friend class base::RefCountedThreadSafe<HostContentSettingsMap>;
|
||||
friend class content_settings::TestUtils;
|
||||
diff --git a/components/content_settings/core/common/content_settings.cc b/components/content_settings/core/common/content_settings.cc
|
||||
index e08368cd6a4d..81de85d4fc4e 100644
|
||||
--- a/components/content_settings/core/common/content_settings.cc
|
||||
+++ b/components/content_settings/core/common/content_settings.cc
|
||||
@@ -190,7 +190,8 @@ bool RendererContentSettingRules::IsRendererContentSetting(
|
||||
|
@ -1110,6 +1134,7 @@ diff --git a/components/content_settings/core/common/content_settings.cc b/compo
|
|||
|
||||
RendererContentSettingRules::RendererContentSettingRules() {}
|
||||
diff --git a/components/content_settings/core/common/content_settings.h b/components/content_settings/core/common/content_settings.h
|
||||
index 135e07ab6c5d..905833daa3ba 100644
|
||||
--- a/components/content_settings/core/common/content_settings.h
|
||||
+++ b/components/content_settings/core/common/content_settings.h
|
||||
@@ -80,6 +80,8 @@ struct RendererContentSettingRules {
|
||||
|
@ -1122,6 +1147,7 @@ diff --git a/components/content_settings/core/common/content_settings.h b/compon
|
|||
|
||||
namespace content_settings {
|
||||
diff --git a/components/content_settings/core/common/content_settings.mojom b/components/content_settings/core/common/content_settings.mojom
|
||||
index f2f3eba2167a..659646570aae 100644
|
||||
--- a/components/content_settings/core/common/content_settings.mojom
|
||||
+++ b/components/content_settings/core/common/content_settings.mojom
|
||||
@@ -78,4 +78,6 @@ struct RendererContentSettingRules {
|
||||
|
@ -1132,6 +1158,7 @@ diff --git a/components/content_settings/core/common/content_settings.mojom b/co
|
|||
+ string timezone_override_value;
|
||||
};
|
||||
diff --git a/components/content_settings/core/common/content_settings_mojom_traits.cc b/components/content_settings/core/common/content_settings_mojom_traits.cc
|
||||
index 4ae7a3b123dc..e0268395cc20 100644
|
||||
--- a/components/content_settings/core/common/content_settings_mojom_traits.cc
|
||||
+++ b/components/content_settings/core/common/content_settings_mojom_traits.cc
|
||||
@@ -101,7 +101,9 @@ bool StructTraits<content_settings::mojom::RendererContentSettingRulesDataView,
|
||||
|
@ -1146,6 +1173,7 @@ diff --git a/components/content_settings/core/common/content_settings_mojom_trai
|
|||
|
||||
} // namespace mojo
|
||||
diff --git a/components/content_settings/core/common/content_settings_mojom_traits.h b/components/content_settings/core/common/content_settings_mojom_traits.h
|
||||
index 7127ca7d852b..34993a32e4f2 100644
|
||||
--- a/components/content_settings/core/common/content_settings_mojom_traits.h
|
||||
+++ b/components/content_settings/core/common/content_settings_mojom_traits.h
|
||||
@@ -150,6 +150,16 @@ struct StructTraits<
|
||||
|
@ -1166,6 +1194,7 @@ diff --git a/components/content_settings/core/common/content_settings_mojom_trai
|
|||
content_settings::mojom::RendererContentSettingRulesDataView data,
|
||||
RendererContentSettingRules* out);
|
||||
diff --git a/components/content_settings/core/common/content_settings_types.h b/components/content_settings/core/common/content_settings_types.h
|
||||
index c110a0332eda..6a9f633e80d7 100644
|
||||
--- a/components/content_settings/core/common/content_settings_types.h
|
||||
+++ b/components/content_settings/core/common/content_settings_types.h
|
||||
@@ -226,6 +226,9 @@ enum class ContentSettingsType : int32_t {
|
||||
|
@ -1179,6 +1208,7 @@ diff --git a/components/content_settings/core/common/content_settings_types.h b/
|
|||
// is specified.
|
||||
// TODO(crbug.com/1150788): Also apply this when getDisplayMedia() is called
|
||||
diff --git a/components/content_settings/core/common/pref_names.cc b/components/content_settings/core/common/pref_names.cc
|
||||
index a4360ea9f378..760ab8013eca 100644
|
||||
--- a/components/content_settings/core/common/pref_names.cc
|
||||
+++ b/components/content_settings/core/common/pref_names.cc
|
||||
@@ -157,4 +157,7 @@ const char kQuietNotificationPermissionUiDisabledTime[] =
|
||||
|
@ -1190,6 +1220,7 @@ diff --git a/components/content_settings/core/common/pref_names.cc b/components/
|
|||
+
|
||||
} // namespace prefs
|
||||
diff --git a/components/content_settings/core/common/pref_names.h b/components/content_settings/core/common/pref_names.h
|
||||
index a34f557b789d..02ee584d6338 100644
|
||||
--- a/components/content_settings/core/common/pref_names.h
|
||||
+++ b/components/content_settings/core/common/pref_names.h
|
||||
@@ -83,6 +83,8 @@ extern const char kQuietNotificationPermissionUiDisabledTime[];
|
||||
|
@ -1202,6 +1233,7 @@ diff --git a/components/content_settings/core/common/pref_names.h b/components/c
|
|||
|
||||
#endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_PREF_NAMES_H_
|
||||
diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc b/components/content_settings/renderer/content_settings_agent_impl.cc
|
||||
index 4ba853105dcd..3ff3e81611ba 100644
|
||||
--- a/components/content_settings/renderer/content_settings_agent_impl.cc
|
||||
+++ b/components/content_settings/renderer/content_settings_agent_impl.cc
|
||||
@@ -8,8 +8,10 @@
|
||||
|
@ -1215,7 +1247,7 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc
|
|||
#include "components/content_settings/core/common/content_settings.h"
|
||||
#include "components/content_settings/core/common/content_settings.mojom.h"
|
||||
#include "components/content_settings/core/common/content_settings_pattern.h"
|
||||
@@ -30,6 +32,10 @@
|
||||
@@ -29,6 +31,10 @@
|
||||
#include "third_party/blink/public/web/web_local_frame.h"
|
||||
#include "third_party/blink/public/web/web_local_frame_client.h"
|
||||
#include "third_party/blink/public/web/web_view.h"
|
||||
|
@ -1226,16 +1258,16 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc
|
|||
#include "url/gurl.h"
|
||||
#include "url/origin.h"
|
||||
#include "url/url_constants.h"
|
||||
@@ -43,6 +49,8 @@ using blink::WebURL;
|
||||
@@ -41,6 +47,8 @@ using blink::WebString;
|
||||
using blink::WebURL;
|
||||
using blink::WebView;
|
||||
using content::DocumentState;
|
||||
|
||||
+std::unique_ptr<blink::TimeZoneController::TimeZoneOverride> timezone_override_;
|
||||
+
|
||||
namespace content_settings {
|
||||
namespace {
|
||||
|
||||
@@ -359,6 +367,10 @@ bool ContentSettingsAgentImpl::AllowScript(bool enabled_per_settings) {
|
||||
@@ -357,6 +365,10 @@ bool ContentSettingsAgentImpl::AllowScript(bool enabled_per_settings) {
|
||||
allow = allow || IsAllowlistedForContentSettings();
|
||||
|
||||
cached_script_permissions_[frame] = allow;
|
||||
|
@ -1246,7 +1278,7 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc
|
|||
return allow;
|
||||
}
|
||||
|
||||
@@ -489,4 +501,81 @@ bool ContentSettingsAgentImpl::IsAllowlistedForContentSettings() const {
|
||||
@@ -487,4 +499,81 @@ bool ContentSettingsAgentImpl::IsAllowlistedForContentSettings() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1329,6 +1361,7 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc
|
|||
+
|
||||
} // namespace content_settings
|
||||
diff --git a/components/content_settings/renderer/content_settings_agent_impl.h b/components/content_settings/renderer/content_settings_agent_impl.h
|
||||
index cb89dbd42d80..f3c3fb867ef1 100644
|
||||
--- a/components/content_settings/renderer/content_settings_agent_impl.h
|
||||
+++ b/components/content_settings/renderer/content_settings_agent_impl.h
|
||||
@@ -183,6 +183,10 @@ class ContentSettingsAgentImpl
|
||||
|
@ -1343,6 +1376,7 @@ diff --git a/components/content_settings/renderer/content_settings_agent_impl.h
|
|||
|
||||
} // namespace content_settings
|
||||
diff --git a/weblayer/browser/java/org/chromium/weblayer_private/settings/WebLayerSiteSettingsDelegate.java b/weblayer/browser/java/org/chromium/weblayer_private/settings/WebLayerSiteSettingsDelegate.java
|
||||
index b24a6fe6ba71..94050fddc47b 100644
|
||||
--- a/weblayer/browser/java/org/chromium/weblayer_private/settings/WebLayerSiteSettingsDelegate.java
|
||||
+++ b/weblayer/browser/java/org/chromium/weblayer_private/settings/WebLayerSiteSettingsDelegate.java
|
||||
@@ -137,4 +137,7 @@ public class WebLayerSiteSettingsDelegate
|
||||
|
@ -1353,5 +1387,6 @@ diff --git a/weblayer/browser/java/org/chromium/weblayer_private/settings/WebLay
|
|||
+ @Override
|
||||
+ public void launchTimeZoneOverrideHelpAndFeedbackActivity(Activity currentActivity) {}
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ Subject: Use 4 tile rows, never show logo
|
|||
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
|
||||
@@ -135,7 +135,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
@@ -145,7 +145,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
*/
|
||||
private boolean mHasShownView;
|
||||
|
||||
|
@ -21,7 +21,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
|||
private boolean mSearchProviderIsGoogle;
|
||||
private boolean mShowingNonStandardLogo;
|
||||
|
||||
@@ -229,7 +229,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
@@ -371,7 +371,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
mTileGroup = new TileGroup(tileRenderer, mManager, contextMenuManager, tileGroupDelegate,
|
||||
/* observer = */ this, offlinePageBridge);
|
||||
|
||||
|
@ -30,7 +30,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
|||
if (searchProviderIsGoogle && QueryTileUtils.isQueryTilesEnabledOnNTP()) {
|
||||
maxRows = QueryTileSection.getMaxRowsForMostVisitedTiles(getContext());
|
||||
}
|
||||
@@ -550,7 +550,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
@@ -608,7 +608,7 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
|
||||
&& mInitialized) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ sandboxing.
|
|||
diff --git a/android_webview/nonembedded/java/AndroidManifest.xml b/android_webview/nonembedded/java/AndroidManifest.xml
|
||||
--- a/android_webview/nonembedded/java/AndroidManifest.xml
|
||||
+++ b/android_webview/nonembedded/java/AndroidManifest.xml
|
||||
@@ -28,7 +28,6 @@
|
||||
@@ -31,7 +31,6 @@
|
||||
android:icon="@{{manifest_package|default('com.android.webview')}}:drawable/icon_webview"
|
||||
android:name="{{ application_name|default('org.chromium.android_webview.nonembedded.WebViewApkApplication') }}"
|
||||
android:multiArch="true"
|
||||
|
|
|
@ -8,29 +8,18 @@ Disable autofill assistant and CC (csagan5)
|
|||
Disable autofill server communication by default (Daniel Micay <danielmicay@gmail.com>)
|
||||
Do not skip google.com domains for password generation (csagan5)
|
||||
---
|
||||
.../AutofillAssistantPreferencesUtil.java | 2 +-
|
||||
.../core/browser/autofill_download_manager.cc | 35 +++----------------
|
||||
.../core/browser/autofill_download_manager.h | 2 --
|
||||
.../autofill/core/browser/autofill_manager.cc | 20 -----------
|
||||
.../core/browser/browser_autofill_manager.h | 4 +--
|
||||
.../autofill/core/common/autofill_features.cc | 2 +-
|
||||
.../autofill/core/common/autofill_prefs.cc | 4 +--
|
||||
.../AutofillAssistantPreferencesUtil.java | 2 +-
|
||||
.../password_generation_frame_helper.cc | 4 ---
|
||||
8 files changed, 11 insertions(+), 62 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java b/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
--- a/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
+++ b/chrome/android/features/autofill_assistant/public/java/src/org/chromium/chrome/browser/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
@@ -32,7 +32,7 @@ public class AutofillAssistantPreferencesUtil {
|
||||
|
||||
/** Checks whether the Autofill Assistant switch preference in settings is on. */
|
||||
static boolean isAutofillAssistantSwitchOn() {
|
||||
- return getAssistantEnabledPreference(true);
|
||||
+ return getAssistantEnabledPreference(false);
|
||||
}
|
||||
|
||||
/** Checks whether proactive help is enabled. */
|
||||
diff --git a/components/autofill/core/browser/autofill_download_manager.cc b/components/autofill/core/browser/autofill_download_manager.cc
|
||||
index ee7d430c3032..57ad17faeeaf 100644
|
||||
--- a/components/autofill/core/browser/autofill_download_manager.cc
|
||||
+++ b/components/autofill/core/browser/autofill_download_manager.cc
|
||||
@@ -512,35 +512,6 @@ bool GetUploadPayloadForApi(const AutofillUploadContents& upload,
|
||||
|
@ -90,6 +79,7 @@ diff --git a/components/autofill/core/browser/autofill_download_manager.cc b/com
|
|||
}
|
||||
|
||||
diff --git a/components/autofill/core/browser/autofill_download_manager.h b/components/autofill/core/browser/autofill_download_manager.h
|
||||
index 736e060d6fbf..b07d0a071ae6 100644
|
||||
--- a/components/autofill/core/browser/autofill_download_manager.h
|
||||
+++ b/components/autofill/core/browser/autofill_download_manager.h
|
||||
@@ -36,8 +36,6 @@ namespace autofill {
|
||||
|
@ -102,9 +92,10 @@ diff --git a/components/autofill/core/browser/autofill_download_manager.h b/comp
|
|||
// experiments do not interfere with one another.
|
||||
struct ScopedActiveAutofillExperiments {
|
||||
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
|
||||
index 01d5ecd930ec..b8af1176b8da 100644
|
||||
--- a/components/autofill/core/browser/autofill_manager.cc
|
||||
+++ b/components/autofill/core/browser/autofill_manager.cc
|
||||
@@ -54,19 +54,6 @@ bool CachedFormNeedsUpdate(const FormData& live_form,
|
||||
@@ -57,19 +57,6 @@ bool CachedFormNeedsUpdate(const FormData& live_form,
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -124,7 +115,7 @@ diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/a
|
|||
} // namespace
|
||||
|
||||
using base::TimeTicks;
|
||||
@@ -120,13 +107,6 @@ AutofillManager::AutofillManager(
|
||||
@@ -123,13 +110,6 @@ AutofillManager::AutofillManager(
|
||||
client_(client),
|
||||
log_manager_(client ? client->GetLogManager() : nullptr),
|
||||
form_interactions_ukm_logger_(CreateFormInteractionsUkmLogger()) {
|
||||
|
@ -139,9 +130,10 @@ diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/a
|
|||
translate::TranslateDriver* translate_driver = client->GetTranslateDriver();
|
||||
if (translate_driver) {
|
||||
diff --git a/components/autofill/core/browser/browser_autofill_manager.h b/components/autofill/core/browser/browser_autofill_manager.h
|
||||
index e8420a664449..d83e4ad787e0 100644
|
||||
--- a/components/autofill/core/browser/browser_autofill_manager.h
|
||||
+++ b/components/autofill/core/browser/browser_autofill_manager.h
|
||||
@@ -701,9 +701,9 @@ class BrowserAutofillManager : public AutofillManager,
|
||||
@@ -705,9 +705,9 @@ class BrowserAutofillManager : public AutofillManager,
|
||||
std::unique_ptr<CreditCardFormEventLogger> credit_card_form_event_logger_;
|
||||
|
||||
// Have we logged whether Autofill is enabled for this page load?
|
||||
|
@ -154,9 +146,10 @@ diff --git a/components/autofill/core/browser/browser_autofill_manager.h b/compo
|
|||
bool did_show_suggestions_ = false;
|
||||
// Has the user manually edited at least one form field among the autofillable
|
||||
diff --git a/components/autofill/core/common/autofill_features.cc b/components/autofill/core/common/autofill_features.cc
|
||||
index 0dc4aecc6f13..571d25d8b51d 100644
|
||||
--- a/components/autofill/core/common/autofill_features.cc
|
||||
+++ b/components/autofill/core/common/autofill_features.cc
|
||||
@@ -384,7 +384,7 @@ const base::Feature kAutofillSectionUponRedundantNameInfo{
|
||||
@@ -402,7 +402,7 @@ const base::Feature kAutofillSectionUponRedundantNameInfo{
|
||||
// "upload" resources.
|
||||
// i.e., https://other.autofill.server:port/tbproxy/af/
|
||||
const base::Feature kAutofillServerCommunication{
|
||||
|
@ -166,6 +159,7 @@ diff --git a/components/autofill/core/common/autofill_features.cc b/components/a
|
|||
// Controls whether Autofill may fill across origins as part of the
|
||||
// AutofillAcrossIframes experiment.
|
||||
diff --git a/components/autofill/core/common/autofill_prefs.cc b/components/autofill/core/common/autofill_prefs.cc
|
||||
index 2fa47fb0e2b4..1e12c6386eb1 100644
|
||||
--- a/components/autofill/core/common/autofill_prefs.cc
|
||||
+++ b/components/autofill/core/common/autofill_prefs.cc
|
||||
@@ -134,7 +134,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||||
|
@ -186,7 +180,21 @@ diff --git a/components/autofill/core/common/autofill_prefs.cc b/components/auto
|
|||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterStringPref(
|
||||
prefs::kAutofillProfileValidity, "",
|
||||
diff --git a/components/autofill_assistant/android/public/java/src/org/chromium/components/autofill_assistant/AutofillAssistantPreferencesUtil.java b/components/autofill_assistant/android/public/java/src/org/chromium/components/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
index 834529ab0ae0..eff59a1e0726 100644
|
||||
--- a/components/autofill_assistant/android/public/java/src/org/chromium/components/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
+++ b/components/autofill_assistant/android/public/java/src/org/chromium/components/autofill_assistant/AutofillAssistantPreferencesUtil.java
|
||||
@@ -32,7 +32,7 @@ public class AutofillAssistantPreferencesUtil {
|
||||
|
||||
/** Checks whether the Autofill Assistant switch preference in settings is on. */
|
||||
public static boolean isAutofillAssistantSwitchOn() {
|
||||
- return getAssistantEnabledPreference(true);
|
||||
+ return getAssistantEnabledPreference(false);
|
||||
}
|
||||
|
||||
/** Checks whether proactive help is enabled. */
|
||||
diff --git a/components/password_manager/core/browser/password_generation_frame_helper.cc b/components/password_manager/core/browser/password_generation_frame_helper.cc
|
||||
index 389998779e04..afd1b5c9df7d 100644
|
||||
--- a/components/password_manager/core/browser/password_generation_frame_helper.cc
|
||||
+++ b/components/password_manager/core/browser/password_generation_frame_helper.cc
|
||||
@@ -85,7 +85,6 @@ void PasswordGenerationFrameHelper::ProcessPasswordRequirements(
|
||||
|
@ -207,5 +215,6 @@ diff --git a/components/password_manager/core/browser/password_generation_frame_
|
|||
if (!client_->IsSavingAndFillingEnabled(url)) {
|
||||
if (logger)
|
||||
logger->LogMessage(Logger::STRING_GENERATION_DISABLED_SAVING_DISABLED);
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -5,10 +5,11 @@ Subject: build: remove calling untrusted hooks
|
|||
Avoid downloading untrusted executables and wasting time with a
|
||||
sysroot.
|
||||
---
|
||||
DEPS | 110 ++---------------------------------------------------------
|
||||
1 file changed, 3 insertions(+), 107 deletions(-)
|
||||
DEPS | 124 ++---------------------------------------------------------
|
||||
1 file changed, 3 insertions(+), 121 deletions(-)
|
||||
|
||||
diff --git a/DEPS b/DEPS
|
||||
index 1eef962d1eaf..5b2896048796 100644
|
||||
--- a/DEPS
|
||||
+++ b/DEPS
|
||||
@@ -112,7 +112,7 @@ vars = {
|
||||
|
@ -31,7 +32,7 @@ diff --git a/DEPS b/DEPS
|
|||
|
||||
# By default bot checkouts the WPR archive files only when this
|
||||
# flag is set True.
|
||||
@@ -3965,49 +3965,6 @@ hooks = [
|
||||
@@ -3718,49 +3718,6 @@ hooks = [
|
||||
'sync', '--extract',
|
||||
],
|
||||
},
|
||||
|
@ -81,7 +82,7 @@ diff --git a/DEPS b/DEPS
|
|||
{
|
||||
# Case-insensitivity for the Win SDK. Must run before win_toolchain below.
|
||||
'name': 'ciopfs_linux',
|
||||
@@ -4134,43 +4091,6 @@ hooks = [
|
||||
@@ -3890,57 +3847,6 @@ hooks = [
|
||||
'-s', 'src/third_party/skia',
|
||||
'--header', 'src/skia/ext/skia_commit_hash.h'],
|
||||
},
|
||||
|
@ -99,15 +100,29 @@ diff --git a/DEPS b/DEPS
|
|||
- ],
|
||||
- },
|
||||
- {
|
||||
- 'name': 'clang_format_mac',
|
||||
- 'name': 'clang_format_mac_x64',
|
||||
- 'pattern': '.',
|
||||
- 'condition': 'host_os == "mac"',
|
||||
- 'condition': 'host_os == "mac" and host_cpu == "x64"',
|
||||
- 'action': [ 'python3',
|
||||
- 'src/third_party/depot_tools/download_from_google_storage.py',
|
||||
- '--no_resume',
|
||||
- '--no_auth',
|
||||
- '--bucket', 'chromium-clang-format',
|
||||
- '-s', 'src/buildtools/mac/clang-format.sha1',
|
||||
- '-s', 'src/buildtools/mac/clang-format.x64.sha1',
|
||||
- '-o', 'src/buildtools/mac/clang-format',
|
||||
- ],
|
||||
- },
|
||||
- {
|
||||
- 'name': 'clang_format_mac_arm64',
|
||||
- 'pattern': '.',
|
||||
- 'condition': 'host_os == "mac" and host_cpu == "arm64"',
|
||||
- 'action': [ 'python3',
|
||||
- 'src/third_party/depot_tools/download_from_google_storage.py',
|
||||
- '--no_resume',
|
||||
- '--no_auth',
|
||||
- '--bucket', 'chromium-clang-format',
|
||||
- '-s', 'src/buildtools/mac/clang-format.arm64.sha1',
|
||||
- '-o', 'src/buildtools/mac/clang-format',
|
||||
- ],
|
||||
- },
|
||||
- {
|
||||
|
@ -125,7 +140,7 @@ diff --git a/DEPS b/DEPS
|
|||
# Pull rc binaries using checked-in hashes.
|
||||
{
|
||||
'name': 'rc_win',
|
||||
@@ -4196,30 +4116,6 @@ hooks = [
|
||||
@@ -3966,30 +3872,6 @@ hooks = [
|
||||
'-s', 'src/build/toolchain/win/rc/mac/rc.sha1',
|
||||
],
|
||||
},
|
||||
|
@ -156,5 +171,6 @@ diff --git a/DEPS b/DEPS
|
|||
# Download test resources for opus, i.e. audio files.
|
||||
{
|
||||
'name': 'opus_test_files',
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: disable browser autologin by default
|
|||
diff --git a/components/signin/internal/identity_manager/primary_account_manager.cc b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
@@ -53,7 +53,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
@@ -54,7 +54,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
std::string());
|
||||
registry->RegisterStringPref(prefs::kGoogleServicesAccountId, std::string());
|
||||
registry->RegisterBooleanPref(prefs::kGoogleServicesConsentedToSync, false);
|
||||
|
|
|
@ -13,7 +13,7 @@ Increase probe period from 1s to 15s
|
|||
diff --git a/net/dns/host_resolver_manager.cc b/net/dns/host_resolver_manager.cc
|
||||
--- a/net/dns/host_resolver_manager.cc
|
||||
+++ b/net/dns/host_resolver_manager.cc
|
||||
@@ -149,12 +149,12 @@ const unsigned kMinimumTTLSeconds = kCacheEntryTTLSeconds;
|
||||
@@ -150,12 +150,12 @@ const unsigned kMinimumTTLSeconds = kCacheEntryTTLSeconds;
|
||||
|
||||
// Time between IPv6 probes, i.e. for how long results of each IPv6 probe are
|
||||
// cached.
|
||||
|
|
|
@ -11,9 +11,10 @@ Barcode, face and text detection APIs
|
|||
4 files changed, 2 insertions(+), 41 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||
index 4fc661286652..a911fc9a092f 100644
|
||||
--- a/chrome/android/BUILD.gn
|
||||
+++ b/chrome/android/BUILD.gn
|
||||
@@ -333,8 +333,6 @@ android_library("chrome_java") {
|
||||
@@ -334,8 +334,6 @@ android_library("chrome_java") {
|
||||
"$google_play_services_package:google_play_services_gcm_java",
|
||||
"$google_play_services_package:google_play_services_iid_java",
|
||||
"$google_play_services_package:google_play_services_tasks_java",
|
||||
|
@ -21,8 +22,9 @@ diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
|||
- "$google_play_services_package:google_play_services_vision_java",
|
||||
"//base:base_java",
|
||||
"//cc:cc_java",
|
||||
"//chrome/android/features/autofill_assistant:public_java",
|
||||
"//chrome/android/features/keyboard_accessory:public_java",
|
||||
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
|
||||
index b61237bc9ff7..adc633da539d 100644
|
||||
--- a/services/shape_detection/BUILD.gn
|
||||
+++ b/services/shape_detection/BUILD.gn
|
||||
@@ -110,14 +110,8 @@ if (is_android) {
|
||||
|
@ -41,6 +43,7 @@ diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.
|
|||
|
||||
deps = [
|
||||
diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detection/BitmapUtils.java b/services/shape_detection/android/java/src/org/chromium/shape_detection/BitmapUtils.java
|
||||
index 38a2d2622139..72069b53b9ca 100644
|
||||
--- a/services/shape_detection/android/java/src/org/chromium/shape_detection/BitmapUtils.java
|
||||
+++ b/services/shape_detection/android/java/src/org/chromium/shape_detection/BitmapUtils.java
|
||||
@@ -6,8 +6,6 @@ package org.chromium.shape_detection;
|
||||
|
@ -68,6 +71,7 @@ diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detect
|
|||
- }
|
||||
}
|
||||
diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java b/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
|
||||
index daec82a4951c..f5f95ce67fed 100644
|
||||
--- a/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
|
||||
+++ b/services/shape_detection/android/java/src/org/chromium/shape_detection/InterfaceRegistrar.java
|
||||
@@ -8,9 +8,6 @@ import org.chromium.base.annotations.CalledByNative;
|
||||
|
@ -81,7 +85,7 @@ diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detect
|
|||
@JNINamespace("shape_detection")
|
||||
class InterfaceRegistrar {
|
||||
@@ -22,33 +19,17 @@ class InterfaceRegistrar {
|
||||
static void bindBarcodeDetectionProvider(int nativeHandle) {
|
||||
static void bindBarcodeDetectionProvider(long nativeHandle) {
|
||||
// Immediately wrap |nativeHandle| as it cannot be allowed to leak.
|
||||
MessagePipeHandle handle = messagePipeHandleFromNative(nativeHandle);
|
||||
-
|
||||
|
@ -96,13 +100,13 @@ diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detect
|
|||
}
|
||||
|
||||
@CalledByNative
|
||||
static void bindFaceDetectionProvider(int nativeHandle) {
|
||||
static void bindFaceDetectionProvider(long nativeHandle) {
|
||||
- FaceDetectionProvider.MANAGER.bind(
|
||||
- new FaceDetectionProviderImpl(), messagePipeHandleFromNative(nativeHandle));
|
||||
}
|
||||
|
||||
@CalledByNative
|
||||
static void bindTextDetection(int nativeHandle) {
|
||||
static void bindTextDetection(long nativeHandle) {
|
||||
// Immediately wrap |nativeHandle| as it cannot be allowed to leak.
|
||||
MessagePipeHandle handle = messagePipeHandleFromNative(nativeHandle);
|
||||
-
|
||||
|
@ -116,5 +120,6 @@ diff --git a/services/shape_detection/android/java/src/org/chromium/shape_detect
|
|||
+ handle.close();
|
||||
}
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Subject: prefs: disable signinallowed by default
|
|||
diff --git a/components/signin/internal/identity_manager/primary_account_manager.cc b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
|
||||
@@ -55,7 +55,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
@@ -56,7 +56,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
|
||||
registry->RegisterBooleanPref(prefs::kGoogleServicesConsentedToSync, false);
|
||||
registry->RegisterBooleanPref(prefs::kAutologinEnabled, true);
|
||||
registry->RegisterListPref(prefs::kReverseAutologinRejectedEmailList);
|
||||
|
|
|
@ -4,17 +4,18 @@ Subject: ungoogled-chromium: Disable Google host detection
|
|||
|
||||
Disables various detections of Google hosts and functionality specific to them
|
||||
---
|
||||
components/google/core/common/google_util.cc | 207 +-----------------
|
||||
components/google/core/common/google_util.cc | 153 ++----------------
|
||||
.../browser/page_load_metrics_util.cc | 4 +-
|
||||
.../common/page_load_metrics_util.cc | 33 +--
|
||||
.../common/page_load_metrics_util.cc | 33 +---
|
||||
components/search_engines/template_url.cc | 6 +-
|
||||
net/base/url_util.cc | 21 --
|
||||
5 files changed, 8 insertions(+), 263 deletions(-)
|
||||
net/base/url_util.cc | 21 ---
|
||||
5 files changed, 17 insertions(+), 200 deletions(-)
|
||||
|
||||
diff --git a/components/google/core/common/google_util.cc b/components/google/core/common/google_util.cc
|
||||
index 7ce2a5ebbdb6..4aa8c1451876 100644
|
||||
--- a/components/google/core/common/google_util.cc
|
||||
+++ b/components/google/core/common/google_util.cc
|
||||
@@ -28,118 +28,6 @@
|
||||
@@ -27,118 +27,6 @@
|
||||
|
||||
namespace google_util {
|
||||
|
||||
|
@ -133,7 +134,7 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
// Global functions -----------------------------------------------------------
|
||||
|
||||
const char kGoogleHomepageURL[] = "https://www.google.com/";
|
||||
@@ -167,24 +55,7 @@ GURL AppendGoogleLocaleParam(const GURL& url,
|
||||
@@ -166,24 +54,7 @@ GURL AppendGoogleLocaleParam(const GURL& url,
|
||||
|
||||
std::string GetGoogleCountryCode(const GURL& google_homepage_url) {
|
||||
base::StringPiece google_hostname = google_homepage_url.host_piece();
|
||||
|
@ -159,7 +160,7 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
}
|
||||
|
||||
GURL GetGoogleSearchURL(const GURL& google_homepage_url) {
|
||||
@@ -223,9 +94,7 @@ bool StartsWithCommandLineGoogleBaseURL(const GURL& url) {
|
||||
@@ -222,9 +93,7 @@ bool StartsWithCommandLineGoogleBaseURL(const GURL& url) {
|
||||
|
||||
bool IsGoogleHostname(base::StringPiece host,
|
||||
SubdomainPermission subdomain_permission) {
|
||||
|
@ -170,100 +171,54 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
}
|
||||
|
||||
bool IsGoogleDomainUrl(const GURL& url,
|
||||
@@ -236,86 +105,20 @@ bool IsGoogleDomainUrl(const GURL& url,
|
||||
@@ -234,7 +103,9 @@ bool IsGoogleDomainUrl(const GURL& url,
|
||||
IsCanonicalHostGoogleHostname(url.host_piece(), subdomain_permission);
|
||||
}
|
||||
|
||||
bool IsGoogleHomePageUrl(const GURL& url) {
|
||||
- // First check to see if this has a Google domain.
|
||||
- if (!IsGoogleDomainUrl(url, DISALLOW_SUBDOMAIN,
|
||||
- DISALLOW_NON_STANDARD_PORTS) &&
|
||||
- !IsGoogleSearchSubdomainUrl(url)) {
|
||||
- return false;
|
||||
- }
|
||||
-
|
||||
- // Make sure the path is a known home page path.
|
||||
- base::StringPiece path(url.path_piece());
|
||||
- return IsPathHomePageBase(path) ||
|
||||
- base::StartsWith(path, "/ig", base::CompareCase::INSENSITIVE_ASCII);
|
||||
+ return false;
|
||||
-bool IsGoogleHomePageUrl(const GURL& url) {
|
||||
+bool IsGoogleHomePageUrl(const GURL& url) { // disabled in Bromite
|
||||
+ if ((true))
|
||||
+ return false;
|
||||
// First check to see if this has a Google domain.
|
||||
if (!IsGoogleDomainUrl(url, DISALLOW_SUBDOMAIN,
|
||||
DISALLOW_NON_STANDARD_PORTS) &&
|
||||
@@ -248,7 +119,9 @@ bool IsGoogleHomePageUrl(const GURL& url) {
|
||||
base::StartsWith(path, "/ig", base::CompareCase::INSENSITIVE_ASCII);
|
||||
}
|
||||
|
||||
bool IsGoogleSearchUrl(const GURL& url) {
|
||||
- // First check to see if this has a Google domain.
|
||||
- if (!IsGoogleDomainUrl(url, DISALLOW_SUBDOMAIN,
|
||||
- DISALLOW_NON_STANDARD_PORTS) &&
|
||||
- !IsGoogleSearchSubdomainUrl(url)) {
|
||||
- return false;
|
||||
- }
|
||||
-
|
||||
- // Make sure the path is a known search path.
|
||||
- base::StringPiece path(url.path_piece());
|
||||
- bool is_home_page_base = IsPathHomePageBase(path);
|
||||
- if (!is_home_page_base && path != "/search" && path != "/imgres")
|
||||
- return false;
|
||||
-
|
||||
- // Check for query parameter in URL parameter and hash fragment, depending on
|
||||
- // the path type.
|
||||
- return HasGoogleSearchQueryParam(url.ref_piece()) ||
|
||||
- (!is_home_page_base && HasGoogleSearchQueryParam(url.query_piece()));
|
||||
+ return false;
|
||||
-bool IsGoogleSearchUrl(const GURL& url) {
|
||||
+bool IsGoogleSearchUrl(const GURL& url) { // disabled in Bromite
|
||||
+ if ((true))
|
||||
+ return false;
|
||||
// First check to see if this has a Google domain.
|
||||
if (!IsGoogleDomainUrl(url, DISALLOW_SUBDOMAIN,
|
||||
DISALLOW_NON_STANDARD_PORTS) &&
|
||||
@@ -268,14 +141,16 @@ bool IsGoogleSearchUrl(const GURL& url) {
|
||||
(!is_home_page_base && HasGoogleSearchQueryParam(url.query_piece()));
|
||||
}
|
||||
|
||||
bool IsYoutubeDomainUrl(const GURL& url,
|
||||
SubdomainPermission subdomain_permission,
|
||||
PortPermission port_permission) {
|
||||
- return IsValidURL(url, port_permission) &&
|
||||
- IsCanonicalHostYoutubeHostname(url.host_piece(), subdomain_permission);
|
||||
+ return false;
|
||||
-bool IsYoutubeDomainUrl(const GURL& url,
|
||||
- SubdomainPermission subdomain_permission,
|
||||
- PortPermission port_permission) {
|
||||
+bool IsYoutubeDomainUrl(const GURL& url, SubdomainPermission subdomain_permission, PortPermission port_permission) { // disabled in Bromite
|
||||
+ if ((true))
|
||||
+ return false;
|
||||
return IsValidURL(url, port_permission) &&
|
||||
IsCanonicalHostYoutubeHostname(url.host_piece(), subdomain_permission);
|
||||
}
|
||||
|
||||
bool IsGoogleAssociatedDomainUrl(const GURL& url) {
|
||||
- if (IsGoogleDomainUrl(url, ALLOW_SUBDOMAIN, ALLOW_NON_STANDARD_PORTS))
|
||||
- return true;
|
||||
-
|
||||
- if (IsYoutubeDomainUrl(url, ALLOW_SUBDOMAIN, ALLOW_NON_STANDARD_PORTS))
|
||||
- return true;
|
||||
-
|
||||
- // Some domains don't have international TLD extensions, so testing for them
|
||||
- // is very straightforward.
|
||||
- static const char* kSuffixesToSetHeadersFor[] = {
|
||||
- ".android.com",
|
||||
- ".doubleclick.com",
|
||||
- ".doubleclick.net",
|
||||
- ".ggpht.com",
|
||||
- ".googleadservices.com",
|
||||
- ".googleapis.com",
|
||||
- ".googlesyndication.com",
|
||||
- ".googleusercontent.com",
|
||||
- ".googlevideo.com",
|
||||
- ".gstatic.com",
|
||||
- ".litepages.googlezip.net",
|
||||
- ".ytimg.com",
|
||||
- };
|
||||
- const std::string host = url.host();
|
||||
- for (size_t i = 0; i < base::size(kSuffixesToSetHeadersFor); ++i) {
|
||||
- if (base::EndsWith(host, kSuffixesToSetHeadersFor[i],
|
||||
- base::CompareCase::INSENSITIVE_ASCII)) {
|
||||
- return true;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- // Exact hostnames in lowercase to set headers for.
|
||||
- static const char* kHostsToSetHeadersFor[] = {
|
||||
- "googleweblight.com",
|
||||
- };
|
||||
- for (size_t i = 0; i < base::size(kHostsToSetHeadersFor); ++i) {
|
||||
- if (base::LowerCaseEqualsASCII(host, kHostsToSetHeadersFor[i]))
|
||||
- return true;
|
||||
- }
|
||||
-
|
||||
return false;
|
||||
}
|
||||
-bool IsGoogleAssociatedDomainUrl(const GURL& url) {
|
||||
+bool IsGoogleAssociatedDomainUrl(const GURL& url) { // disabled on Bromite
|
||||
+ if ((true))
|
||||
+ return false;
|
||||
if (IsGoogleDomainUrl(url, ALLOW_SUBDOMAIN, ALLOW_NON_STANDARD_PORTS))
|
||||
return true;
|
||||
|
||||
diff --git a/components/page_load_metrics/browser/page_load_metrics_util.cc b/components/page_load_metrics/browser/page_load_metrics_util.cc
|
||||
index 6bc664a66f91..5bba087510f9 100644
|
||||
--- a/components/page_load_metrics/browser/page_load_metrics_util.cc
|
||||
+++ b/components/page_load_metrics/browser/page_load_metrics_util.cc
|
||||
@@ -199,9 +199,7 @@ bool DidObserveLoadingBehaviorInAnyFrame(
|
||||
@@ -210,9 +210,7 @@ bool DidObserveLoadingBehaviorInAnyFrame(
|
||||
}
|
||||
|
||||
bool IsGoogleSearchHostname(const GURL& url) {
|
||||
|
@ -275,6 +230,7 @@ diff --git a/components/page_load_metrics/browser/page_load_metrics_util.cc b/co
|
|||
|
||||
bool IsGoogleSearchResultUrl(const GURL& url) {
|
||||
diff --git a/components/page_load_metrics/common/page_load_metrics_util.cc b/components/page_load_metrics/common/page_load_metrics_util.cc
|
||||
index 4c6a3ff6bfaf..1a4f80881bf3 100644
|
||||
--- a/components/page_load_metrics/common/page_load_metrics_util.cc
|
||||
+++ b/components/page_load_metrics/common/page_load_metrics_util.cc
|
||||
@@ -24,38 +24,7 @@ const int kExtraBufferTimerDelayMillis = 50;
|
||||
|
@ -318,9 +274,10 @@ diff --git a/components/page_load_metrics/common/page_load_metrics_util.cc b/com
|
|||
|
||||
bool IsGoogleHostname(const GURL& url) {
|
||||
diff --git a/components/search_engines/template_url.cc b/components/search_engines/template_url.cc
|
||||
index 001561251e6d..b8e250f67c7b 100644
|
||||
--- a/components/search_engines/template_url.cc
|
||||
+++ b/components/search_engines/template_url.cc
|
||||
@@ -530,11 +530,7 @@ std::u16string TemplateURLRef::SearchTermToString16(
|
||||
@@ -532,11 +532,7 @@ std::u16string TemplateURLRef::SearchTermToString16(
|
||||
bool TemplateURLRef::HasGoogleBaseURLs(
|
||||
const SearchTermsData& search_terms_data) const {
|
||||
ParseIfNecessary(search_terms_data);
|
||||
|
@ -334,6 +291,7 @@ diff --git a/components/search_engines/template_url.cc b/components/search_engin
|
|||
|
||||
bool TemplateURLRef::ExtractSearchTermsFromURL(
|
||||
diff --git a/net/base/url_util.cc b/net/base/url_util.cc
|
||||
index b0228ee652cc..80499c6382a7 100644
|
||||
--- a/net/base/url_util.cc
|
||||
+++ b/net/base/url_util.cc
|
||||
@@ -455,27 +455,6 @@ bool HasGoogleHost(const GURL& url) {
|
||||
|
@ -364,5 +322,6 @@ diff --git a/net/base/url_util.cc b/net/base/url_util.cc
|
|||
return false;
|
||||
}
|
||||
|
||||
--
|
||||
2.25.1
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ diff --git a/components/domain_reliability/uploader.cc b/components/domain_relia
|
|||
diff --git a/components/google/core/common/google_util.cc b/components/google/core/common/google_util.cc
|
||||
--- a/components/google/core/common/google_util.cc
|
||||
+++ b/components/google/core/common/google_util.cc
|
||||
@@ -32,16 +32,6 @@ namespace google_util {
|
||||
@@ -31,16 +31,6 @@ namespace google_util {
|
||||
|
||||
const char kGoogleHomepageURL[] = "https://www.google.com/";
|
||||
|
||||
|
@ -249,7 +249,7 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
std::string GetGoogleLocale(const std::string& application_locale) {
|
||||
// Google does not recognize "nb" for Norwegian Bokmal; it uses "no".
|
||||
return (application_locale == "nb") ? "no" : application_locale;
|
||||
@@ -54,7 +44,6 @@ GURL AppendGoogleLocaleParam(const GURL& url,
|
||||
@@ -53,7 +43,6 @@ GURL AppendGoogleLocaleParam(const GURL& url,
|
||||
}
|
||||
|
||||
std::string GetGoogleCountryCode(const GURL& google_homepage_url) {
|
||||
|
@ -257,7 +257,7 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
return std::string();
|
||||
}
|
||||
|
||||
@@ -100,8 +89,7 @@ bool IsGoogleHostname(base::StringPiece host,
|
||||
@@ -99,8 +88,7 @@ bool IsGoogleHostname(base::StringPiece host,
|
||||
bool IsGoogleDomainUrl(const GURL& url,
|
||||
SubdomainPermission subdomain_permission,
|
||||
PortPermission port_permission) {
|
||||
|
@ -266,6 +266,6 @@ diff --git a/components/google/core/common/google_util.cc b/components/google/co
|
|||
+ return false;
|
||||
}
|
||||
|
||||
bool IsGoogleHomePageUrl(const GURL& url) {
|
||||
bool IsGoogleHomePageUrl(const GURL& url) { // disabled in Bromite
|
||||
--
|
||||
2.25.1
|
||||
|
|
|
@ -11,7 +11,7 @@ Added some Bromite-specific further improvements
|
|||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||
--- a/chrome/browser/BUILD.gn
|
||||
+++ b/chrome/browser/BUILD.gn
|
||||
@@ -1385,8 +1385,6 @@ static_library("browser") {
|
||||
@@ -1391,8 +1391,6 @@ static_library("browser") {
|
||||
"profiles/profile_attributes_storage.cc",
|
||||
"profiles/profile_attributes_storage.h",
|
||||
"profiles/profile_attributes_storage_observer.h",
|
||||
|
|
|
@ -165,7 +165,7 @@ diff --git a/chrome/browser/language/android/java/src/org/chromium/chrome/browse
|
|||
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
|
||||
@@ -1543,9 +1543,6 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
@@ -1533,9 +1533,6 @@ Your Google account may have other forms of browsing history like searches and a
|
||||
<message name="IDS_LANGUAGES_LIST_DESCRIPTION" desc="Description on the Languages settings screen. Appears above a list of one or more languages that the user selects, to tell Chrome which languages they prefer to use to read website content.">
|
||||
Websites will show text in your preferred language, when possible.
|
||||
</message>
|
||||
|
|
|
@ -48,7 +48,7 @@ diff --git a/chrome/browser/plugins/plugins_resource_service.cc b/chrome/browser
|
|||
diff --git a/rlz/lib/financial_ping.cc b/rlz/lib/financial_ping.cc
|
||||
--- a/rlz/lib/financial_ping.cc
|
||||
+++ b/rlz/lib/financial_ping.cc
|
||||
@@ -338,7 +338,7 @@ FinancialPing::PingResponse FinancialPing::PingServer(const char* request,
|
||||
@@ -337,7 +337,7 @@ FinancialPing::PingResponse FinancialPing::PingServer(const char* request,
|
||||
|
||||
// Open network connection.
|
||||
InternetHandle connection_handle = InternetConnectA(inet_handle,
|
||||
|
@ -57,7 +57,7 @@ diff --git a/rlz/lib/financial_ping.cc b/rlz/lib/financial_ping.cc
|
|||
INTERNET_FLAG_NO_CACHE_WRITE, 0);
|
||||
if (!connection_handle)
|
||||
return PING_FAILURE;
|
||||
@@ -382,7 +382,7 @@ FinancialPing::PingResponse FinancialPing::PingServer(const char* request,
|
||||
@@ -381,7 +381,7 @@ FinancialPing::PingResponse FinancialPing::PingServer(const char* request,
|
||||
return PING_SUCCESSFUL;
|
||||
#else
|
||||
std::string url =
|
||||
|
|
|
@ -28,7 +28,7 @@ diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_u
|
|||
diff --git a/third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc b/third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
|
||||
--- a/third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
|
||||
+++ b/third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc
|
||||
@@ -106,7 +106,9 @@ WebRTCIPHandlingPolicy GetWebRTCIPHandlingPolicy(const String& preference) {
|
||||
@@ -103,7 +103,9 @@ WebRTCIPHandlingPolicy GetWebRTCIPHandlingPolicy(const String& preference) {
|
||||
return kDefaultPublicInterfaceOnly;
|
||||
if (preference == kWebRTCIPHandlingDisableNonProxiedUdp)
|
||||
return kDisableNonProxiedUdp;
|
||||
|
@ -39,7 +39,7 @@ diff --git a/third_party/blink/renderer/modules/peerconnection/peer_connection_d
|
|||
}
|
||||
|
||||
bool IsValidPortRange(uint16_t min_port, uint16_t max_port) {
|
||||
@@ -826,7 +828,7 @@ PeerConnectionDependencyFactory::CreatePortAllocator(
|
||||
@@ -774,7 +776,7 @@ PeerConnectionDependencyFactory::CreatePortAllocator(
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue