Commit Graph
1137 Commits
Author SHA1 Message Date
Mario Sanchez Prada 6d86e0f8ad Updated strings for Chromium 98.0.4723.0. 2022-01-24 15:34:00 -05:00
Mario Sanchez Prada e11b736a58 Don't ever return fixed plugins data, use Brave's farbling method
The NavigatorPluginsFixed feature is now unconditionally enabled, so
we need to add some extra code to make sure that we always rely on
Brave's farbling mechanism, instead of returning upstream's fixed
plugins data.

Chromium change:

https://github.com/chromium/chromium/commit/c2abba012946a341b479821594eccaf45c893b3f

commit c2abba012946a341b479821594eccaf45c893b3f
Author: Mason Freed <masonf@chromium.org>
Date:   Tue Nov 16 00:38:55 2021 +0000

    Remove the NavigatorPluginsFixed feature flag

    This feature shipped successfully in M94, with no reported bugs.
    As such, this CL removes the feature flags. Note that the various
    uses of |should_return_fixed_plugin_data_| need to stay, as they
    are still used to re-enable the dynamic plugin lists for apps,
    which is controlled via:
       GetSettings()->GetAllowNonEmptyNavigatorPlugins()
    until at least June, 2022.

    Bug: 1171373,1164635
2022-01-24 15:33:52 -05:00
Mario Sanchez Prada 0da7ad9d63 Updated strings for Chromium 98.0.4710.4. 2022-01-24 15:33:50 -05:00
Mario Sanchez Prada 732d93f678 Updated strings for Chromium 98.0.4706.0. 2022-01-24 15:33:42 -05:00
Mario Sanchez Prada bbf5fd3fe9 Remove deprecated DISALLOW_ macros from Brave-specific code
Macros such as DISALLOW_COPY_AND_ASSIGN() are deprecated since r711900
per style arbitration [1]. This commit replaces the macros with deleted
constructors and methods, which is preferred by the Google C++ Style
Guide [2][3].

Also remove unneeded "base/macros.h" #includes when possible.

This CL is created semi-mechanically with remove_disallow and
remove_base_macros [4].

[1]: https://groups.google.com/a/chromium.org/g/cxx/c/qwH2hxaEjac/m/TUKq6eqfCwAJ
[2]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-dos-and-donts.md#explicitly-declare-class-copyability_movability
[3]: https://google.github.io/styleguide/cppguide.html#Copyable_Movable_Types
[4]: https://pkg.go.dev/go.timothygu.me/tools/cr/cmd

Chromium change:

https://chromium.googlesource.com/chromium/src.git/+/d002a3bee7ae75780b604d17df19291a3dd303fb

commit d002a3bee7ae75780b604d17df19291a3dd303fb
Author: Peter Boström <pbos@chromium.org>
Date:   Fri Nov 5 17:17:19 2021 +0000

    Remove DISALLOW_ macros from base/macros.h

    This removes DISALLOW_COPY(), DISALLOW_ASSIGN() and
    DISALLOW_COPY_AND_ASSIGN() from base/macros.h. PRESUBMITs are also
    updated to no longer check for these macros.

    IWYU removal is left as a separate change just in case this needs to be
    reverted.

    Bug: 1010217
2022-01-24 15:33:37 -05:00
Mario Sanchez Prada 0cbd43fc58 Updated strings for Chromium 98.0.4695.0. 2022-01-24 15:33:36 -05:00
Simon Hong 1804734ee1 Updated widevine permission bubble
fix https://github.com/brave/brave-browser/issues/9907

