|
@@ -40,7 +40,7 @@ Subject: ungoogled-chromium: Disable safe browsing
|
|
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
|
--- a/chrome/browser/BUILD.gn
|
|
--- a/chrome/browser/BUILD.gn
|
|
+++ b/chrome/browser/BUILD.gn
|
|
+++ b/chrome/browser/BUILD.gn
|
|
-@@ -2800,8 +2800,6 @@ jumbo_split_static_library("browser") {
|
|
|
|
|
|
+@@ -2828,8 +2828,6 @@ jumbo_split_static_library("browser") {
|
|
"download/download_commands.h",
|
|
"download/download_commands.h",
|
|
"download/download_crx_util.cc",
|
|
"download/download_crx_util.cc",
|
|
"download/download_crx_util.h",
|
|
"download/download_crx_util.h",
|
|
@@ -98,9 +98,9 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
#include "chrome/browser/resource_coordinator/resource_coordinator_parts.h"
|
|
#include "chrome/browser/resource_coordinator/resource_coordinator_parts.h"
|
|
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
|
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
|
|
#include "chrome/browser/shell_integration.h"
|
|
#include "chrome/browser/shell_integration.h"
|
|
- #include "chrome/browser/status_icons/status_tray.h"
|
|
|
|
- #include "chrome/browser/ui/browser_dialogs.h"
|
|
|
|
-@@ -369,8 +368,6 @@ void BrowserProcessImpl::StartTearDown() {
|
|
|
|
|
|
+ #include "chrome/browser/site_isolation/prefs_observer.h"
|
|
|
|
+ #include "chrome/browser/startup_data.h"
|
|
|
|
+@@ -386,8 +385,6 @@ void BrowserProcessImpl::StartTearDown() {
|
|
// that URLFetcher operation before going away.)
|
|
// that URLFetcher operation before going away.)
|
|
metrics_services_manager_.reset();
|
|
metrics_services_manager_.reset();
|
|
intranet_redirect_detector_.reset();
|
|
intranet_redirect_detector_.reset();
|
|
@@ -109,7 +109,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
network_time_tracker_.reset();
|
|
network_time_tracker_.reset();
|
|
#if BUILDFLAG(ENABLE_PLUGINS)
|
|
#if BUILDFLAG(ENABLE_PLUGINS)
|
|
plugins_resource_service_.reset();
|
|
plugins_resource_service_.reset();
|
|
-@@ -992,22 +989,6 @@ StatusTray* BrowserProcessImpl::status_tray() {
|
|
|
|
|
|
+@@ -1008,22 +1005,6 @@ StatusTray* BrowserProcessImpl::status_tray() {
|
|
return status_tray_.get();
|
|
return status_tray_.get();
|
|
}
|
|
}
|
|
|
|
|
|
@@ -132,7 +132,7 @@ diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_pro
|
|
subresource_filter::RulesetService*
|
|
subresource_filter::RulesetService*
|
|
BrowserProcessImpl::subresource_filter_ruleset_service() {
|
|
BrowserProcessImpl::subresource_filter_ruleset_service() {
|
|
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
-@@ -1292,16 +1273,6 @@ void BrowserProcessImpl::CreateBackgroundPrintingManager() {
|
|
|
|
|
|
+@@ -1311,16 +1292,6 @@ void BrowserProcessImpl::CreateBackgroundPrintingManager() {
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
@@ -152,7 +152,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
|
|
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
|
|
--- a/chrome/browser/browser_process_impl.h
|
|
--- a/chrome/browser/browser_process_impl.h
|
|
+++ b/chrome/browser/browser_process_impl.h
|
|
+++ b/chrome/browser/browser_process_impl.h
|
|
-@@ -172,9 +172,6 @@ class BrowserProcessImpl : public BrowserProcess,
|
|
|
|
|
|
+@@ -173,9 +173,6 @@ class BrowserProcessImpl : public BrowserProcess,
|
|
void set_background_mode_manager_for_test(
|
|
void set_background_mode_manager_for_test(
|
|
std::unique_ptr<BackgroundModeManager> manager) override;
|
|
std::unique_ptr<BackgroundModeManager> manager) override;
|
|
StatusTray* status_tray() override;
|
|
StatusTray* status_tray() override;
|
|
@@ -162,7 +162,7 @@ diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_proc
|
|
subresource_filter::RulesetService* subresource_filter_ruleset_service()
|
|
subresource_filter::RulesetService* subresource_filter_ruleset_service()
|
|
override;
|
|
override;
|
|
optimization_guide::OptimizationGuideService* optimization_guide_service()
|
|
optimization_guide::OptimizationGuideService* optimization_guide_service()
|
|
-@@ -320,9 +317,6 @@ class BrowserProcessImpl : public BrowserProcess,
|
|
|
|
|
|
+@@ -321,9 +318,6 @@ class BrowserProcessImpl : public BrowserProcess,
|
|
std::unique_ptr<BackgroundModeManager> background_mode_manager_;
|
|
std::unique_ptr<BackgroundModeManager> background_mode_manager_;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -175,7 +175,7 @@ diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_proc
|
|
diff --git a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
diff --git a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
--- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
+++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
|
|
-@@ -646,36 +646,6 @@ void ChromeBrowsingDataRemoverDelegate::RemoveEmbedderData(
|
|
|
|
|
|
+@@ -639,36 +639,6 @@ void ChromeBrowsingDataRemoverDelegate::RemoveEmbedderData(
|
|
CONTENT_SETTINGS_TYPE_CLIENT_HINTS, base::Time(), base::Time::Max(),
|
|
CONTENT_SETTINGS_TYPE_CLIENT_HINTS, base::Time(), base::Time::Max(),
|
|
website_settings_filter);
|
|
website_settings_filter);
|
|
|
|
|
|
@@ -215,7 +215,7 @@ diff --git a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.
|
|
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
|
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
|
|
--- a/chrome/browser/chrome_content_browser_client.cc
|
|
+++ b/chrome/browser/chrome_content_browser_client.cc
|
|
+++ b/chrome/browser/chrome_content_browser_client.cc
|
|
-@@ -861,30 +861,6 @@ void SetApplicationLocaleOnIOThread(const std::string& locale) {
|
|
|
|
|
|
+@@ -887,30 +887,6 @@ void SetApplicationLocaleOnIOThread(const std::string& locale) {
|
|
GetIOThreadApplicationLocale() = locale;
|
|
GetIOThreadApplicationLocale() = locale;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -246,7 +246,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
#if defined(OS_ANDROID)
|
|
#if defined(OS_ANDROID)
|
|
float GetDeviceScaleAdjustment() {
|
|
float GetDeviceScaleAdjustment() {
|
|
static const float kMinFSM = 1.05f;
|
|
static const float kMinFSM = 1.05f;
|
|
-@@ -2090,7 +2066,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
|
|
|
|
+@@ -2120,7 +2096,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
|
// Disable client-side phishing detection in the renderer if it is
|
|
// Disable client-side phishing detection in the renderer if it is
|
|
// disabled in the Profile preferences or the browser process.
|
|
// disabled in the Profile preferences or the browser process.
|
|
if (!prefs->GetBoolean(prefs::kSafeBrowsingEnabled) ||
|
|
if (!prefs->GetBoolean(prefs::kSafeBrowsingEnabled) ||
|
|
@@ -255,7 +255,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
command_line->AppendSwitch(
|
|
command_line->AppendSwitch(
|
|
switches::kDisableClientSidePhishingDetection);
|
|
switches::kDisableClientSidePhishingDetection);
|
|
}
|
|
}
|
|
-@@ -2719,7 +2695,7 @@ void ChromeContentBrowserClient::AllowCertificateError(
|
|
|
|
|
|
+@@ -2779,7 +2755,7 @@ void ChromeContentBrowserClient::AllowCertificateError(
|
|
SSLErrorHandler::HandleSSLError(
|
|
SSLErrorHandler::HandleSSLError(
|
|
web_contents, cert_error, ssl_info, request_url,
|
|
web_contents, cert_error, ssl_info, request_url,
|
|
expired_previous_decision,
|
|
expired_previous_decision,
|
|
@@ -264,7 +264,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
callback, SSLErrorHandler::BlockingPageReadyCallback());
|
|
callback, SSLErrorHandler::BlockingPageReadyCallback());
|
|
}
|
|
}
|
|
|
|
|
|
-@@ -3004,8 +2980,6 @@ bool ChromeContentBrowserClient::CanCreateWindow(
|
|
|
|
|
|
+@@ -3066,8 +3042,6 @@ bool ChromeContentBrowserClient::CanCreateWindow(
|
|
void ChromeContentBrowserClient::ResourceDispatcherHostCreated() {
|
|
void ChromeContentBrowserClient::ResourceDispatcherHostCreated() {
|
|
DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
|
|
|
@@ -273,7 +273,7 @@ diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/ch
|
|
for (size_t i = 0; i < extra_parts_.size(); ++i)
|
|
for (size_t i = 0; i < extra_parts_.size(); ++i)
|
|
extra_parts_[i]->ResourceDispatcherHostCreated();
|
|
extra_parts_[i]->ResourceDispatcherHostCreated();
|
|
|
|
|
|
-@@ -4243,7 +4217,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
|
|
|
|
|
+@@ -4340,7 +4314,7 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
|
if (base::FeatureList::IsEnabled(features::kSSLCommittedInterstitials)) {
|
|
if (base::FeatureList::IsEnabled(features::kSSLCommittedInterstitials)) {
|
|
throttles.push_back(std::make_unique<SSLErrorNavigationThrottle>(
|
|
throttles.push_back(std::make_unique<SSLErrorNavigationThrottle>(
|
|
handle,
|
|
handle,
|
|
@@ -309,7 +309,7 @@ diff --git a/chrome/browser/component_updater/file_type_policies_component_insta
|
|
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
|
|
-@@ -327,13 +327,6 @@ ChromeDownloadManagerDelegate::~ChromeDownloadManagerDelegate() {
|
|
|
|
|
|
+@@ -319,13 +319,6 @@ ChromeDownloadManagerDelegate::~ChromeDownloadManagerDelegate() {
|
|
|
|
|
|
void ChromeDownloadManagerDelegate::SetDownloadManager(DownloadManager* dm) {
|
|
void ChromeDownloadManagerDelegate::SetDownloadManager(DownloadManager* dm) {
|
|
download_manager_ = dm;
|
|
download_manager_ = dm;
|
|
@@ -323,7 +323,7 @@ diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrom
|
|
}
|
|
}
|
|
|
|
|
|
#if defined(OS_ANDROID)
|
|
#if defined(OS_ANDROID)
|
|
-@@ -644,16 +637,6 @@ void ChromeDownloadManagerDelegate::ChooseSavePath(
|
|
|
|
|
|
+@@ -636,16 +629,6 @@ void ChromeDownloadManagerDelegate::ChooseSavePath(
|
|
|
|
|
|
void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName(
|
|
void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName(
|
|
base::FilePath* filename) {
|
|
base::FilePath* filename) {
|
|
@@ -356,7 +356,7 @@ diff --git a/chrome/browser/download/download_item_model.cc b/chrome/browser/dow
|
|
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
|
|
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
|
|
--- a/chrome/browser/download/download_prefs.cc
|
|
--- a/chrome/browser/download/download_prefs.cc
|
|
+++ b/chrome/browser/download/download_prefs.cc
|
|
+++ b/chrome/browser/download/download_prefs.cc
|
|
-@@ -219,14 +219,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profile_(profile) {
|
|
|
|
|
|
+@@ -224,14 +224,7 @@ DownloadPrefs::DownloadPrefs(Profile* profile) : profile_(profile) {
|
|
base::FilePath::StringType(1, base::FilePath::kExtensionSeparator) +
|
|
base::FilePath::StringType(1, base::FilePath::kExtensionSeparator) +
|
|
extension);
|
|
extension);
|
|
|
|
|
|
@@ -428,7 +428,7 @@ diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/b
|
|
#include "chrome/browser/download/download_file_icon_extractor.h"
|
|
#include "chrome/browser/download/download_file_icon_extractor.h"
|
|
#include "chrome/browser/download/download_open_prompt.h"
|
|
#include "chrome/browser/download/download_open_prompt.h"
|
|
#include "chrome/browser/download/download_prefs.h"
|
|
#include "chrome/browser/download/download_prefs.h"
|
|
-@@ -1305,9 +1304,6 @@ DownloadsAcceptDangerFunction::DownloadsAcceptDangerFunction() {}
|
|
|
|
|
|
+@@ -1304,9 +1303,6 @@ DownloadsAcceptDangerFunction::DownloadsAcceptDangerFunction() {}
|
|
|
|
|
|
DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {}
|
|
DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {}
|
|
|
|
|
|
@@ -438,7 +438,7 @@ diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/b
|
|
bool DownloadsAcceptDangerFunction::RunAsync() {
|
|
bool DownloadsAcceptDangerFunction::RunAsync() {
|
|
std::unique_ptr<downloads::AcceptDanger::Params> params(
|
|
std::unique_ptr<downloads::AcceptDanger::Params> params(
|
|
downloads::AcceptDanger::Params::Create(*args_));
|
|
downloads::AcceptDanger::Params::Create(*args_));
|
|
-@@ -1345,40 +1341,7 @@ void DownloadsAcceptDangerFunction::PromptOrWait(int download_id, int retries) {
|
|
|
|
|
|
+@@ -1344,40 +1340,7 @@ void DownloadsAcceptDangerFunction::PromptOrWait(int download_id, int retries) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
RecordApiFunctions(DOWNLOADS_FUNCTION_ACCEPT_DANGER);
|
|
RecordApiFunctions(DOWNLOADS_FUNCTION_ACCEPT_DANGER);
|
|
@@ -654,7 +654,7 @@ diff --git a/chrome/browser/extensions/blacklist_state_fetcher.h b/chrome/browse
|
|
diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
--- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
--- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
+++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
+++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
|
-@@ -289,8 +289,7 @@ void NotifyUIThreadOfRequestComplete(
|
|
|
|
|
|
+@@ -290,8 +290,7 @@ void NotifyUIThreadOfRequestComplete(
|
|
} // namespace
|
|
} // namespace
|
|
|
|
|
|
ChromeResourceDispatcherHostDelegate::ChromeResourceDispatcherHostDelegate()
|
|
ChromeResourceDispatcherHostDelegate::ChromeResourceDispatcherHostDelegate()
|
|
@@ -664,7 +664,7 @@ diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b
|
|
|
|
|
|
ChromeResourceDispatcherHostDelegate::~ChromeResourceDispatcherHostDelegate() {
|
|
ChromeResourceDispatcherHostDelegate::~ChromeResourceDispatcherHostDelegate() {
|
|
#if BUILDFLAG(ENABLE_EXTENSIONS)
|
|
#if BUILDFLAG(ENABLE_EXTENSIONS)
|
|
-@@ -304,8 +303,6 @@ void ChromeResourceDispatcherHostDelegate::RequestBeginning(
|
|
|
|
|
|
+@@ -305,8 +304,6 @@ void ChromeResourceDispatcherHostDelegate::RequestBeginning(
|
|
content::AppCacheService* appcache_service,
|
|
content::AppCacheService* appcache_service,
|
|
ResourceType resource_type,
|
|
ResourceType resource_type,
|
|
std::vector<std::unique_ptr<content::ResourceThrottle>>* throttles) {
|
|
std::vector<std::unique_ptr<content::ResourceThrottle>>* throttles) {
|
|
@@ -676,7 +676,7 @@ diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b
|
|
diff --git a/chrome/browser/metrics/chrome_metrics_service_client.cc b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
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
|
|
--- a/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
|
-@@ -718,9 +718,6 @@ void ChromeMetricsServiceClient::RegisterMetricsServiceProviders() {
|
|
|
|
|
|
+@@ -695,9 +695,6 @@ void ChromeMetricsServiceClient::RegisterMetricsServiceProviders() {
|
|
metrics_service_->RegisterMetricsProvider(
|
|
metrics_service_->RegisterMetricsProvider(
|
|
std::make_unique<HttpsEngagementMetricsProvider>());
|
|
std::make_unique<HttpsEngagementMetricsProvider>());
|
|
|
|
|
|
@@ -702,7 +702,7 @@ diff --git a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc b/c
|
|
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
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
|
|
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
-@@ -237,7 +237,6 @@ void ChromeBrowserMainExtraPartsProfiles::
|
|
|
|
|
|
+@@ -238,7 +238,6 @@ void ChromeBrowserMainExtraPartsProfiles::
|
|
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
|
|
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
|
|
CaptivePortalServiceFactory::GetInstance();
|
|
CaptivePortalServiceFactory::GetInstance();
|
|
#endif
|
|
#endif
|
|
@@ -713,7 +713,7 @@ diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
|
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
|
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
|
--- a/chrome/browser/profiles/profile_impl.cc
|
|
--- a/chrome/browser/profiles/profile_impl.cc
|
|
+++ b/chrome/browser/profiles/profile_impl.cc
|
|
+++ b/chrome/browser/profiles/profile_impl.cc
|
|
-@@ -563,18 +563,6 @@ ProfileImpl::ProfileImpl(
|
|
|
|
|
|
+@@ -562,18 +562,6 @@ ProfileImpl::ProfileImpl(
|
|
create_mode == CREATE_MODE_SYNCHRONOUS);
|
|
create_mode == CREATE_MODE_SYNCHRONOUS);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -732,7 +732,7 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
|
content::BrowserContext::Initialize(this, path_);
|
|
content::BrowserContext::Initialize(this, path_);
|
|
|
|
|
|
{
|
|
{
|
|
-@@ -583,7 +571,7 @@ ProfileImpl::ProfileImpl(
|
|
|
|
|
|
+@@ -582,7 +570,7 @@ ProfileImpl::ProfileImpl(
|
|
->CreateDelegate();
|
|
->CreateDelegate();
|
|
delegate->InitPrefRegistry(pref_registry_.get());
|
|
delegate->InitPrefRegistry(pref_registry_.get());
|
|
prefs_ = chrome_prefs::CreateProfilePrefs(
|
|
prefs_ = chrome_prefs::CreateProfilePrefs(
|
|
@@ -799,7 +799,7 @@ diff --git a/chrome/browser/ssl/cert_report_helper.cc b/chrome/browser/ssl/cert_
|
|
diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ssl/security_state_tab_helper.cc
|
|
diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ssl/security_state_tab_helper.cc
|
|
--- a/chrome/browser/ssl/security_state_tab_helper.cc
|
|
--- a/chrome/browser/ssl/security_state_tab_helper.cc
|
|
+++ b/chrome/browser/ssl/security_state_tab_helper.cc
|
|
+++ b/chrome/browser/ssl/security_state_tab_helper.cc
|
|
-@@ -186,77 +186,6 @@ bool SecurityStateTabHelper::UsedPolicyInstalledCertificate() const {
|
|
|
|
|
|
+@@ -195,77 +195,6 @@ bool SecurityStateTabHelper::UsedPolicyInstalledCertificate() const {
|
|
|
|
|
|
security_state::MaliciousContentStatus
|
|
security_state::MaliciousContentStatus
|
|
SecurityStateTabHelper::GetMaliciousContentStatus() const {
|
|
SecurityStateTabHelper::GetMaliciousContentStatus() const {
|
|
@@ -827,7 +827,7 @@ diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ss
|
|
- case safe_browsing::SB_THREAT_TYPE_URL_UNWANTED:
|
|
- case safe_browsing::SB_THREAT_TYPE_URL_UNWANTED:
|
|
- return security_state::MALICIOUS_CONTENT_STATUS_UNWANTED_SOFTWARE;
|
|
- return security_state::MALICIOUS_CONTENT_STATUS_UNWANTED_SOFTWARE;
|
|
- case safe_browsing::SB_THREAT_TYPE_SIGN_IN_PASSWORD_REUSE:
|
|
- case safe_browsing::SB_THREAT_TYPE_SIGN_IN_PASSWORD_REUSE:
|
|
--#if defined(SAFE_BROWSING_DB_LOCAL)
|
|
|
|
|
|
+-#if defined(FULL_SAFE_BROWSING)
|
|
- if (safe_browsing::ChromePasswordProtectionService::
|
|
- if (safe_browsing::ChromePasswordProtectionService::
|
|
- ShouldShowPasswordReusePageInfoBubble(
|
|
- ShouldShowPasswordReusePageInfoBubble(
|
|
- web_contents(),
|
|
- web_contents(),
|
|
@@ -841,7 +841,7 @@ diff --git a/chrome/browser/ssl/security_state_tab_helper.cc b/chrome/browser/ss
|
|
- return security_state::MALICIOUS_CONTENT_STATUS_SOCIAL_ENGINEERING;
|
|
- return security_state::MALICIOUS_CONTENT_STATUS_SOCIAL_ENGINEERING;
|
|
-#endif
|
|
-#endif
|
|
- case safe_browsing::SB_THREAT_TYPE_ENTERPRISE_PASSWORD_REUSE:
|
|
- case safe_browsing::SB_THREAT_TYPE_ENTERPRISE_PASSWORD_REUSE:
|
|
--#if defined(SAFE_BROWSING_DB_LOCAL)
|
|
|
|
|
|
+-#if defined(FULL_SAFE_BROWSING)
|
|
- if (safe_browsing::ChromePasswordProtectionService::
|
|
- if (safe_browsing::ChromePasswordProtectionService::
|
|
- ShouldShowPasswordReusePageInfoBubble(
|
|
- ShouldShowPasswordReusePageInfoBubble(
|
|
- web_contents(),
|
|
- web_contents(),
|
|
@@ -904,8 +904,8 @@ diff --git a/chrome/browser/subresource_filter/chrome_subresource_filter_client.
|
|
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
|
|
--- a/chrome/browser/ui/BUILD.gn
|
|
--- a/chrome/browser/ui/BUILD.gn
|
|
+++ b/chrome/browser/ui/BUILD.gn
|
|
+++ b/chrome/browser/ui/BUILD.gn
|
|
-@@ -2461,7 +2461,6 @@ jumbo_split_static_library("ui") {
|
|
|
|
- "views/cookie_info_view.h",
|
|
|
|
|
|
+@@ -2514,7 +2514,6 @@ jumbo_split_static_library("ui") {
|
|
|
|
+ "views/desktop_capture/desktop_media_tab_list.h",
|
|
"views/device_chooser_content_view.cc",
|
|
"views/device_chooser_content_view.cc",
|
|
"views/device_chooser_content_view.h",
|
|
"views/device_chooser_content_view.h",
|
|
- "views/download/download_danger_prompt_views.cc",
|
|
- "views/download/download_danger_prompt_views.cc",
|
|
@@ -935,7 +935,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
|
|
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
|
|
#include "chrome/browser/ui/hung_plugin_tab_helper.h"
|
|
#include "chrome/browser/ui/hung_plugin_tab_helper.h"
|
|
#include "chrome/browser/ui/sad_tab_helper.h"
|
|
#include "chrome/browser/ui/sad_tab_helper.h"
|
|
-@@ -201,10 +201,10 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
|
|
|
|
+@@ -198,10 +198,10 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient(
|
|
ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient(
|
|
web_contents,
|
|
web_contents,
|
|
autofill::ChromeAutofillClient::FromWebContents(web_contents));
|
|
autofill::ChromeAutofillClient::FromWebContents(web_contents));
|
|
@@ -950,7 +950,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|
ChromeTranslateClient::CreateForWebContents(web_contents);
|
|
ChromeTranslateClient::CreateForWebContents(web_contents);
|
|
ClientHintsObserver::CreateForWebContents(web_contents);
|
|
ClientHintsObserver::CreateForWebContents(web_contents);
|
|
ConnectionHelpTabHelper::CreateForWebContents(web_contents);
|
|
ConnectionHelpTabHelper::CreateForWebContents(web_contents);
|
|
-@@ -244,10 +244,8 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
|
|
|
|
+@@ -242,10 +242,8 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
PreviewsUITabHelper::CreateForWebContents(web_contents);
|
|
PreviewsUITabHelper::CreateForWebContents(web_contents);
|
|
RecentlyAudibleHelper::CreateForWebContents(web_contents);
|
|
RecentlyAudibleHelper::CreateForWebContents(web_contents);
|
|
ResourceLoadingHintsWebContentsObserver::CreateForWebContents(web_contents);
|
|
ResourceLoadingHintsWebContentsObserver::CreateForWebContents(web_contents);
|
|
@@ -963,7 +963,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|
SearchEngineTabHelper::CreateForWebContents(web_contents);
|
|
SearchEngineTabHelper::CreateForWebContents(web_contents);
|
|
SecurityStateTabHelper::CreateForWebContents(web_contents);
|
|
SecurityStateTabHelper::CreateForWebContents(web_contents);
|
|
if (SiteEngagementService::IsEnabled())
|
|
if (SiteEngagementService::IsEnabled())
|
|
-@@ -297,7 +295,7 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
|
|
|
|
+@@ -295,7 +293,7 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
|
web_contents, std::make_unique<ChromePDFWebContentsHelperClient>());
|
|
web_contents, std::make_unique<ChromePDFWebContentsHelperClient>());
|
|
PluginObserver::CreateForWebContents(web_contents);
|
|
PluginObserver::CreateForWebContents(web_contents);
|
|
SadTabHelper::CreateForWebContents(web_contents);
|
|
SadTabHelper::CreateForWebContents(web_contents);
|
|
@@ -971,7 +971,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|
+ //safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
|
|
+ //safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
|
|
SearchTabHelper::CreateForWebContents(web_contents);
|
|
SearchTabHelper::CreateForWebContents(web_contents);
|
|
TabDialogs::CreateForWebContents(web_contents);
|
|
TabDialogs::CreateForWebContents(web_contents);
|
|
- web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents);
|
|
|
|
|
|
+ if (base::FeatureList::IsEnabled(features::kTabHoverCardImages))
|
|
diff --git a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
diff --git a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
|
|
@@ -1036,15 +1036,15 @@ diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer
|
|
diff --git a/components/safe_browsing/features.cc b/components/safe_browsing/features.cc
|
|
diff --git a/components/safe_browsing/features.cc b/components/safe_browsing/features.cc
|
|
--- a/components/safe_browsing/features.cc
|
|
--- a/components/safe_browsing/features.cc
|
|
+++ b/components/safe_browsing/features.cc
|
|
+++ b/components/safe_browsing/features.cc
|
|
-@@ -39,7 +39,7 @@ const base::Feature kForceEnableResetPasswordWebUI{
|
|
|
|
- "ForceEnableResetPasswordWebUI", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
|
|
+@@ -43,7 +43,7 @@ const base::Feature kPasswordProtectionForSignedInUsers{
|
|
|
|
+ base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
|
|
const base::Feature kSuspiciousSiteTriggerQuotaFeature{
|
|
const base::Feature kSuspiciousSiteTriggerQuotaFeature{
|
|
- "SafeBrowsingSuspiciousSiteTriggerQuota", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
- "SafeBrowsingSuspiciousSiteTriggerQuota", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
+ "SafeBrowsingSuspiciousSiteTriggerQuota", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
+ "SafeBrowsingSuspiciousSiteTriggerQuota", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
|
|
const base::Feature kTelemetryForApkDownloads{
|
|
const base::Feature kTelemetryForApkDownloads{
|
|
- "SafeBrowsingTelemetryForApkDownloads", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
|
|
|
+ "SafeBrowsingTelemetryForApkDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
diff --git a/components/subresource_filter/core/browser/subresource_filter_features.cc b/components/subresource_filter/core/browser/subresource_filter_features.cc
|
|
diff --git a/components/subresource_filter/core/browser/subresource_filter_features.cc b/components/subresource_filter/core/browser/subresource_filter_features.cc
|
|
--- a/components/subresource_filter/core/browser/subresource_filter_features.cc
|
|
--- a/components/subresource_filter/core/browser/subresource_filter_features.cc
|
|
+++ b/components/subresource_filter/core/browser/subresource_filter_features.cc
|
|
+++ b/components/subresource_filter/core/browser/subresource_filter_features.cc
|