Browse Source

Update Chromium to 79.0.3945.130

Zoraver Kang 4 years ago
parent
commit
478de55720

+ 1 - 1
chromium_version.txt

@@ -1 +1 @@
-79.0.3945.117
+79.0.3945.130

+ 3 - 3
patches/core/bromite/disable-fetching-field-trials.patch

@@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials
 
 
 --- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
 --- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
 +++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
 +++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
-@@ -107,10 +107,7 @@ public abstract class ChromeFeatureList
+@@ -107,10 +107,7 @@ public abstract class ChromeFeatureList 
       */
       */
      public static int getFieldTrialParamByFeatureAsInt(
      public static int getFieldTrialParamByFeatureAsInt(
              String featureName, String paramName, int defaultValue) {
              String featureName, String paramName, int defaultValue) {
@@ -22,7 +22,7 @@ Subject: Disable fetching of all field trials
      }
      }
  
  
      /**
      /**
-@@ -127,10 +124,7 @@ public abstract class ChromeFeatureList
+@@ -127,10 +124,7 @@ public abstract class ChromeFeatureList 
       */
       */
      public static double getFieldTrialParamByFeatureAsDouble(
      public static double getFieldTrialParamByFeatureAsDouble(
              String featureName, String paramName, double defaultValue) {
              String featureName, String paramName, double defaultValue) {
@@ -34,7 +34,7 @@ Subject: Disable fetching of all field trials
      }
      }
  
  
      /**
      /**
-@@ -147,10 +141,7 @@ public abstract class ChromeFeatureList
+@@ -147,10 +141,7 @@ public abstract class ChromeFeatureList 
       */
       */
      public static boolean getFieldTrialParamByFeatureAsBoolean(
      public static boolean getFieldTrialParamByFeatureAsBoolean(
              String featureName, String paramName, boolean defaultValue) {
              String featureName, String paramName, boolean defaultValue) {

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

@@ -766,7 +766,7 @@
        CreatePrefService(pref_registry_, CreateExtensionPrefStore(this, false),
        CreatePrefService(pref_registry_, CreateExtensionPrefStore(this, false),
 --- a/chrome/browser/profiles/profiles_state.cc
 --- a/chrome/browser/profiles/profiles_state.cc
 +++ b/chrome/browser/profiles/profiles_state.cc
 +++ b/chrome/browser/profiles/profiles_state.cc
-@@ -227,9 +227,6 @@ void RemoveBrowsingDataForProfile(const
+@@ -227,9 +227,6 @@ void RemoveBrowsingDataForProfile(const 
    // The BrowsingDataRemover relies on many objects that aren't created in unit
    // The BrowsingDataRemover relies on many objects that aren't created in unit
    // tests. Previously this code would depend on content::ResourceDispatcherHost
    // tests. Previously this code would depend on content::ResourceDispatcherHost
    // but that's gone, so do a similar hack for now.
    // but that's gone, so do a similar hack for now.

+ 1 - 1
patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch

@@ -604,7 +604,7 @@ by default.
        "image_url": "{google:baseURL}searchbyimage/upload",
        "image_url": "{google:baseURL}searchbyimage/upload",
 --- a/components/translate/core/browser/translate_url_fetcher.cc
 --- a/components/translate/core/browser/translate_url_fetcher.cc
 +++ b/components/translate/core/browser/translate_url_fetcher.cc
 +++ b/components/translate/core/browser/translate_url_fetcher.cc
-@@ -113,6 +113,7 @@ bool TranslateURLFetcher::Request(const
+@@ -113,6 +113,7 @@ bool TranslateURLFetcher::Request(const 
          max_retry_on_5xx_, network::SimpleURLLoader::RetryMode::RETRY_ON_5XX);
          max_retry_on_5xx_, network::SimpleURLLoader::RetryMode::RETRY_ON_5XX);
    }
    }
  
  

+ 1 - 1
patches/core/ungoogled-chromium/block-trk-and-subdomains.patch

@@ -247,7 +247,7 @@
  
  
 --- a/url/url_constants.h
 --- a/url/url_constants.h
 +++ b/url/url_constants.h
 +++ b/url/url_constants.h
-@@ -32,6 +32,7 @@ COMPONENT_EXPORT(URL) extern const char
+@@ -32,6 +32,7 @@ COMPONENT_EXPORT(URL) extern const char 
  COMPONENT_EXPORT(URL) extern const char kJavaScriptScheme[];
  COMPONENT_EXPORT(URL) extern const char kJavaScriptScheme[];
  COMPONENT_EXPORT(URL) extern const char kMailToScheme[];
  COMPONENT_EXPORT(URL) extern const char kMailToScheme[];
  COMPONENT_EXPORT(URL) extern const char kTelScheme[];
  COMPONENT_EXPORT(URL) extern const char kTelScheme[];

+ 1 - 1
patches/core/ungoogled-chromium/disable-fonts-googleapis-references.patch

@@ -35,7 +35,7 @@
    document.head.appendChild(e);
    document.head.appendChild(e);
 --- a/third_party/catapult/third_party/polymer/components/font-roboto/roboto.html
 --- a/third_party/catapult/third_party/polymer/components/font-roboto/roboto.html
 +++ b/third_party/catapult/third_party/polymer/components/font-roboto/roboto.html
 +++ b/third_party/catapult/third_party/polymer/components/font-roboto/roboto.html
-@@ -7,4 +7,4 @@ The complete set of contributors may be
+@@ -7,4 +7,4 @@ The complete set of contributors may be 
  Code distributed by Google as part of the polymer project is also
  Code distributed by Google as part of the polymer project is also
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  -->
  -->

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

@@ -523,7 +523,7 @@
    base::WeakPtrFactory<NativeFileSystemFileWriterImpl> weak_factory_{this};
    base::WeakPtrFactory<NativeFileSystemFileWriterImpl> weak_factory_{this};
 --- a/content/public/browser/native_file_system_permission_context.h
 --- a/content/public/browser/native_file_system_permission_context.h
 +++ b/content/public/browser/native_file_system_permission_context.h
 +++ b/content/public/browser/native_file_system_permission_context.h
-@@ -95,13 +95,6 @@ class NativeFileSystemPermissionContext
+@@ -95,13 +95,6 @@ class NativeFileSystemPermissionContext 
        base::OnceCallback<void(SensitiveDirectoryResult)> callback) = 0;
        base::OnceCallback<void(SensitiveDirectoryResult)> callback) = 0;
  
  
    enum class AfterWriteCheckResult { kAllow, kBlock };
    enum class AfterWriteCheckResult { kAllow, kBlock };

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

@@ -112,7 +112,7 @@
  
  
  // A preference exposed to Java.
  // A preference exposed to Java.
  // A Java counterpart will be generated for this enum.
  // A Java counterpart will be generated for this enum.
-@@ -69,8 +68,6 @@ const char* const kPrefsExposedToJava[]
+@@ -69,8 +68,6 @@ const char* const kPrefsExposedToJava[] 
      autofill::prefs::kAutofillCreditCardEnabled,
      autofill::prefs::kAutofillCreditCardEnabled,
      prefs::kUsageStatsEnabled,
      prefs::kUsageStatsEnabled,
      offline_pages::prefetch_prefs::kUserSettingEnabled,
      offline_pages::prefetch_prefs::kUserSettingEnabled,
@@ -361,7 +361,7 @@
  #include "components/spellcheck/browser/pref_names.h"
  #include "components/spellcheck/browser/pref_names.h"
  #include "components/translate/core/browser/translate_pref_names.h"
  #include "components/translate/core/browser/translate_pref_names.h"
  #include "extensions/browser/extension_pref_value_map.h"
  #include "extensions/browser/extension_pref_value_map.h"
-@@ -111,11 +110,6 @@ const PrefMappingEntry kPrefMapping[] =
+@@ -111,11 +110,6 @@ const PrefMappingEntry kPrefMapping[] = 
       APIPermission::kPrivacy},
       APIPermission::kPrivacy},
      {"doNotTrackEnabled", prefs::kEnableDoNotTrack, APIPermission::kPrivacy,
      {"doNotTrackEnabled", prefs::kEnableDoNotTrack, APIPermission::kPrivacy,
       APIPermission::kPrivacy},
       APIPermission::kPrivacy},