Permission bubble for widevine has custom footnote style.
2022-01-15 08:49:09 +09:00
Emerick Rogul 7b377b6db9 Merge pull request #11810 from brave/rewards-show-rewards-button
Migrate kHideButton preference to kShowButton preference
2022-01-13 10:48:45 -05:00
Cepera 1ea7a131fc Rename node to Brave local IPFS node (#11795)
* Rename node to Brave node

* Additional text updates for Brave node

* Use Brave local IPFS node
2022-01-11 18:59:02 +03:00
Emerick Rogul 747ebb9213 Migrate kHideButton preference to kShowButton preference 2022-01-11 15:39:35 +00:00
Cepera d699d1abe3 Make Open using IPFS button smaller (#11796) 2022-01-10 23:06:43 +03:00
Taher eb627fc366 Merge pull request #11671 from brave/tor_window
Added count to Tor window
2022-01-04 15:02:45 -08:00
Brian Clifton 27d3e7a3f8 Merge pull request #11689 from brave/maxk-1.34.x-l10n
Updated l10n for 1.34.x (Chromium 97).
2022-01-04 12:12:38 -07:00
Taher 4ee11b9ed0 Added count to Tor window 2022-01-04 09:41:45 -08:00
Brian R. Bondy 2dfec9d604 Merge pull request #11721 from brave/nonce-stuff
Add API to set nonce and add ability to reset nonce information
2022-01-03 13:17:48 -05:00
Mikhail db8b8dc860 Update crash reporting settings strings (#11360)
* Update crash reporting settings strings
* clang format
* Fix type
2022-01-03 21:07:37 +07:00
Brian R. Bondy ecc008e2ed Add ability to reset transaction info separately
This is useful for local servers especially like Ganache when it is reset

Note that I acknowledge that it would be nicer to be able to clear per
network, but that can be done in a future task based on demand.
2022-01-01 17:20:24 -05:00
mkarolin 264c48ecd5 Updated l10n for 1.34.x (Chromium 97). 2021-12-29 12:02:37 -05:00
Brian R. Bondy 0bfeba469b Various reset wallet fixes 2021-12-23 15:18:25 -05:00
Aleksey Khoroshilov 6d7fb31f1c Merge pull request #10339 from brave/debounce+1pes
Domain block and 1PES integration
2021-12-17 15:11:38 +07:00
Aleksey Khoroshilov f3c6d3e118 Update strings, add flag, add comments. 2021-12-16 19:18:02 +07:00
Aleksey Khoroshilov 4e226df789 Add brave://settings strings change when 1PES feature is enabled. 2021-12-16 19:18:02 +07:00
brave-builds 4f9547cdf8 Updated strings for Chromium 97.0.4692.56 2021-12-15 22:52:28 +00:00
mkarolin 22c5dfb2da Update l10n for 1.33.x (Chromium 96) - Part II.
This lowers 1.34.x l10n update for 1.33.x release. This change removes
the original commit's changes to upstream localization files because
1.34.x has Cr96 and this commit is intended for Cr97.

Fixes brave/brave-browser#20029
2021-12-13 18:40:44 -05:00
Aleksey Khoroshilov ba80f26ebd Enable Partition/Split*ByNIK features by default. 2021-12-13 13:08:47 +07:00
Brian Johnson 3b6920e5de Merge pull request #10664 from brave/cr97 2021-12-07 19:50:20 -07:00
mkarolin f9c9491c13 Updated l10n for 1.33.x release. 2021-12-07 15:53:21 -05:00
Mario Sanchez Prada d46e47c3dd Disable Remote Optimization Guide features.
From cr97 on, having this feature enabled means that the browser will
attempt to reach the Optimization Guide Server every now and then at
the https://optimizationguide-pa.googleapis.com endpoint, as it was
detected by the npm run network-audit command:

  [:ERROR:brave_network_audit_browsertest.cc(151)] NETWORK AUDIT FAIL:https://optimizationguide-pa.googleapis.com/v1:GetModels?key=dummytoken
  [:ERROR:brave_network_audit_browsertest.cc(151)] NETWORK AUDIT FAIL:https://optimizationguide-pa.googleapis.com/v1:GetModels?key=dummytoken

    [...]

  [:ERROR:brave_network_audit_browsertest.cc(151)] NETWORK AUDIT FAIL:https://optimizationguide-pa.googleapis.com/v1:GetModels?key=dummytoken
  ../../brave/browser/net/brave_network_audit_browsertest.cc:249: Failure
  Value of: PerformNetworkAuditProcess(events)
    Actual: false
  Expected: true
  network-audit FAILED. Import /home/mario/work/brave-rebases/brave-browser/src/network_log.json in chrome://net-internals for more details.
  Stack trace:
  #0 0x55f213f6cc10 brave::(anonymous namespace)::BraveNetworkAuditTest::TearDownInProcessBrowserTestFixture()
  #1 0x55f215bda3be content::BrowserTestBase::SetUp()
  #2 0x55f215bd741e InProcessBrowserTest::SetUp()

This patch disables the kkOptimizationHints feature. TBD if this is
needed.

This patch disables the kRemoteOptimizationGuideFetching features that
are otherwise enabled by default, avoiding this URL requests.

PS: I couldn't pinpoint yet where exactly in Chromium 97 this started
happening, but I can consistently reproduce it on my local cr97 branch
setting kMaxTimeoutPerLoadedURL in brave_network_audit_browsertest.cc
to at least 20 seconds, while this doesn't happen on cr96 even when
using the default timeout of 5 minutes, so it's cr97-related.
2021-12-07 14:46:10 -05:00
mkarolin a4dab30c39 Updated strings for Chromium 97.0.4692.8. 2021-12-07 14:45:46 -05:00
Mario Sanchez Prada 8c61583cac Adapt to the removal of features::kReportAllJavaScriptFrameworks flag
This feature has launched by default upstream but we still need to
disable it as per request from the Security team, so we basically
bring back the previous behaviour via a chromium_src override, plus
a small patch to adapt javascript_frameworks_ukm_observer.cc.

Chromium change:

https://github.com/chromium/chromium/commit/34af795689999a2670d0238dedb5892b35e1642b

commit 34af795689999a2670d0238dedb5892b35e1642b
Author: Nicolás Peña Moreno <npm@chromium.org>
Date:   Wed Oct 27 21:22:47 2021 +0000

    Remove flag for framework detection

    The feature is enabled by default, and the flag is no longer needed.

    Bug: 1006274
2021-12-07 14:45:39 -05:00
Mario Sanchez Prada 2e11133264 Updated strings for Chromium 97.0.4688.2. 2021-12-07 14:45:34 -05:00
Mario Sanchez Prada 63cb060f85 Disable translate::kTFLiteLanguageDetectionEnabled feature
This feature is now being enabled by default for Linux, Windows and
Mac, which is interfering with Brave's own internal tranlate engine,
so we now need to explicitly disable it.

Chromium change:

https://chromium.googlesource.com/chromium/src/+/15e59cc7caed2b3e0401bcc6b8b4fa3fa94a07f9

commit 15e59cc7caed2b3e0401bcc6b8b4fa3fa94a07f9
Author: mcrouse <mcrouse@google.com>
Date:   Wed Oct 20 17:38:30 2021 +0000

    [LangID] Enable TFLite Language Detection by default on Desktop.

    This enables language detection by default on desktop.

    Note: This also changes how tests for translate browsertests works
    in cases that relying on content/language detection is not necessary.
    This makes the test more reliable and less bulky. We likely want
    to improve this over time but this gets us to a point we can
    enable the model on ToT.

    This is fully behind Finch control and we will keep it
    that way for safety for a few milestones.

    Bug: 1159144
2021-12-07 14:45:23 -05:00
Mario Sanchez Prada ef126e6a54 Updated strings for Chromium 97.0.4681.0. 2021-12-07 14:45:17 -05:00
Mario Sanchez Prada 1169d0acb7 kLegacyTLSEnforced is enabled by default.
Feature switch has been removed.

Chromium change:

https://chromium.googlesource.com/chromium/src/+/1746a920a7ddafcff0f8ea5ddb6d75e54cb7a21a

commit 1746a920a7ddafcff0f8ea5ddb6d75e54cb7a21a
Author: David Benjamin <davidben@chromium.org>
Date:   Thu Oct 14 17:16:57 2021 +0000

    Unwind kLegacyTLSEnforced feature flag

    The feature shipped, so we no longer need the flag. This doesn't change
    behavior, just unwinds the old feature flag to toggle the existing
    interstitial.

    Bug: 1044750
2021-12-07 14:45:06 -05:00
Mario Sanchez Prada ab662f1dd6 Updated strings for Chromium 97.0.4676.0. 2021-12-07 14:43:09 -05:00
mkarolin 7f1d685ab7 global_media_controls_strings.grdp was renamed.
Chromium change:

https://chromium.googlesource.com/chromium/src/+/1307bd02195bd73a52ab0651ef3d629d619deb33

commit 1307bd02195bd73a52ab0651ef3d629d619deb33
Author: Tommy Steimel <steimel@chromium.org>
Date:   Mon Oct 18 18:52:40 2021 +0000

    GMC: Rename chrome/app/global_media_controls_strings to avoid collision

    With the addition of the new global media controls component, we now
    have two different grdp files named global_media_controls_strings:

    components/global_media_controls_strings.grdp and
    chrome/app/global_media_controls_strings.grdp

    This CL renames the chrome/app one to gmc_strings.grdp

    Bug: 1260955
2021-12-07 14:43:06 -05:00
Emerick Rogul d879a2d835 Fix wording in brave://settings/rewards for video contributions 2021-11-30 12:51:42 -05:00
Sergey 23aa169039 Check decimal number against hex for chain ID (#11245) 2021-11-24 11:37:43 +03:00
Emerick Rogul 2e39984516 Update text for enabling Rewards from brave://settings/rewards 2021-11-18 18:21:54 -05:00
Simon Hong a866388750 Merge pull request #10879 from brave/ms_edge_protocol_setting
Added ms-edge protocol handler option
2021-11-17 07:49:14 +09:00
mkarolin da9e105b5a Additional l10n for 1.32.x release. 2021-11-15 20:21:26 -05:00
Simon Hong aab8dd4b66 Added ms-edge protocol handler option to settings w/o system dialog
fix https://github.com/brave/brave-browser/issues/17558

Applied below FF's implementation to set default handler w/o using
windows system ui.
https://github.com/mozilla/gecko-dev/blob/master/toolkit/mozapps/defaultagent/SetDefaultBrowser.cpp
2021-11-15 08:23:09 +09:00
mkarolin 55e74e1ee9 Update l10n for 1.32.x (Chromium 96). 2021-11-12 16:10:06 -05:00
Aleksey Khoroshilov ad2ce27aca Add support for default feature state overrides using static map (#10878)
* Add support for default feature state override.

* Convert runtime feature overrides to static overrides.

* Support overrides set via a single macro instantiation.

* Remove unused include.
2021-11-11 17:57:23 +07:00
AlexeyBarabash e3a3d1a276 Merge pull request #10898 from brave/sync_warn_desktop
Show warning on Desktop before enter existing sync chain
2021-11-05 20:22:28 +02:00
Brian R. Bondy 408ef816cb Merge pull request #10887 from brave/default-currency
Add settings and API for default wallet currency and default wallet cryptocurrency
2021-11-05 08:41:27 -04:00
AlexeyBarabash 9c872d57e7 Show warning on Desktop before enter existing sync chain 2021-11-05 11:53:07 +02:00
Brian R. Bondy fee3956d8d Add default currency/cryptocurrency settings and API 2021-11-04 15:57:03 -04:00
Jocelyn Liu dbc75d7768 Enter url should be Enter URL in brave://settings/wallet/networks 2021-11-03 19:48:58 -07:00
Brian R. Bondy cf2b2872b8 Merge pull request #10852 from brave/remove-wallet-build-flag
Remove wallet build flag
2021-11-03 20:38:44 -04:00