Browse Source

Update to Chromium 80.0.3987.66

Albert Tang 4 years ago
parent
commit
3ec4da80bf

+ 1 - 1
chromium_version.txt

@@ -1 +1 @@
-80.0.3987.53
+80.0.3987.66

+ 1 - 1
patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch

@@ -819,7 +819,7 @@
        captive_portal::CaptivePortalMetrics::LogCaptivePortalBlockingPageEvent(
 --- a/chrome/browser/ssl/security_state_tab_helper.cc
 +++ b/chrome/browser/ssl/security_state_tab_helper.cc
-@@ -248,92 +248,6 @@ bool SecurityStateTabHelper::UsedPolicyI
+@@ -251,92 +251,6 @@ bool SecurityStateTabHelper::UsedPolicyI
  
  security_state::MaliciousContentStatus
  SecurityStateTabHelper::GetMaliciousContentStatus() const {

+ 8 - 7
patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch

@@ -256,7 +256,7 @@
  }
  #endif  // defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED)
  
-@@ -710,7 +698,9 @@ void ChromePasswordManagerClient::OnInpu
+@@ -713,7 +701,9 @@ void ChromePasswordManagerClient::OnInpu
    if (key_event.windows_key_code == (ui::VKEY_V & 0x1f)) {
      OnPaste();
    } else {
@@ -266,7 +266,7 @@
    }
  #endif  // defined(OS_ANDROID)
  }
-@@ -836,9 +826,11 @@ void ChromePasswordManagerClient::OnPast
+@@ -839,9 +829,11 @@ void ChromePasswordManagerClient::OnPast
    base::string16 text;
    clipboard->ReadText(ui::ClipboardBuffer::kCopyPaste, &text);
    was_on_paste_called_ = true;
@@ -292,7 +292,7 @@
    safe_browsing::PasswordProtectionService* GetPasswordProtectionService()
 --- a/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc
 +++ b/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc
-@@ -17,9 +17,7 @@
+@@ -18,9 +18,7 @@
  #include "chrome/browser/permissions/permission_request.h"
  #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h"
  #include "chrome/browser/permissions/quiet_notification_permission_ui_state.h"
@@ -302,7 +302,7 @@
  
  namespace {
  
-@@ -96,49 +94,14 @@ void ContextualNotificationPermissionUiS
+@@ -111,50 +109,14 @@ void ContextualNotificationPermissionUiS
      Notify(UiToUse::kNormalUi, base::nullopt);
      return;
    }
@@ -331,11 +331,12 @@
 -
 -  base::Optional<UiToUse> ui_to_use = GetUiToUseBasedOnSiteReputation(
 -      CrowdDenyPreloadData::GetInstance()->GetReputationDataForSite(origin));
