|
@@ -16,7 +16,6 @@ Disable CrowdDeny feature
|
|
|
.../usage_stats/UsageStatsConsentDialog.java | 5 --
|
|
|
.../android/chrome_main_delegate_android.cc | 1 +
|
|
|
chrome/browser/BUILD.gn | 28 --------
|
|
|
- chrome/browser/about_flags.cc | 2 +-
|
|
|
.../tab_web_contents_delegate_android.cc | 8 +++
|
|
|
chrome/browser/browser_process.h | 7 --
|
|
|
chrome/browser/browser_process_impl.cc | 29 --------
|
|
@@ -51,22 +50,23 @@ Disable CrowdDeny feature
|
|
|
...ve_origin_permission_revocation_request.cc | 2 +
|
|
|
.../permissions/chrome_permissions_client.cc | 14 ----
|
|
|
.../permissions/chrome_permissions_client.h | 3 -
|
|
|
+ ...quiet_notification_permission_ui_config.cc | 4 +-
|
|
|
...hrome_browser_main_extra_parts_profiles.cc | 2 -
|
|
|
chrome/browser/profiles/profile_impl.cc | 4 +-
|
|
|
chrome/browser/safe_browsing/BUILD.gn | 4 +-
|
|
|
chrome/browser/safe_browsing/android/BUILD.gn | 4 --
|
|
|
.../safe_browsing/SafeBrowsingBridge.java | 71 -------------------
|
|
|
- .../android/safe_browsing_bridge.cc | 53 --------------
|
|
|
+ .../android/safe_browsing_bridge.cc | 52 --------------
|
|
|
.../download_protection_service.cc | 5 --
|
|
|
.../download_protection_service.h | 5 --
|
|
|
.../url_lookup_service_factory.cc | 4 ++
|
|
|
.../safety_check/SafetyCheckMediator.java | 13 ----
|
|
|
- .../java/res/layout/fre_uma_dialog.xml | 11 ---
|
|
|
- .../ui/fre/FreUMADialogCoordinator.java | 3 -
|
|
|
.../ssl/sct_reporting_service_factory.cc | 11 +--
|
|
|
.../browser/ssl/security_state_tab_helper.cc | 10 +--
|
|
|
...urce_filter_web_contents_helper_factory.cc | 4 ++
|
|
|
chrome/browser/ui/BUILD.gn | 2 -
|
|
|
+ .../signin/java/res/layout/fre_uma_dialog.xml | 11 ---
|
|
|
+ .../signin/fre/FreUMADialogCoordinator.java | 4 --
|
|
|
.../strings/android_chrome_strings.grd | 9 ---
|
|
|
chrome/browser/ui/tab_helpers.cc | 17 ++---
|
|
|
.../ui/webui/interstitials/interstitial_ui.cc | 12 ++--
|
|
@@ -88,7 +88,7 @@ Disable CrowdDeny feature
|
|
|
.../file_system_access_permission_context.h | 6 --
|
|
|
weblayer/BUILD.gn | 1 -
|
|
|
weblayer/test/BUILD.gn | 1 -
|
|
|
- 82 files changed, 180 insertions(+), 673 deletions(-)
|
|
|
+ 82 files changed, 181 insertions(+), 674 deletions(-)
|
|
|
|
|
|
diff --git a/chrome/android/java/res/xml/google_services_preferences.xml b/chrome/android/java/res/xml/google_services_preferences.xml
|
|
|
--- a/chrome/android/java/res/xml/google_services_preferences.xml
|
|
@@ -187,7 +187,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/promo
|
|
|
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
|
|
|
-@@ -26,14 +26,11 @@ import org.chromium.chrome.browser.privacy_review.PrivacyReviewDialog;
|
|
|
+@@ -25,14 +25,11 @@ import org.chromium.chrome.browser.privacy_review.PrivacyReviewDialog;
|
|
|
import org.chromium.chrome.browser.privacy_sandbox.PrivacySandboxReferrer;
|
|
|
import org.chromium.chrome.browser.privacy_sandbox.PrivacySandboxSettingsFragment;
|
|
|
import org.chromium.chrome.browser.profiles.Profile;
|
|
@@ -202,7 +202,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|
|
import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
|
|
|
import org.chromium.components.browser_ui.settings.ManagedPreferenceDelegate;
|
|
|
import org.chromium.components.browser_ui.settings.SettingsLauncher;
|
|
|
-@@ -53,9 +50,7 @@ public class PrivacySettings
|
|
|
+@@ -52,9 +49,7 @@ public class PrivacySettings
|
|
|
private static final String PREF_NETWORK_PREDICTIONS = "preload_pages";
|
|
|
private static final String PREF_HTTPS_FIRST_MODE = "https_first_mode";
|
|
|
private static final String PREF_SECURE_DNS = "secure_dns";
|
|
@@ -212,9 +212,9 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|
|
private static final String PREF_SYNC_AND_SERVICES_LINK = "sync_and_services_link";
|
|
|
private static final String PREF_CLEAR_BROWSING_DATA = "clear_browsing_data";
|
|
|
private static final String PREF_PRIVACY_SANDBOX = "privacy_sandbox";
|
|
|
-@@ -96,15 +91,6 @@ public class PrivacySettings
|
|
|
-
|
|
|
- setUpIncognitoReauthPreference();
|
|
|
+@@ -99,15 +94,6 @@ public class PrivacySettings
|
|
|
+ mIncognitoLockSettings = new IncognitoLockSettings(incognitoReauthPreference);
|
|
|
+ mIncognitoLockSettings.setUpIncognitoReauthPreference(getActivity());
|
|
|
|
|
|
- Preference safeBrowsingPreference = findPreference(PREF_SAFE_BROWSING);
|
|
|
- safeBrowsingPreference.setSummary(
|
|
@@ -228,7 +228,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/privacy/setting
|
|
|
setHasOptionsMenu(true);
|
|
|
|
|
|
mManagedPreferenceDelegate = createManagedPreferenceDelegate();
|
|
|
-@@ -241,32 +227,6 @@ public class PrivacySettings
|
|
|
+@@ -211,32 +197,6 @@ public class PrivacySettings
|
|
|
secureDnsPref.setSummary(SecureDnsSettings.getSummary(getContext()));
|
|
|
}
|
|
|
|
|
@@ -315,7 +315,7 @@ diff --git a/chrome/app/android/chrome_main_delegate_android.cc b/chrome/app/and
|
|
|
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
--- a/chrome/browser/BUILD.gn
|
|
|
+++ b/chrome/browser/BUILD.gn
|
|
|
-@@ -314,16 +314,12 @@ static_library("browser") {
|
|
|
+@@ -311,16 +311,12 @@ static_library("browser") {
|
|
|
"component_updater/chrome_component_updater_configurator.h",
|
|
|
"component_updater/chrome_origin_trials_component_installer.cc",
|
|
|
"component_updater/chrome_origin_trials_component_installer.h",
|
|
@@ -332,7 +332,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"component_updater/first_party_sets_component_installer.cc",
|
|
|
"component_updater/first_party_sets_component_installer.h",
|
|
|
"component_updater/floc_component_installer.cc",
|
|
|
-@@ -1118,8 +1114,6 @@ static_library("browser") {
|
|
|
+@@ -1117,8 +1113,6 @@ static_library("browser") {
|
|
|
"permissions/adaptive_quiet_notification_permission_ui_enabler.h",
|
|
|
"permissions/chrome_permissions_client.cc",
|
|
|
"permissions/chrome_permissions_client.h",
|
|
@@ -341,7 +341,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"permissions/crowd_deny_preload_data.cc",
|
|
|
"permissions/crowd_deny_preload_data.h",
|
|
|
"permissions/crowd_deny_safe_browsing_request.cc",
|
|
|
-@@ -1454,15 +1448,6 @@ static_library("browser") {
|
|
|
+@@ -1459,15 +1453,6 @@ static_library("browser") {
|
|
|
"renderer_host/chrome_navigation_ui_data.h",
|
|
|
"renderer_preferences_util.cc",
|
|
|
"renderer_preferences_util.h",
|
|
@@ -357,7 +357,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"resource_coordinator/resource_coordinator_parts.cc",
|
|
|
"resource_coordinator/resource_coordinator_parts.h",
|
|
|
"resource_coordinator/session_restore_policy.cc",
|
|
|
-@@ -2189,11 +2174,8 @@ static_library("browser") {
|
|
|
+@@ -2202,11 +2187,8 @@ static_library("browser") {
|
|
|
"//components/reporting/util:status_macros",
|
|
|
"//components/reporting/util:status_proto",
|
|
|
"//components/reporting/util:task_runner_context",
|
|
@@ -369,7 +369,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"//components/safe_browsing/content/browser:safe_browsing_service",
|
|
|
"//components/safe_browsing/content/browser/password_protection",
|
|
|
"//components/safe_browsing/content/browser/web_ui",
|
|
|
-@@ -3248,12 +3230,6 @@ static_library("browser") {
|
|
|
+@@ -3271,12 +3253,6 @@ static_library("browser") {
|
|
|
"profiles/profile_manager_android.cc",
|
|
|
"profiles/profile_manager_android.h",
|
|
|
"query_tiles/android/tile_provider_factory.cc",
|
|
@@ -382,7 +382,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"safe_browsing/android/password_reuse_controller_android.cc",
|
|
|
"safe_browsing/android/password_reuse_controller_android.h",
|
|
|
"safe_browsing/android/safe_browsing_referring_app_bridge_android.cc",
|
|
|
-@@ -3704,8 +3680,6 @@ static_library("browser") {
|
|
|
+@@ -3738,8 +3714,6 @@ static_library("browser") {
|
|
|
"download/download_commands.h",
|
|
|
"download/download_crx_util.cc",
|
|
|
"download/download_crx_util.h",
|
|
@@ -391,7 +391,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"download/download_dir_policy_handler.cc",
|
|
|
"download/download_dir_policy_handler.h",
|
|
|
"download/download_dir_util.cc",
|
|
|
-@@ -7369,8 +7343,6 @@ static_library("test_support") {
|
|
|
+@@ -7466,8 +7440,6 @@ static_library("test_support") {
|
|
|
"//components/reporting/util:status_macros",
|
|
|
"//components/reporting/util:status_proto",
|
|
|
"//components/reporting/util:task_runner_context",
|
|
@@ -400,18 +400,6 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
|
"//components/safe_browsing/core/common/proto:csd_proto",
|
|
|
"//components/search_engines:test_support",
|
|
|
"//components/security_interstitials/content:security_interstitial_page",
|
|
|
-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
|
|
|
-@@ -2203,7 +2203,7 @@ const FeatureEntry::FeatureParam
|
|
|
- {QuietNotificationPermissionUiConfig::kEnableAbusiveRequestWarning,
|
|
|
- "true"},
|
|
|
- {QuietNotificationPermissionUiConfig::kEnableCrowdDenyTriggering,
|
|
|
-- "true"},
|
|
|
-+ "false"},
|
|
|
- {QuietNotificationPermissionUiConfig::kCrowdDenyHoldBackChance, "0"}};
|
|
|
-
|
|
|
- // The default "Enabled" option has the semantics of showing the quiet UI
|
|
|
diff --git a/chrome/browser/android/tab_web_contents_delegate_android.cc b/chrome/browser/android/tab_web_contents_delegate_android.cc
|
|
|
--- a/chrome/browser/android/tab_web_contents_delegate_android.cc
|
|
|
+++ b/chrome/browser/android/tab_web_contents_delegate_android.cc
|
|
@@ -435,7 +423,7 @@ diff --git a/chrome/browser/android/tab_web_contents_delegate_android.cc b/chrom
|
|
|
#include "components/security_state/content/content_utils.h"
|
|
|
#include "content/public/browser/file_select_listener.h"
|
|
|
#include "content/public/browser/navigation_entry.h"
|
|
|
-@@ -155,8 +159,10 @@ void TabWebContentsDelegateAndroid::PortalWebContentsCreated(
|
|
|
+@@ -154,8 +158,10 @@ void TabWebContentsDelegateAndroid::PortalWebContentsCreated(
|
|
|
content::WebContents* portal_contents) {
|
|
|
WebContentsDelegateAndroid::PortalWebContentsCreated(portal_contents);
|
|
|
|
|
@@ -446,7 +434,7 @@ diff --git a/chrome/browser/android/tab_web_contents_delegate_android.cc b/chrom
|
|
|
|
|
|
// This is a subset of the tab helpers that would be attached by
|
|
|
// TabAndroid::AttachTabHelpers.
|
|
|
-@@ -178,11 +184,13 @@ void TabWebContentsDelegateAndroid::PortalWebContentsCreated(
|
|
|
+@@ -177,11 +183,13 @@ void TabWebContentsDelegateAndroid::PortalWebContentsCreated(
|
|
|
infobars::ContentInfoBarManager::CreateForWebContents(portal_contents);
|
|
|
PrefsTabHelper::CreateForWebContents(portal_contents);
|
|
|
DataReductionProxyTabHelper::CreateForWebContents(portal_contents);
|
|
@@ -495,7 +483,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
|
#include "chrome/browser/shell_integration.h"
|
|
|
#include "chrome/browser/site_isolation/prefs_observer.h"
|
|
|
#include "chrome/browser/ssl/secure_origin_prefs_observer.h"
|
|
|
-@@ -110,7 +109,6 @@
|
|
|
+@@ -111,7 +110,6 @@
|
|
|
#include "components/prefs/json_pref_store.h"
|
|
|
#include "components/prefs/pref_registry_simple.h"
|
|
|
#include "components/prefs/pref_service.h"
|
|
@@ -503,7 +491,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
|
#include "components/sessions/core/session_id_generator.h"
|
|
|
#include "components/subresource_filter/content/browser/ruleset_service.h"
|
|
|
#include "components/translate/core/browser/translate_download_manager.h"
|
|
|
-@@ -395,8 +393,6 @@ void BrowserProcessImpl::StartTearDown() {
|
|
|
+@@ -396,8 +394,6 @@ void BrowserProcessImpl::StartTearDown() {
|
|
|
|
|
|
metrics_services_manager_.reset();
|
|
|
intranet_redirect_detector_.reset();
|
|
@@ -512,7 +500,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
|
network_time_tracker_.reset();
|
|
|
#if BUILDFLAG(ENABLE_PLUGINS)
|
|
|
plugins_resource_service_.reset();
|
|
|
-@@ -1030,14 +1026,6 @@ StatusTray* BrowserProcessImpl::status_tray() {
|
|
|
+@@ -1031,14 +1027,6 @@ StatusTray* BrowserProcessImpl::status_tray() {
|
|
|
return status_tray_.get();
|
|
|
}
|
|
|
|
|
@@ -527,7 +515,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
|
subresource_filter::RulesetService*
|
|
|
BrowserProcessImpl::subresource_filter_ruleset_service() {
|
|
|
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
|
-@@ -1301,23 +1289,6 @@ void BrowserProcessImpl::CreateBackgroundPrintingManager() {
|
|
|
+@@ -1303,23 +1291,6 @@ void BrowserProcessImpl::CreateBackgroundPrintingManager() {
|
|
|
}
|
|
|
|
|
|
void BrowserProcessImpl::CreateSafeBrowsingService() {
|
|
@@ -605,9 +593,9 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
#include "chrome/browser/safe_browsing/url_lookup_service_factory.h"
|
|
|
+#endif
|
|
|
#include "chrome/browser/search/search.h"
|
|
|
+ #include "chrome/browser/segmentation_platform/chrome_browser_main_extra_parts_segmentation_platform.h"
|
|
|
#include "chrome/browser/sharing/sms/sms_remote_fetcher.h"
|
|
|
- #include "chrome/browser/signin/chrome_signin_proxying_url_loader_factory.h"
|
|
|
-@@ -928,9 +930,7 @@ void SetApplicationLocaleOnIOThread(const std::string& locale) {
|
|
|
+@@ -936,9 +938,7 @@ void SetApplicationLocaleOnIOThread(const std::string& locale) {
|
|
|
class CertificateReportingServiceCertReporter : public SSLCertReporter {
|
|
|
public:
|
|
|
explicit CertificateReportingServiceCertReporter(
|
|
@@ -618,7 +606,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
|
|
|
CertificateReportingServiceCertReporter(
|
|
|
const CertificateReportingServiceCertReporter&) = delete;
|
|
|
-@@ -942,11 +942,9 @@ class CertificateReportingServiceCertReporter : public SSLCertReporter {
|
|
|
+@@ -950,11 +950,9 @@ class CertificateReportingServiceCertReporter : public SSLCertReporter {
|
|
|
// SSLCertReporter implementation
|
|
|
void ReportInvalidCertificateChain(
|
|
|
const std::string& serialized_report) override {
|
|
@@ -630,7 +618,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
};
|
|
|
|
|
|
#if BUILDFLAG(ENABLE_EXTENSIONS)
|
|
|
-@@ -1423,7 +1421,9 @@ void ChromeContentBrowserClient::PostAfterStartupTask(
|
|
|
+@@ -1438,7 +1436,9 @@ void ChromeContentBrowserClient::PostAfterStartupTask(
|
|
|
InitNetworkContextsParentDirectory();
|
|
|
|
|
|
DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
@@ -640,7 +628,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
}
|
|
|
|
|
|
bool ChromeContentBrowserClient::IsBrowserStartupComplete() {
|
|
|
-@@ -2163,7 +2163,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
|
+@@ -2178,7 +2178,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
|
}
|
|
|
#elif defined(OS_POSIX)
|
|
|
#if defined(OS_ANDROID)
|
|
@@ -649,7 +637,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
#else
|
|
|
bool enable_crash_reporter = false;
|
|
|
if (crash_reporter::IsCrashpadEnabled()) {
|
|
|
-@@ -2300,6 +2300,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
|
+@@ -2315,6 +2315,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
|
command_line->AppendSwitch(
|
|
|
switches::kSharedArrayBufferUnrestrictedAccessAllowed);
|
|
|
}
|
|
@@ -667,7 +655,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
// g_browser_process->safe_browsing_service() may be null in unittests.
|
|
|
safe_browsing::SafeBrowsingUIManager* ui_manager =
|
|
|
g_browser_process->safe_browsing_service()
|
|
|
-@@ -4272,6 +4276,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
|
|
+@@ -4273,6 +4277,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
|
|
std::make_unique<safe_browsing::DelayedWarningNavigationThrottle>(
|
|
|
handle));
|
|
|
}
|
|
@@ -675,7 +663,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
|
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
|
|
|
// of lacros-chrome is complete.
|
|
|
-@@ -5670,6 +5675,7 @@ ChromeContentBrowserClient::GetSafeBrowsingUrlCheckerDelegate(
|
|
|
+@@ -5684,6 +5689,7 @@ ChromeContentBrowserClient::GetSafeBrowsingUrlCheckerDelegate(
|
|
|
const std::vector<std::string>& allowlist_domains) {
|
|
|
DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
|
|
@@ -683,7 +671,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
// Should not bypass safe browsing check if the check is for enterprise
|
|
|
// lookup.
|
|
|
if (!safe_browsing_enabled_for_profile && !should_check_on_sb_disabled)
|
|
|
-@@ -5690,6 +5696,9 @@ ChromeContentBrowserClient::GetSafeBrowsingUrlCheckerDelegate(
|
|
|
+@@ -5704,6 +5710,9 @@ ChromeContentBrowserClient::GetSafeBrowsingUrlCheckerDelegate(
|
|
|
}
|
|
|
|
|
|
return safe_browsing_url_checker_delegate_;
|
|
@@ -693,7 +681,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
}
|
|
|
|
|
|
safe_browsing::RealTimeUrlLookupServiceBase*
|
|
|
-@@ -5697,24 +5706,28 @@ ChromeContentBrowserClient::GetUrlLookupService(
|
|
|
+@@ -5711,24 +5720,28 @@ ChromeContentBrowserClient::GetUrlLookupService(
|
|
|
content::BrowserContext* browser_context,
|
|
|
bool is_enterprise_lookup_enabled,
|
|
|
bool is_consumer_lookup_enabled) {
|
|
@@ -726,7 +714,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
|
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
|
|
|
--- a/chrome/browser/chrome_content_browser_client.h
|
|
|
+++ b/chrome/browser/chrome_content_browser_client.h
|
|
|
-@@ -843,9 +843,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
|
|
|
+@@ -844,9 +844,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
|
|
|
// Parts are deleted in the reverse order they are added.
|
|
|
std::vector<ChromeContentBrowserClientParts*> extra_parts_;
|
|
|
|
|
@@ -802,7 +790,7 @@ diff --git a/chrome/browser/component_updater/registration.cc b/chrome/browser/c
|
|
|
#include "chrome/browser/component_updater/crl_set_component_installer.h"
|
|
|
#include "chrome/browser/component_updater/crowd_deny_component_installer.h"
|
|
|
#include "chrome/browser/component_updater/file_type_policies_component_installer.h"
|
|
|
-@@ -36,7 +35,6 @@
|
|
|
+@@ -35,7 +34,6 @@
|
|
|
#include "components/component_updater/installer_policies/autofill_states_component_installer.h"
|
|
|
#include "components/component_updater/installer_policies/on_device_head_suggest_component_installer.h"
|
|
|
#include "components/component_updater/installer_policies/optimization_hints_component_installer.h"
|
|
@@ -810,7 +798,7 @@ diff --git a/chrome/browser/component_updater/registration.cc b/chrome/browser/c
|
|
|
#include "components/nacl/common/buildflags.h"
|
|
|
#include "device/vr/buildflags/buildflags.h"
|
|
|
#include "ppapi/buildflags/buildflags.h"
|
|
|
-@@ -200,9 +198,6 @@ void RegisterComponentsForUpdate(bool is_off_the_record_profile,
|
|
|
+@@ -188,9 +186,6 @@ void RegisterComponentsForUpdate() {
|
|
|
|
|
|
MaybeRegisterPKIMetadataComponent(cus);
|
|
|
|
|
@@ -820,7 +808,7 @@ diff --git a/chrome/browser/component_updater/registration.cc b/chrome/browser/c
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
RegisterSmartDimComponent(cus);
|
|
|
#endif // !BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
-@@ -219,8 +214,6 @@ void RegisterComponentsForUpdate(bool is_off_the_record_profile,
|
|
|
+@@ -207,8 +202,6 @@ void RegisterComponentsForUpdate() {
|
|
|
RegisterAutofillStatesComponent(cus, g_browser_process->local_state());
|
|
|
|
|
|
RegisterAutofillRegexComponent(cus);
|
|
@@ -960,7 +948,7 @@ diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrom
|
|
|
|
|
|
void ChromeDownloadManagerDelegate::GetMixedContentStatus(
|
|
|
download::DownloadItem* download,
|
|
|
-@@ -1535,8 +1524,11 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDetermined(
|
|
|
+@@ -1545,8 +1534,11 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDetermined(
|
|
|
DownloadItemModel(item).SetShouldPreferOpeningInBrowser(true);
|
|
|
#endif
|
|
|
|
|
@@ -972,7 +960,7 @@ diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrom
|
|
|
if (ShouldBlockFile(target_info->danger_type, item)) {
|
|
|
MaybeReportDangerousDownloadBlocked(
|
|
|
download_prefs_->download_restriction(), "DANGEROUS_FILE_TYPE",
|
|
|
-@@ -1545,6 +1537,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDetermined(
|
|
|
+@@ -1555,6 +1547,7 @@ void ChromeDownloadManagerDelegate::OnDownloadTargetDetermined(
|
|
|
// A dangerous type would take precedence over the blocking of the file.
|
|
|
target_info->danger_type = download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS;
|
|
|
}
|
|
@@ -980,7 +968,7 @@ diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrom
|
|
|
|
|
|
base::FilePath target_path = target_info->target_path;
|
|
|
|
|
|
-@@ -1687,7 +1680,6 @@ void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadOpenedReport(
|
|
|
+@@ -1697,7 +1690,6 @@ void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadOpenedReport(
|
|
|
service->MaybeSendDangerousDownloadOpenedReport(download,
|
|
|
show_download_in_folder);
|
|
|
}
|
|
@@ -988,7 +976,7 @@ diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrom
|
|
|
if (!download->GetAutoOpened()) {
|
|
|
download::DownloadContent download_content =
|
|
|
download::DownloadContentFromMimeType(download->GetMimeType(), false);
|
|
|
-@@ -1695,6 +1687,7 @@ void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadOpenedReport(
|
|
|
+@@ -1705,6 +1697,7 @@ void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadOpenedReport(
|
|
|
download->GetDangerType(), download_content, base::Time::Now(),
|
|
|
download->GetEndTime(), show_download_in_folder);
|
|
|
}
|
|
@@ -1176,7 +1164,7 @@ diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
-@@ -260,14 +264,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profile_(profile) {
|
|
|
+@@ -251,14 +255,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profile_(profile) {
|
|
|
base::FilePath::StringType(1, base::FilePath::kExtensionSeparator) +
|
|
|
extension);
|
|
|
|
|
@@ -1192,7 +1180,7 @@ diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@@ -475,10 +472,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(const GURL& url,
|
|
|
+@@ -466,10 +463,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(const GURL& url,
|
|
|
bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension(
|
|
|
const base::FilePath& file_name) {
|
|
|
base::FilePath::StringType extension = file_name.Extension();
|
|
@@ -1683,7 +1671,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
|
|
|
#include "chrome/browser/ui/file_system_access_dialogs.h"
|
|
|
#include "chrome/common/chrome_paths.h"
|
|
|
#include "components/content_settings/core/browser/host_content_settings_map.h"
|
|
|
-@@ -299,6 +301,7 @@ BindResultCallbackToCurrentSequence(
|
|
|
+@@ -301,6 +303,7 @@ BindResultCallbackToCurrentSequence(
|
|
|
base::SequencedTaskRunnerHandle::Get(), std::move(callback));
|
|
|
}
|
|
|
|
|
@@ -1691,7 +1679,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
|
|
|
void DoSafeBrowsingCheckOnUIThread(
|
|
|
content::GlobalRenderFrameHostId frame_id,
|
|
|
std::unique_ptr<content::FileSystemAccessWriteItem> item,
|
|
|
-@@ -375,6 +378,7 @@ InterpretSafeBrowsingResult(safe_browsing::DownloadCheckResult result) {
|
|
|
+@@ -377,6 +380,7 @@ InterpretSafeBrowsingResult(safe_browsing::DownloadCheckResult result) {
|
|
|
NOTREACHED();
|
|
|
return ChromeFileSystemAccessPermissionContext::AfterWriteCheckResult::kBlock;
|
|
|
}
|
|
@@ -1699,7 +1687,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
|
|
|
|
|
|
std::string GenerateLastPickedDirectoryKey(const std::string& id) {
|
|
|
return id.empty() ? kDefaultLastPickedDirectoryKey
|
|
|
-@@ -1106,6 +1110,7 @@ void ChromeFileSystemAccessPermissionContext::ConfirmSensitiveDirectoryAccess(
|
|
|
+@@ -1130,6 +1134,7 @@ void ChromeFileSystemAccessPermissionContext::ConfirmSensitiveDirectoryAccess(
|
|
|
std::move(callback)));
|
|
|
}
|
|
|
|
|
@@ -1707,7 +1695,7 @@ diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permiss
|
|
|
void ChromeFileSystemAccessPermissionContext::PerformAfterWriteChecks(
|
|
|
std::unique_ptr<content::FileSystemAccessWriteItem> item,
|
|
|
content::GlobalRenderFrameHostId frame_id,
|
|
|
-@@ -1127,6 +1132,7 @@ void ChromeFileSystemAccessPermissionContext::PerformAfterWriteChecks(
|
|
|
+@@ -1151,6 +1156,7 @@ void ChromeFileSystemAccessPermissionContext::PerformAfterWriteChecks(
|
|
|
},
|
|
|
base::SequencedTaskRunnerHandle::Get(), std::move(callback))));
|
|
|
}
|
|
@@ -1760,7 +1748,7 @@ diff --git a/chrome/browser/lookalikes/lookalike_url_controller_client.cc b/chro
|
|
|
diff --git a/chrome/browser/metrics/chrome_metrics_service_client.cc b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
|
--- a/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
|
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
|
-@@ -828,9 +828,6 @@ void ChromeMetricsServiceClient::RegisterMetricsServiceProviders() {
|
|
|
+@@ -824,9 +824,6 @@ void ChromeMetricsServiceClient::RegisterMetricsServiceProviders() {
|
|
|
metrics_service_->RegisterMetricsProvider(
|
|
|
std::make_unique<HttpsEngagementMetricsProvider>());
|
|
|
|
|
@@ -1786,7 +1774,7 @@ diff --git a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc b/c
|
|
|
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
|
|
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
|
|
|
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
|
|
-@@ -828,21 +828,13 @@ autofill::LanguageCode ChromePasswordManagerClient::GetPageLanguage() const {
|
|
|
+@@ -830,21 +830,13 @@ autofill::LanguageCode ChromePasswordManagerClient::GetPageLanguage() const {
|
|
|
|
|
|
safe_browsing::PasswordProtectionService*
|
|
|
ChromePasswordManagerClient::GetPasswordProtectionService() const {
|
|
@@ -1809,7 +1797,7 @@ diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b
|
|
|
}
|
|
|
#endif // defined(ON_FOCUS_PING_ENABLED)
|
|
|
|
|
|
-@@ -852,22 +844,9 @@ void ChromePasswordManagerClient::CheckProtectedPasswordEntry(
|
|
|
+@@ -854,22 +846,9 @@ void ChromePasswordManagerClient::CheckProtectedPasswordEntry(
|
|
|
const std::vector<password_manager::MatchingReusedCredential>&
|
|
|
matching_reused_credentials,
|
|
|
bool password_field_exists) {
|
|
@@ -1832,7 +1820,7 @@ diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b
|
|
|
}
|
|
|
|
|
|
#if !defined(OS_ANDROID)
|
|
|
-@@ -1441,6 +1420,7 @@ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
|
|
|
+@@ -1459,6 +1438,7 @@ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
|
|
|
is_enabled = false;
|
|
|
}
|
|
|
|
|
@@ -1840,7 +1828,7 @@ diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b
|
|
|
// SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing
|
|
|
// warnings until user interaction. If the current page has a delayed warning,
|
|
|
// it'll have a user interaction observer attached. Disable password
|
|
|
-@@ -1451,6 +1431,7 @@ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
|
|
|
+@@ -1469,6 +1449,7 @@ bool ChromePasswordManagerClient::IsPasswordManagementEnabledForCurrentPage(
|
|
|
observer->OnPasswordSaveOrAutofillDenied();
|
|
|
is_enabled = false;
|
|
|
}
|
|
@@ -1911,6 +1899,20 @@ diff --git a/chrome/browser/permissions/chrome_permissions_client.h b/chrome/bro
|
|
|
void OnPromptResolved(
|
|
|
content::BrowserContext* browser_context,
|
|
|
permissions::RequestType request_type,
|
|
|
+diff --git a/chrome/browser/permissions/quiet_notification_permission_ui_config.cc b/chrome/browser/permissions/quiet_notification_permission_ui_config.cc
|
|
|
+--- a/chrome/browser/permissions/quiet_notification_permission_ui_config.cc
|
|
|
++++ b/chrome/browser/permissions/quiet_notification_permission_ui_config.cc
|
|
|
+@@ -89,8 +89,8 @@ bool QuietNotificationPermissionUiConfig::IsCrowdDenyTriggeringEnabled() {
|
|
|
+ return false;
|
|
|
+
|
|
|
+ return base::GetFieldTrialParamByFeatureAsBool(
|
|
|
+- features::kQuietNotificationPrompts, kEnableCrowdDenyTriggering,
|
|
|
+- true /* default */);
|
|
|
++ features::kQuietNotificationPrompts, kEnableCrowdDenyTriggering, // disabled by default in Bromite
|
|
|
++ false /* default */);
|
|
|
+ }
|
|
|
+
|
|
|
+ // static
|
|
|
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
|
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
|
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
@@ -1922,7 +1924,7 @@ diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
|
#include "chrome/browser/search_engines/template_url_fetcher_factory.h"
|
|
|
#include "chrome/browser/search_engines/template_url_service_factory.h"
|
|
|
#include "chrome/browser/segmentation_platform/segmentation_platform_service_factory.h"
|
|
|
-@@ -297,7 +296,6 @@ void ChromeBrowserMainExtraPartsProfiles::
|
|
|
+@@ -298,7 +297,6 @@ void ChromeBrowserMainExtraPartsProfiles::
|
|
|
#if BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
|
CertDbInitializerFactory::GetInstance();
|
|
|
#endif
|
|
@@ -1941,7 +1943,7 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
|
|
#include "chrome/browser/sessions/exit_type_service.h"
|
|
|
#include "chrome/browser/sharing/sharing_service_factory.h"
|
|
|
#include "chrome/browser/signin/identity_manager_factory.h"
|
|
|
-@@ -627,6 +626,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async_prefs) {
|
|
|
+@@ -628,6 +627,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async_prefs) {
|
|
|
|
|
|
mojo::PendingRemote<prefs::mojom::TrackedPreferenceValidationDelegate>
|
|
|
pref_validation_delegate;
|
|
@@ -1949,7 +1951,7 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
|
|
scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_service(
|
|
|
g_browser_process->safe_browsing_service());
|
|
|
if (safe_browsing_service.get()) {
|
|
|
-@@ -638,7 +638,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async_prefs) {
|
|
|
+@@ -639,7 +639,7 @@ void ProfileImpl::LoadPrefsForNormalStartup(bool async_prefs) {
|
|
|
pref_validation_delegate.InitWithNewPipeAndPassReceiver());
|
|
|
}
|
|
|
}
|
|
@@ -1985,7 +1987,7 @@ diff --git a/chrome/browser/safe_browsing/BUILD.gn b/chrome/browser/safe_browsin
|
|
|
|
|
|
if (safe_browsing_mode != 0) {
|
|
|
# "Safe Browsing Basic" files used for safe browsing in full mode
|
|
|
-@@ -162,7 +163,6 @@ static_library("safe_browsing") {
|
|
|
+@@ -164,7 +165,6 @@ static_library("safe_browsing") {
|
|
|
"//components/safe_browsing/content/browser/triggers:ad_sampler_trigger",
|
|
|
"//components/safe_browsing/content/browser/triggers:suspicious_site_trigger",
|
|
|
"//components/safe_browsing/content/browser/triggers:trigger_throttler",
|
|
@@ -2094,11 +2096,10 @@ diff --git a/chrome/browser/safe_browsing/android/java/src/org/chromium/chrome/b
|
|
|
diff --git a/chrome/browser/safe_browsing/android/safe_browsing_bridge.cc b/chrome/browser/safe_browsing/android/safe_browsing_bridge.cc
|
|
|
--- a/chrome/browser/safe_browsing/android/safe_browsing_bridge.cc
|
|
|
+++ b/chrome/browser/safe_browsing/android/safe_browsing_bridge.cc
|
|
|
-@@ -31,57 +31,4 @@ PrefService* GetPrefService() {
|
|
|
- } // namespace
|
|
|
+@@ -32,56 +32,4 @@ PrefService* GetPrefService() {
|
|
|
|
|
|
namespace safe_browsing {
|
|
|
--
|
|
|
+
|
|
|
-static jint JNI_SafeBrowsingBridge_UmaValueForFile(
|
|
|
- JNIEnv* env,
|
|
|
- const base::android::JavaParamRef<jstring>& path) {
|
|
@@ -2147,7 +2148,7 @@ diff --git a/chrome/browser/safe_browsing/android/safe_browsing_bridge.cc b/chro
|
|
|
- signin::IdentityManager* identity_manager =
|
|
|
- IdentityManagerFactory::GetForProfile(
|
|
|
- ProfileManager::GetLastUsedProfile());
|
|
|
-- return password_manager::AuthenticatedLeakCheck::HasAccountForRequest(
|
|
|
+- return password_manager::LeakDetectionCheckImpl::HasAccountForRequest(
|
|
|
- identity_manager);
|
|
|
-}
|
|
|
-
|
|
@@ -2213,7 +2214,7 @@ diff --git a/chrome/browser/safe_browsing/url_lookup_service_factory.cc b/chrome
|
|
|
diff --git a/chrome/browser/safety_check/android/java/src/org/chromium/chrome/browser/safety_check/SafetyCheckMediator.java b/chrome/browser/safety_check/android/java/src/org/chromium/chrome/browser/safety_check/SafetyCheckMediator.java
|
|
|
--- a/chrome/browser/safety_check/android/java/src/org/chromium/chrome/browser/safety_check/SafetyCheckMediator.java
|
|
|
+++ b/chrome/browser/safety_check/android/java/src/org/chromium/chrome/browser/safety_check/SafetyCheckMediator.java
|
|
|
-@@ -30,7 +30,6 @@ import org.chromium.chrome.browser.password_manager.PasswordManagerHelper;
|
|
|
+@@ -29,7 +29,6 @@ import org.chromium.chrome.browser.password_manager.PasswordManagerHelper;
|
|
|
import org.chromium.chrome.browser.preferences.ChromePreferenceKeys;
|
|
|
import org.chromium.chrome.browser.preferences.SharedPreferencesManager;
|
|
|
import org.chromium.chrome.browser.safe_browsing.metrics.SettingsAccessPoint;
|
|
@@ -2221,7 +2222,7 @@ diff --git a/chrome/browser/safety_check/android/java/src/org/chromium/chrome/br
|
|
|
import org.chromium.chrome.browser.safety_check.SafetyCheckProperties.PasswordsState;
|
|
|
import org.chromium.chrome.browser.safety_check.SafetyCheckProperties.SafeBrowsingState;
|
|
|
import org.chromium.chrome.browser.safety_check.SafetyCheckProperties.UpdatesState;
|
|
|
-@@ -177,18 +176,6 @@ class SafetyCheckMediator implements PasswordCheck.Observer {
|
|
|
+@@ -176,18 +175,6 @@ class SafetyCheckMediator implements PasswordCheck.Observer {
|
|
|
// Set the listener for clicking the Safe Browsing element.
|
|
|
mModel.set(SafetyCheckProperties.SAFE_BROWSING_CLICK_LISTENER,
|
|
|
(Preference.OnPreferenceClickListener) (p) -> {
|
|
@@ -2240,40 +2241,6 @@ diff --git a/chrome/browser/safety_check/android/java/src/org/chromium/chrome/br
|
|
|
return true;
|
|
|
});
|
|
|
// Set the listener for clicking the passwords element.
|
|
|
-diff --git a/chrome/browser/signin/ui/android/java/res/layout/fre_uma_dialog.xml b/chrome/browser/signin/ui/android/java/res/layout/fre_uma_dialog.xml
|
|
|
---- a/chrome/browser/signin/ui/android/java/res/layout/fre_uma_dialog.xml
|
|
|
-+++ b/chrome/browser/signin/ui/android/java/res/layout/fre_uma_dialog.xml
|
|
|
-@@ -22,17 +22,6 @@
|
|
|
- android:text="@string/signin_fre_uma_dialog_title"
|
|
|
- style="@style/TextAppearance.Headline.Primary" />
|
|
|
-
|
|
|
-- <Switch
|
|
|
-- android:id="@+id/fre_uma_dialog_switch"
|
|
|
-- android:layout_width="match_parent"
|
|
|
-- android:layout_height="wrap_content"
|
|
|
-- android:layout_marginBottom="12dp"
|
|
|
-- android:text="@string/usage_and_crash_reports_title"
|
|
|
-- android:checked="true"
|
|
|
-- android:gravity="start|center"
|
|
|
-- android:lineSpacingMultiplier="1.2"
|
|
|
-- style="@style/TextAppearance.TextLarge.Primary" />
|
|
|
--
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
-diff --git a/chrome/browser/signin/ui/android/java/src/org/chromium/chrome/browser/signin/ui/fre/FreUMADialogCoordinator.java b/chrome/browser/signin/ui/android/java/src/org/chromium/chrome/browser/signin/ui/fre/FreUMADialogCoordinator.java
|
|
|
---- a/chrome/browser/signin/ui/android/java/src/org/chromium/chrome/browser/signin/ui/fre/FreUMADialogCoordinator.java
|
|
|
-+++ b/chrome/browser/signin/ui/android/java/src/org/chromium/chrome/browser/signin/ui/fre/FreUMADialogCoordinator.java
|
|
|
-@@ -68,9 +68,6 @@ public class FreUMADialogCoordinator {
|
|
|
- .setOnClickListener(v
|
|
|
- -> mDialogManager.dismissDialog(
|
|
|
- mModel, DialogDismissalCause.ACTION_ON_CONTENT));
|
|
|
-- Switch umaSwitch = view.findViewById(R.id.fre_uma_dialog_switch);
|
|
|
-- umaSwitch.setOnCheckedChangeListener(
|
|
|
-- (compoundButton, isChecked) -> listener.onAllowCrashUploadChecked(isChecked));
|
|
|
- return view;
|
|
|
- }
|
|
|
-
|
|
|
diff --git a/chrome/browser/ssl/sct_reporting_service_factory.cc b/chrome/browser/ssl/sct_reporting_service_factory.cc
|
|
|
--- a/chrome/browser/ssl/sct_reporting_service_factory.cc
|
|
|
+++ b/chrome/browser/ssl/sct_reporting_service_factory.cc
|
|
@@ -2313,7 +2280,7 @@ diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ss
|
|
|
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
|
|
#include "chrome/browser/ssl/https_only_mode_tab_helper.h"
|
|
|
#include "chrome/browser/ssl/known_interception_disclosure_infobar_delegate.h"
|
|
|
-@@ -104,13 +103,8 @@ SecurityStateTabHelper::GetVisibleSecurityState() {
|
|
|
+@@ -103,13 +102,8 @@ SecurityStateTabHelper::GetVisibleSecurityState() {
|
|
|
// information is still being initialized, thus no need to check for that.
|
|
|
state->malicious_content_status = GetMaliciousContentStatus();
|
|
|
|
|
@@ -2327,8 +2294,8 @@ diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ss
|
|
|
+ security_state::SafetyTipInfo(
|
|
|
{security_state::SafetyTipStatus::kUnknown, GURL()});
|
|
|
|
|
|
- // If both the on-form warning and the on-submit warning are enabled for mixed
|
|
|
-@@ -217,6 +211,7 @@ bool SecurityStateTabHelper::UsedPolicyInstalledCertificate() const {
|
|
|
+ // If both the mixed form warnings are not disabled by policy we don't degrade
|
|
|
+@@ -210,6 +204,7 @@ bool SecurityStateTabHelper::UsedPolicyInstalledCertificate() const {
|
|
|
|
|
|
security_state::MaliciousContentStatus
|
|
|
SecurityStateTabHelper::GetMaliciousContentStatus() const {
|
|
@@ -2336,7 +2303,7 @@ diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ss
|
|
|
content::NavigationEntry* entry =
|
|
|
web_contents()->GetController().GetVisibleEntry();
|
|
|
if (!entry)
|
|
|
-@@ -300,6 +295,7 @@ SecurityStateTabHelper::GetMaliciousContentStatus() const {
|
|
|
+@@ -293,6 +288,7 @@ SecurityStateTabHelper::GetMaliciousContentStatus() const {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -2373,7 +2340,7 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|
|
"//components/safe_browsing/content/browser/password_protection",
|
|
|
"//components/safe_browsing/content/browser/web_ui",
|
|
|
"//components/safe_browsing/core/browser/db:database_manager",
|
|
|
-@@ -3946,7 +3945,6 @@ static_library("ui") {
|
|
|
+@@ -3957,7 +3956,6 @@ static_library("ui") {
|
|
|
"views/device_chooser_content_view.h",
|
|
|
"views/devtools_process_observer.cc",
|
|
|
"views/devtools_process_observer.h",
|
|
@@ -2381,6 +2348,41 @@ diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|
|
"views/download/download_in_progress_dialog_view.cc",
|
|
|
"views/download/download_in_progress_dialog_view.h",
|
|
|
"views/download/download_item_view.cc",
|
|
|
+diff --git a/chrome/browser/ui/android/signin/java/res/layout/fre_uma_dialog.xml b/chrome/browser/ui/android/signin/java/res/layout/fre_uma_dialog.xml
|
|
|
+--- a/chrome/browser/ui/android/signin/java/res/layout/fre_uma_dialog.xml
|
|
|
++++ b/chrome/browser/ui/android/signin/java/res/layout/fre_uma_dialog.xml
|
|
|
+@@ -32,17 +32,6 @@
|
|
|
+ android:text="@string/signin_fre_uma_dialog_title"
|
|
|
+ style="@style/TextAppearance.Headline.Primary" />
|
|
|
+
|
|
|
+- <Switch
|
|
|
+- android:id="@+id/fre_uma_dialog_switch"
|
|
|
+- android:layout_width="match_parent"
|
|
|
+- android:layout_height="wrap_content"
|
|
|
+- android:layout_marginBottom="12dp"
|
|
|
+- android:text="@string/usage_and_crash_reports_title"
|
|
|
+- android:checked="true"
|
|
|
+- android:gravity="start|center"
|
|
|
+- android:lineSpacingMultiplier="1.2"
|
|
|
+- style="@style/TextAppearance.TextLarge.Primary" />
|
|
|
+-
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/fre/FreUMADialogCoordinator.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/fre/FreUMADialogCoordinator.java
|
|
|
+--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/fre/FreUMADialogCoordinator.java
|
|
|
++++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/fre/FreUMADialogCoordinator.java
|
|
|
+@@ -53,10 +53,6 @@ public class FreUMADialogCoordinator {
|
|
|
+ mView.findViewById(R.id.fre_uma_dialog_dismiss_button).setOnClickListener(v -> {
|
|
|
+ mDialogManager.dismissDialog(mModel, DialogDismissalCause.ACTION_ON_CONTENT);
|
|
|
+ });
|
|
|
+- final Switch umaSwitch = mView.findViewById(R.id.fre_uma_dialog_switch);
|
|
|
+- umaSwitch.setChecked(allowCrashUpload);
|
|
|
+- umaSwitch.setOnCheckedChangeListener(
|
|
|
+- (compoundButton, isChecked) -> listener.onAllowCrashUploadChecked(isChecked));
|
|
|
+
|
|
|
+ mDialogManager.showDialog(mModel, ModalDialogType.APP);
|
|
|
+ }
|
|
|
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
|
|
@@ -2397,7 +2399,7 @@ diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chro
|
|
|
|
|
|
<!-- Metrics settings -->
|
|
|
<message name="IDS_PREFS_METRICS_SETTINGS" desc="Title for the page that allows the user to control how much usage data Chrome uploads. [CHAR_LIMIT=32]">
|
|
|
-@@ -4536,9 +4530,6 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
|
|
+@@ -4549,9 +4543,6 @@ To change this setting, <ph name="BEGIN_LINK"><resetlink></ph>reset sync<p
|
|
|
To use this setting <ph name="BEGIN_LINK"><link></ph>Make searches and browsing better<ph name="END_LINK"></link></ph> must be turned on
|
|
|
</message>
|
|
|
<!-- Usage Stats strings -->
|
|
@@ -2436,7 +2438,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|
|
#include "components/site_engagement/content/site_engagement_helper.h"
|
|
|
#include "components/site_engagement/content/site_engagement_service.h"
|
|
|
#include "components/sync/engine/sync_engine_switches.h"
|
|
|
-@@ -330,17 +332,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
|
+@@ -343,17 +345,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
|
// See https://crbug.com/910288.
|
|
|
resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents(
|
|
|
web_contents);
|
|
@@ -2547,7 +2549,7 @@ diff --git a/chrome/common/safe_browsing/BUILD.gn b/chrome/common/safe_browsing/
|
|
|
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
|
|
--- a/chrome/renderer/chrome_content_renderer_client.cc
|
|
|
+++ b/chrome/renderer/chrome_content_renderer_client.cc
|
|
|
-@@ -97,7 +97,9 @@
|
|
|
+@@ -98,7 +98,9 @@
|
|
|
#include "components/page_load_metrics/renderer/metrics_render_frame_observer.h"
|
|
|
#include "components/paint_preview/buildflags/buildflags.h"
|
|
|
#include "components/safe_browsing/buildflags.h"
|
|
@@ -2560,7 +2562,7 @@ diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer
|
|
|
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
|
|
--- a/chrome/test/BUILD.gn
|
|
|
+++ b/chrome/test/BUILD.gn
|
|
|
-@@ -1196,7 +1196,6 @@ if (!is_android && !is_fuchsia) {
|
|
|
+@@ -1205,7 +1205,6 @@ if (!is_android && !is_fuchsia) {
|
|
|
"//components/resources",
|
|
|
"//components/safe_browsing:buildflags",
|
|
|
"//components/safe_browsing/content/browser",
|
|
@@ -2568,7 +2570,7 @@ diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
|
|
"//components/safe_browsing/content/browser:safe_browsing_service",
|
|
|
"//components/safe_browsing/content/browser/password_protection",
|
|
|
"//components/safe_browsing/content/browser/password_protection:test_support",
|
|
|
-@@ -5349,7 +5348,6 @@ test("unit_tests") {
|
|
|
+@@ -5405,7 +5404,6 @@ test("unit_tests") {
|
|
|
"//components/resources",
|
|
|
"//components/safe_browsing:buildflags",
|
|
|
"//components/safe_browsing/content/browser",
|
|
@@ -2591,7 +2593,7 @@ diff --git a/components/component_updater/installer_policies/BUILD.gn b/componen
|
|
|
diff --git a/components/permissions/permission_request_manager.cc b/components/permissions/permission_request_manager.cc
|
|
|
--- a/components/permissions/permission_request_manager.cc
|
|
|
+++ b/components/permissions/permission_request_manager.cc
|
|
|
-@@ -533,10 +533,7 @@ PermissionRequestManager::PermissionRequestManager(
|
|
|
+@@ -557,10 +557,7 @@ PermissionRequestManager::PermissionRequestManager(
|
|
|
view_(nullptr),
|
|
|
tab_is_hidden_(web_contents->GetVisibility() ==
|
|
|
content::Visibility::HIDDEN),
|
|
@@ -2606,7 +2608,7 @@ diff --git a/components/permissions/permission_request_manager.cc b/components/p
|
|
|
diff --git a/components/safe_browsing/content/browser/BUILD.gn b/components/safe_browsing/content/browser/BUILD.gn
|
|
|
--- a/components/safe_browsing/content/browser/BUILD.gn
|
|
|
+++ b/components/safe_browsing/content/browser/BUILD.gn
|
|
|
-@@ -145,7 +145,6 @@ source_set("unit_tests") {
|
|
|
+@@ -140,7 +140,6 @@ source_set("unit_tests") {
|
|
|
]
|
|
|
|
|
|
deps = [
|
|
@@ -2630,7 +2632,7 @@ diff --git a/components/safe_browsing/content/common/file_type_policies.cc b/com
|
|
|
diff --git a/components/safe_browsing/core/common/features.cc b/components/safe_browsing/core/common/features.cc
|
|
|
--- a/components/safe_browsing/core/common/features.cc
|
|
|
+++ b/components/safe_browsing/core/common/features.cc
|
|
|
-@@ -134,7 +134,7 @@ constexpr base::FeatureParam<bool> kShouldFillOldPhishGuardProto{
|
|
|
+@@ -126,7 +126,7 @@ constexpr base::FeatureParam<bool> kShouldFillOldPhishGuardProto{
|
|
|
&kPasswordProtectionForSignedInUsers, "DeprecateOldProto", false};
|
|
|
|
|
|
const base::Feature kSuspiciousSiteTriggerQuotaFeature{
|
|
@@ -2701,9 +2703,9 @@ diff --git a/content/browser/file_system_access/file_system_access_file_writer_i
|
|
|
auto_close_(auto_close) {
|
|
|
DCHECK_EQ(swap_url.type(), url.type());
|
|
|
DCHECK_EQ(lock_->type(),
|
|
|
-@@ -252,7 +251,7 @@ void FileSystemAccessFileWriterImpl::CloseImpl(CloseCallback callback) {
|
|
|
- /*dest_url=*/url(),
|
|
|
- FileSystemOperation::OPTION_PRESERVE_DESTINATION_PERMISSIONS,
|
|
|
+@@ -254,7 +253,7 @@ void FileSystemAccessFileWriterImpl::CloseImpl(CloseCallback callback) {
|
|
|
+ FileSystemOperation::CopyOrMoveOption::
|
|
|
+ kPreserveDestinationPermissions),
|
|
|
std::move(quarantine_connection_callback_),
|
|
|
- has_transient_user_activation_);
|
|
|
+ false);
|
|
@@ -2729,7 +2731,7 @@ diff --git a/content/browser/file_system_access/safe_move_helper.cc b/content/br
|
|
|
+++ b/content/browser/file_system_access/safe_move_helper.cc
|
|
|
@@ -135,8 +135,7 @@ SafeMoveHelper::SafeMoveHelper(
|
|
|
dest_url_(dest_url),
|
|
|
- option_(option),
|
|
|
+ options_(options),
|
|
|
quarantine_connection_callback_(
|
|
|
- std::move(quarantine_connection_callback)),
|
|
|
- has_transient_user_activation_(has_transient_user_activation) {}
|
|
@@ -2841,7 +2843,7 @@ diff --git a/content/public/browser/file_system_access_permission_context.h b/co
|
|
|
diff --git a/weblayer/BUILD.gn b/weblayer/BUILD.gn
|
|
|
--- a/weblayer/BUILD.gn
|
|
|
+++ b/weblayer/BUILD.gn
|
|
|
-@@ -463,7 +463,6 @@ source_set("weblayer_lib_base") {
|
|
|
+@@ -461,7 +461,6 @@ source_set("weblayer_lib_base") {
|
|
|
"//components/prefs",
|
|
|
"//components/profile_metrics",
|
|
|
"//components/safe_browsing/content/browser",
|
|
@@ -2860,3 +2862,5 @@ diff --git a/weblayer/test/BUILD.gn b/weblayer/test/BUILD.gn
|
|
|
"//components/safe_browsing/content/common:interfaces",
|
|
|
"//components/safe_browsing/core/browser:token_fetcher",
|
|
|
"//components/safe_browsing/core/common",
|
|
|
+--
|
|
|
+2.25.1
|