@@ -1223,7 +1223,7 @@
      RequestOutcome* reason) const {
      RequestOutcome* reason) const {
 --- a/chrome/browser/safe_browsing/chrome_password_protection_service.h
 --- a/chrome/browser/safe_browsing/chrome_password_protection_service.h
 +++ b/chrome/browser/safe_browsing/chrome_password_protection_service.h
 +++ b/chrome/browser/safe_browsing/chrome_password_protection_service.h
-@@ -202,13 +202,6 @@ class ChromePasswordProtectionService :
+@@ -202,13 +202,6 @@ class ChromePasswordProtectionService : 
    bool UserClickedThroughSBInterstitial(
    bool UserClickedThroughSBInterstitial(
        content::WebContents* web_contents) override;
        content::WebContents* web_contents) override;
  
  
@@ -2032,7 +2032,7 @@
  // static
  // static
 --- a/chrome/browser/ui/browser_command_controller.h
 --- a/chrome/browser/ui/browser_command_controller.h
 +++ b/chrome/browser/ui/browser_command_controller.h
 +++ b/chrome/browser/ui/browser_command_controller.h
-@@ -212,7 +212,6 @@ class BrowserCommandController : public
+@@ -212,7 +212,6 @@ class BrowserCommandController : public 
  
  
    PrefChangeRegistrar profile_pref_registrar_;
    PrefChangeRegistrar profile_pref_registrar_;
    PrefChangeRegistrar local_pref_registrar_;
    PrefChangeRegistrar local_pref_registrar_;
@@ -2513,7 +2513,7 @@
  #include "components/strings/grit/components_strings.h"
  #include "components/strings/grit/components_strings.h"
  #include "content/public/browser/web_ui.h"
  #include "content/public/browser/web_ui.h"
  #include "content/public/browser/web_ui_data_source.h"
  #include "content/public/browser/web_ui_data_source.h"
-@@ -106,9 +105,7 @@ void SigninErrorUI::Initialize(Browser*
+@@ -106,9 +105,7 @@ void SigninErrorUI::Initialize(Browser* 
    if (is_profile_blocked) {
    if (is_profile_blocked) {
      source->AddLocalizedString("profileBlockedMessage",
      source->AddLocalizedString("profileBlockedMessage",
                                 IDS_OLD_PROFILES_DISABLED_MESSAGE);
                                 IDS_OLD_PROFILES_DISABLED_MESSAGE);
@@ -3985,7 +3985,7 @@
        primary_account_manager->GetAuthenticatedAccountInfo();
        primary_account_manager->GetAuthenticatedAccountInfo();
 --- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h
 --- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h
 +++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h
 +++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h
-@@ -50,9 +50,6 @@ class PrimaryAccountPolicyManagerImpl :
+@@ -50,9 +50,6 @@ class PrimaryAccountPolicyManagerImpl : 
    // profile-specific local prefs (like kGoogleServicesUsernamePattern).
    // profile-specific local prefs (like kGoogleServicesUsernamePattern).
    PrefChangeRegistrar local_state_pref_registrar_;
    PrefChangeRegistrar local_state_pref_registrar_;
  
  

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

@@ -306,7 +306,7 @@ approach to change color components.
    return sync_token;
    return sync_token;
 --- a/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
 --- a/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
 +++ b/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
 +++ b/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
-@@ -44,6 +44,8 @@ class PLATFORM_EXPORT StaticBitmapImage
+@@ -44,6 +44,8 @@ class PLATFORM_EXPORT StaticBitmapImage 
    static scoped_refptr<StaticBitmapImage> Create(sk_sp<SkData> data,
    static scoped_refptr<StaticBitmapImage> Create(sk_sp<SkData> data,
                                                   const SkImageInfo&);
                                                   const SkImageInfo&);
  
  

+ 1 - 1
patches/extra/inox-patchset/0008-restore-classic-ntp.patch

@@ -39,7 +39,7 @@
  
  
  const base::Feature kRemoteSuggestionsEmulateM58FetchingSchedule{
  const base::Feature kRemoteSuggestionsEmulateM58FetchingSchedule{
      "RemoteSuggestionsEmulateM58FetchingSchedule",
      "RemoteSuggestionsEmulateM58FetchingSchedule",
-@@ -69,10 +69,10 @@ const char kNotificationsDailyLimit[] =
+@@ -69,10 +69,10 @@ const char kNotificationsDailyLimit[] = 
  const char kNotificationsIgnoredLimitParam[] = "ignored_limit";
  const char kNotificationsIgnoredLimitParam[] = "ignored_limit";
  
  
  const base::Feature kKeepPrefetchedContentSuggestions{
  const base::Feature kKeepPrefetchedContentSuggestions{

+ 1 - 1
patches/extra/inox-patchset/0019-disable-battery-status-service.patch

@@ -11,7 +11,7 @@
  }
  }
  
  
  BatteryStatusService::~BatteryStatusService() {
  BatteryStatusService::~BatteryStatusService() {
-@@ -67,58 +64,16 @@ BatteryStatusService::AddCallback(const
+@@ -67,58 +64,16 @@ BatteryStatusService::AddCallback(const 
    DCHECK(main_thread_task_runner_->BelongsToCurrentThread());
    DCHECK(main_thread_task_runner_->BelongsToCurrentThread());
    DCHECK(!is_shutdown_);
    DCHECK(!is_shutdown_);
  
  

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

@@ -41,7 +41,7 @@
  #include "chrome/browser/chrome_notification_types.h"
  #include "chrome/browser/chrome_notification_types.h"
  #include "chrome/browser/extensions/crx_installer.h"
  #include "chrome/browser/extensions/crx_installer.h"
  #include "chrome/browser/extensions/extension_install_prompt.h"
  #include "chrome/browser/extensions/extension_install_prompt.h"
-@@ -126,6 +127,14 @@ scoped_refptr<extensions::CrxInstaller>
+@@ -126,6 +127,14 @@ scoped_refptr<extensions::CrxInstaller> 
    return installer;
    return installer;
  }
  }
  
  
@@ -67,7 +67,7 @@
    }
    }
 --- a/chrome/browser/download/download_crx_util.h
 --- a/chrome/browser/download/download_crx_util.h
 +++ b/chrome/browser/download/download_crx_util.h
 +++ b/chrome/browser/download/download_crx_util.h
-@@ -43,6 +43,10 @@ scoped_refptr<extensions::CrxInstaller>
+@@ -43,6 +43,10 @@ scoped_refptr<extensions::CrxInstaller> 
      Profile* profile,
      Profile* profile,
      const download::DownloadItem& download_item);
      const download::DownloadItem& download_item);