Commit Graph
20 Commits
Author SHA1 Message Date
Brian R. BondyandSerg 7240ef2e2e Add top level toggle to enable/disable Speedreader (#30600)
* Add top level toggle to enable/disable Speedreader

This migrates away an old bad named feature for automatically using
speedreader for all sites.  The pref was wrongly named `enabled`.

This also adds a new preference for actually enabling/disabling the
feature.

* Fixes Android presubmit

---------

Co-authored-by: Serg <serg.zhukovsky@gmail.com>
2025-08-13 11:14:10 -04:00
Kevin Smith 4cc241a866 Reconfigure Rewards component folder structure (#27270)
Fix directory structure per https://www.chromium.org/developers/design-documents/cookbook/
2025-01-31 13:47:34 -07:00
Brian Johnson afd4e0239d fix overly permissive DEPS (#27193)
Fix overly permissive deps
2025-01-12 21:43:04 -07:00
Jocelyn Liu efcb1df7c6 Remove enable_ai_chat buildflag 2024-10-31 20:15:18 -07:00
Jay Harris b5a5403dd1 [Brave News]: Make it more obvious what BraveNewsSubscriptions is, and can be used for (#24290) 2024-06-24 05:03:21 +02:00
Mikhail 874c70851e Enable leo opt in perf tests (#23464)
* Enable leo in perf tests

* Add tests
2024-05-09 00:50:37 +07:00
Jacob Sikorski ab332ff65c Cleanup brave_shields component 2024-02-12 15:47:01 -07:00
Anton Lazarev 14111b417a Unrevert unified adblock catalog (#21556) 2024-01-30 15:36:27 -08:00
cdesouza-chromium 75bbf7d53c Convert various extern strings to constexpr (#20959)
These change are being done to make use of `absl::StrFormat` in the
future, and also to get some better codegen with these constants.
There's also some harderning on upstream code to avoid unnecessary
conversions involving constants, which can only be enforced in a
`constexpr` constext.
2023-11-15 09:02:30 +00:00
Mikhail Atuchin 3cd2cf1ac5 Revert "Merge pull request #19946 from brave/unified-adblock-catalog"
This reverts commit 2e1760826c, reversing
changes made to 13c48d9f8f.
2023-10-07 22:39:03 +02:00
Anton Lazarev d75a32a3eb rename AdBlockRegionalServiceManager -> AdBlockComponentServiceManager 2023-09-13 14:52:00 -07:00
Pavel Beloborodov 33e16ff315 New speedreader tune dialog (#19715)
* New speedreader tune dialog
2023-08-29 20:57:06 +07:00
Aleksey Seren f7db083914 Move brave_ads/common to brave_ads/core 2023-08-24 19:40:23 -05:00
Terry Mancey 93c5e6c095 Implement Ads control center Brave Ads changes 2023-07-18 14:41:17 -04:00
Terry Mancey 92b9aaf221 Deprecate and replace Brave Ads SetEnabled with SetBoolean pref 2023-06-08 09:59:42 -05:00
zenparsing 33663efde1 Simplify Rewards namespacing 2023-04-24 16:29:15 -04:00
Jay Harris 4c30718608 Stop request to Brave News CDN when Brave News is not enabled / opted in (#17047)
Fix network request at startup
2023-03-01 09:08:39 +13:00
Jay Harris 492eb68e49 Rename Brave Today to Brave News (#17265) 2023-02-24 13:22:47 +13:00
Emerick Rogul 55632a2057 Adapt to changes in task runner handles
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/77f1571d91009e29ea0f13498a61d35bafd06818

commit 77f1571d91009e29ea0f13498a61d35bafd06818
Author: Sean Maher <spvw@chromium.org>
Date:   Thu Dec 15 03:52:15 2022 +0000

    task posting v3: refactor task runner handles in blink

    This CL changes calls to methods of [...]TaskRunnerHandle to its
    new implementation, [...]TaskRunner::CurrentDefaultHandle. This is
    more or less just a large search-and-replace, with a few touchups.

    This was done by a combination of automated tooling and manual changes.

    The tooling used was as follows:
    Python: https://paste.googleplex.com/5578989061013504
    Shell: https://paste.googleplex.com/5686798511505408

    Bug: 1026641
2023-02-22 06:29:23 -05:00
Mikhail f65a55198f Enable some Brave features for pref testing (#16661)
* Enable some Brave features for pref testing
* Fix working with kComponentUpdater switch
* Fix format after rebasing
* check enable_speedreated flag
* Add speedreader buildflags.h
* Fix gn check
* Fix review issues
* Add the test to brave/android/android_browser_tests.gni
2023-02-01 21:22:29 +07:00