--  if (ui_to_use) {
--    OnCrowdDenyTriggerEvaluated(*ui_to_use);
+-  if (!ui_to_use || *ui_to_use == UiToUse::kNormalUi) {
+-    OnCrowdDenyTriggerEvaluated(UiToUse::kNormalUi);
 -    return;
 -  }
 -
+-  // PreloadData suggests a spammy site, ping safe browsing to verify.
 -  DCHECK(!safe_browsing_request_);
 -  DCHECK(g_browser_process->safe_browsing_service());
 -
@@ -456,7 +457,7 @@
    if (url.host_piece() == chrome::kChromeUISuggestionsHost)
 --- a/components/password_manager/content/browser/content_password_manager_driver.cc
 +++ b/components/password_manager/content/browser/content_password_manager_driver.cc
-@@ -309,7 +309,7 @@ void ContentPasswordManagerDriver::ShowT
+@@ -310,7 +310,7 @@ void ContentPasswordManagerDriver::ShowT
  void ContentPasswordManagerDriver::CheckSafeBrowsingReputation(
      const GURL& form_action,
      const GURL& frame_url) {

+ 4 - 4
patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch

@@ -2049,7 +2049,7 @@
  #include "components/signin/public/identity_manager/accounts_mutator.h"
  #include "components/signin/public/identity_manager/primary_account_mutator.h"
  #include "components/strings/grit/components_strings.h"
-@@ -545,11 +544,6 @@ void ProfileMenuView::BuildAutofillButto
+@@ -539,11 +538,6 @@ void ProfileMenuView::BuildAutofillButto
  
  void ProfileMenuView::BuildSyncInfo() {
    Profile* profile = browser()->profile();
@@ -2061,7 +2061,7 @@
  
    signin::IdentityManager* identity_manager =
        IdentityManagerFactory::GetForProfile(profile);
-@@ -912,12 +906,6 @@ void ProfileMenuView::AddCurrentProfileV
+@@ -910,12 +904,6 @@ void ProfileMenuView::AddCurrentProfileV
          IDS_PROFILES_EDIT_SIGNED_IN_PROFILE_ACCESSIBLE_NAME, profile_name,
          avatar_item.username));
    } else {
@@ -2375,7 +2375,7 @@
  #include "components/signin/public/base/signin_buildflags.h"
  #include "components/strings/grit/components_strings.h"
  #include "components/subresource_filter/core/browser/subresource_filter_features.h"
-@@ -2560,14 +2559,6 @@ void AddPrivacyStrings(content::WebUIDat
+@@ -2557,14 +2556,6 @@ void AddPrivacyStrings(content::WebUIDat
        {"clearBrowsingData", IDS_SETTINGS_CLEAR_BROWSING_DATA},
        {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION},
        {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT},
@@ -2390,7 +2390,7 @@
        {"syncAndGoogleServicesPrivacyDescription",
         IDS_SETTINGS_SYNC_AND_GOOGLE_SERVICES_PRIVACY_DESC_UNIFIED_CONSENT},
        {"urlKeyedAnonymizedDataCollection",
-@@ -3143,11 +3134,6 @@ void AddSiteSettingsStrings(content::Web
+@@ -3140,11 +3131,6 @@ void AddSiteSettingsStrings(content::Web
    AddLocalizedStringsBulk(html_source, kSensorsLocalizedStrings);
  
    html_source->AddBoolean(

+ 1 - 1
patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch

@@ -27,7 +27,7 @@
  #include "ui/accessibility/accessibility_features.h"
  #include "ui/accessibility/accessibility_switches.h"
  #include "ui/base/ui_base_features.h"
-@@ -1451,6 +1452,14 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1470,6 +1471,14 @@ const FeatureEntry kFeatureEntries[] = {
       "Force punycode hostnames",
       "Force punycode in hostnames instead of Unicode when displaying Internationalized Domain Names (IDNs).",
       kOsAll, SINGLE_VALUE_TYPE("force-punycode-hostnames")},

+ 1 - 1
patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch

@@ -23,7 +23,7 @@ approach to change color components.
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1465,6 +1465,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1484,6 +1484,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Enable Canvas::measureText() fingerprint deception",
       "Scale the output values of Canvas::measureText() with a randomly selected factor in the range -0.0003% to 0.0003%, which are recomputed on every document initialization.",
       kOsAll, SINGLE_VALUE_TYPE(switches::kFingerprintingCanvasMeasureTextNoise)},

+ 1 - 1
patches/extra/bromite/flag-max-connections-per-host.patch

@@ -39,7 +39,7 @@ with limited CPU/memory resources and it is disabled by default.
  // 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 ==
-@@ -2440,6 +2445,9 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -2461,6 +2466,9 @@ const FeatureEntry kFeatureEntries[] = {
       flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll,
       FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)},
  #endif  // TOOLKIT_VIEWS || OS_ANDROID

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1420,6 +1420,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1439,6 +1439,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Enable stacking in tab strip",
       "Forces tabs to be stacked in the tab strip. Otherwise, they follow default behavior.",
       kOsAll, SINGLE_VALUE_TYPE("enable-stacked-tab-strip")},

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch

@@ -20,7 +20,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -1402,6 +1412,10 @@ const FeatureEntry::Choice kEnableCrOSAc
+@@ -1421,6 +1431,10 @@ const FeatureEntry::Choice kEnableCrOSAc
  //
  // When adding a new choice, add it to the end of the list.
  const FeatureEntry kFeatureEntries[] = {

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-force-punycode-hostnames.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1424,6 +1424,10 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1443,6 +1443,10 @@ const FeatureEntry kFeatureEntries[] = {
       "Disable search engine collection",
       "Prevents search engines from being added automatically.",
       kOsAll, SINGLE_VALUE_TYPE("disable-search-engine-collection")},

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch

@@ -17,7 +17,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -3630,6 +3640,11 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -3651,6 +3661,11 @@ const FeatureEntry kFeatureEntries[] = {
       FEATURE_VALUE_TYPE(
           autofill::features::kAutofillEnableAccountWalletStorage)},
  

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch

@@ -20,7 +20,7 @@
  const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
      {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
      {flags_ui::kGenericExperimentChoiceEnabled,
-@@ -3724,6 +3737,11 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -3745,6 +3758,11 @@ const FeatureEntry kFeatureEntries[] = {
       FEATURE_VALUE_TYPE(arc::kEnableUnifiedAudioFocusFeature)},
  #endif  // defined(OS_CHROMEOS)
  

+ 1 - 1
patches/extra/ungoogled-chromium/add-flag-to-stack-tabs.patch

@@ -2,7 +2,7 @@
 
 --- a/chrome/browser/about_flags.cc
 +++ b/chrome/browser/about_flags.cc
-@@ -1402,6 +1402,10 @@ const FeatureEntry::Choice kEnableCrOSAc
+@@ -1421,6 +1421,10 @@ const FeatureEntry::Choice kEnableCrOSAc
  //
  // When adding a new choice, add it to the end of the list.
  const FeatureEntry kFeatureEntries[] = {