Commit Graph
479 Commits
Author SHA1 Message Date
Kevin Smith d71c57efde [Rewards] Remove Rewards extension API (#34879) 2026-03-24 19:17:28 -04:00
Kevin Smith 6ad9768032 [Rewards] Move browser targets behind build flag (#33798) 2026-02-12 07:50:04 -05:00
Brian R. Bondy facb8df1e1 Add Brave talk build flag (#32917)
* Add Brave talk buildflag

* Review comments
2025-12-23 09:16:42 -05:00
Pavel Beloborodov effa3c03e8 Restore 'View in Chrome Web Store' link for installed extensions (#32749)
* Restored web store link for extensions.
2025-12-10 21:16:58 +07:00
Simon Hong f064098d43 Cleanup deprecated brave theme apis (#32089)
Issue: brave/brave-browser#40863

This is the effort to reduce the size of #31939
and only removes already deprecated codes that refers brave dark theme api.
2025-10-30 09:24:51 +09:00
Kevin Smith fabe4faf5e [Rewards] Migrate wallet UI from Rewards extention API to mojo (#30614) 2025-08-28 15:39:36 -04:00
Kevin Smith 8c5fe79afb [Rewards] Remove notification extension API (#30615) 2025-08-13 20:17:33 -04:00
Brian R. Bondy 1f9f37631b Remove Brave Wallet extension APIs that don't need to be APIs (#30553)
* Remove wallet exstension APIs and replace with WebUI handlers

* Remove typescript definitions which are unused

* Remove the reset of the brave_wallet extension API

* Add test for webui handler changes
2025-08-08 17:20:02 -04:00
Brian Johnson 464dabb88c Fix handling of --disable-component-update for legacy component registration (#30440)
Add support for --disable-component-update in all brave components. Use with --allow-brave-component-update to 
restore previous behavior for perf and other testing
2025-08-06 14:25:38 +09:00
Darnell Andries 82165c4b01 Add admin policy for Web Discovery (#30023)
Add admin policy for Web Discovery (#30023)

* Fix Web Discovery API to account for policy, add Web Discovery test

* Move IsWebDiscoveryEnabled/pref_names to components/web_discovery/common

* Check Web Discovery Native feature before loading extension background page

* Use PrefService ref in IsWebDiscoveryEnabled

* Mark WDP policy as pending development for Android

* Move Web Discovery enabled/disabled via policy prefs to //brave/components/constants
2025-07-28 22:05:29 -07:00
Kevin Smith 2f57ca6b1d [Rewards] Remove Rewards 3.0 feature flag (#28199) 2025-05-30 05:54:37 -04:00
Brian R. Bondy 1174a90b46 Remove Ethereum Remote Client (Crypto Wallets) (#29135)
There was a flag from long ago that allowed you to select Crypto Wallets as your wallet. However if you did this, it no longer works.  There is no one that can feasibly still be using this wallet because it hasn't worked for many versions

Addressed review comments

Remove references to 21070F3D60711361C1210B870439BE49B5D995F4
21070F3D60711361C1210B870439BE49B5D995F4 is for Ethereum Remote Client which is removed

Remove unused ReinstallAsNonComponent

Remove unused comment IsInstallationExplicitlyAllowed

Remove _permission_features.json because it's an override that only
exists because of CW extension.

Remove unused string braveWalletImportFromLegacy

Use constexpr for kMetamaskExtensionId

Remove need subscription to kDefaultEthereumWallet and OnWalletTypeChanged handler

Remove DISABLED_ImportLegacyWallet

Add Migration for people with CryptoWallets pref

Deprecate and keep CryptoWallets prefs

1
2025-05-23 16:56:41 -04:00
Darnell Andries bb74aa3baf Add devlopment extension to Web Discovery API allowlist 2025-03-24 19:23:42 -07:00
Claudio DeSouza 0a4e3299e4 [cr135] output_all_resource_defines removed from grds
This attribute has been deleted from grit, and isn't recognised anymore.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/96c98d3ae26486007669c1cd00e4da58c85659b3

commit 96c98d3ae26486007669c1cd00e4da58c85659b3
Author: dpapad <dpapad@chromium.org>
Date:   Tue Feb 4 16:23:24 2025 -0800

    Grit: Remove output_all_resource_defines from list of valid attributes.

    All references to this attribute have been removed in previous CLs, both
    from public and internal repositories.

    Fixed: 389466679
2025-03-18 20:02:00 -04:00
Brian Clifton 93cf3f5d0c Prevents extensions from accessing protected resources (#27481)
* Prevents extensions from accessing protected resources.

Fixes https://github.com/brave/brave-browser/issues/42998

* Changed root object from std::string to GURL

* FIXUP: review feedback

* FIXUP: addresses most feedback; need to fix GN

* FIXUP: latest

* FIXUP: fixed reference issues causing crash :)

* FIXUP: one last fix

* FIXUP: presubmit fixes

* FIXUP: more review feedback fixes

* FIXUP: fixing vector copies
2025-02-12 11:03:44 -07:00
Darnell Andries cf94b54d8b Bootstrap Web Discovery Native, add credential manager and server config loading 2025-01-27 18:22:39 -08:00
Darnell Andries 4c7a62f54f Address GMix/WDP fix feedback 2025-01-23 17:07:33 -08:00
Darnell Andries 2978fffa20 Add hidden renderer for fetching backup search results 2025-01-23 17:07:33 -08:00
Brian Johnson afd4e0239d fix overly permissive DEPS (#27193)
Fix overly permissive deps
2025-01-12 21:43:04 -07:00
zenparsing d5036805ed Remove auto-contribute 2024-11-20 16:02:25 -05:00
Mikhail b8a60ee66f Remove Greaselion (#26283)
* remove greaselion files
* cleanup *.h files
* cleanup *.cc files
* cleanup GN
* cleanup other files
* Fix presubmit
* Remove extension* from {push/pull}_l10n
2024-11-04 21:10:33 +01:00
Jocelyn Liu efcb1df7c6 Remove enable_ai_chat buildflag 2024-10-31 20:15:18 -07:00
zenparsing b650615c16 Remove Greaselion dependency from Rewards service 2024-10-25 11:41:16 -04:00
Mikhail 76a5a4955e Content picker native inject (#25411)
* Introduce native content picker inject
2024-09-12 15:24:37 +07:00
mkarolin a213de4133 //chrome/common/extensions build target was added
Chromium change:

https://chromium.googlesource.com/chromium/src/+/ec463f3e1ee7b

commit ec463f3e1ee7b6f66b4c71d0dbd772c4c8d07ad2
Author: Devlin Cronin <rdevlin.cronin@chromium.org>
Date:   Fri Aug 16 02:24:51 2024 +0000

    [Extensions] Add a //chrome/common/extensions build target

    Extract out files from //chrome/common/extensions into a separate
    build target, //chrome/common/extensions:extensions, instead of having
    them shared in //chrome/common:common_lib.

    In addition to reducing the monolithic build file in //chrome/common,
    this some circular dependencies between //chrome/common resources and
    extensions files.

    Bug: 356905053
2024-09-10 14:42:48 -04:00
Mikhail e36e1d1c01 Content Picker refactoring into a single script (#25358)
* Content picker: a single JS to inject
* Remove a non-relevant test
* Use asset/source to inline html content
* Remove host from braveShields.addSiteCosmeticFilter
* Remove obsolete async
* Use mode: closed
* Update CSS styles
2024-09-03 04:17:47 +07:00
Jagadesh P 0e16717958 Move 'generated_api_registration' method to src/b/b/ext/api/ and fix the linker error by adding required deps. 2024-08-17 08:01:32 +05:30
Kevin Smith 7d9379ca8d Merge pull request #24586 from brave/ksmith-rewards-gl-fix
Expose Rewards extension API to Brave extension
2024-07-10 15:44:55 -04:00
zenparsing 3dee9416e6 Expose Rewards extension API to Brave extension 2024-07-10 11:54:50 -04:00
vadimsandNuo Xu 43735ef5b2 Deprecate local node support and ipfs scheme (#23808)
deprecated IPFS local node support and IPFS scheme
https://github.com/brave/brave-browser/issues/37735
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
Co-authored-by: Nuo Xu <nuoxu.nx@gmail.com>
2024-07-09 12:34:31 +02:00
thirumurugan-git 3e1069e7d6 set 'component_extensions_auto_granted' to false for all extension features 2024-07-02 12:34:01 -07:00
zenparsing a70530df8d Update styling of NTP cards 2024-06-17 21:28:45 -04:00
Claudio DeSouza 39f620a479 Extension features renamed blessing as priveleged
This change has no functional effects and seems to be only due to
wording choice.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/316185d068318c45f64f36f77bda9f436cf71e23

commit 316185d068318c45f64f36f77bda9f436cf71e23
Author: Tim Judkins <tjudkins@chromium.org>
Date:   Wed Mar 27 18:01:56 2024 +0000

    [Extensions] Change "blessed" -> "privileged" in extension feature files

    This CL finishes up previous work to move to a more understandable
    language to describe privileged extension contexts for the extension API
    feature system to use "privileged" instead of "blessed".

    This changes:
    'unblessed_extension' -> 'unprivileged_extension'
    'blessed_extension' -> 'privileged_extension'
    'blessed_web_page' -> 'privileged_web_page'

    No behavior change is expected.

    Bug: 40946553
2024-05-03 16:54:09 -04:00
zenparsing 23b3b2b18a Remove vBAT promotions support 2024-03-19 16:53:39 -04:00
Emerick Rogul 5ed5af75c2 Use returns_async in extension API schemas when callback is specified
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/6a8c35314cd95efb0d218f03d38af6c5fadb03c9

commit 6a8c35314cd95efb0d218f03d38af6c5fadb03c9
Author: Tim Judkins <tjudkins@chromium.org>
Date:   Thu Nov 5 18:02:56 2020 +0000

    [Extensions Bindings] Support returns_async in extension schemas

    (Based on previous work from https://crrev.com/c/2144684 )
    This CL is a starting point for supporting a returns_async parameter in
    Extension schemas, which is a step in supporting promise-based APIs. It
    adds a new property to the Model in json_schema_compiler, returns_async,
    which contains information about what the API function is expected to
    return.

    returns_async is used instead of Model.callback, and can be created
    either from a callback specification or a specific "returns_async"
    entry in the schema.

    It also modifies the doc generation code to handle this new property,
    displaying it as a callback at the end of the schema. This should
    result in there being no visible difference to the docs when an API is
    rolled over to using returns_async, other than previously required
    callbacks being displayed as optional.

    In order to do end-to-end tests, this CL also moves over tabs.create,
    tabs.duplicate and tabs.query to use the new schema format, thereby
    enabling promise support on them.

    Bug: 978538
2024-03-08 14:55:59 -05:00
zenparsing e3edd942d1 Add Rewards terms of service update notifications 2024-03-06 10:47:01 -05:00
mkarolin dade82f68b Do not show Rewards NTP Widget in unsupported regions. 2024-02-26 13:24:20 -05:00
zenparsing 6c53f0b13b Add Rewards self-custody provider UI components 2024-01-08 11:03:50 -05:00
Aleksey Khoroshilov 91df391dcd Merge Extension API features instead of copy-pasting (#19982)
* Extend upstream API features instead of copy-pasting.

* Move runtime.sendMessage patch to script.

* Add missing extension id in the comment.

* Move feature extensions into separate files, add sec-team as owners.

* Support full API feature replacement with "replace!" prefix.

* Validate original files existence.
2023-12-20 16:28:28 +01:00
vadims 96df46415b Add publishining extension to the blessed extensions list (#21113)
Add publishining extension to the blessed extensions list

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2023-12-01 18:30:09 +01:00
Brandon-T 06bc0b8974 Fix #33451: Refactor ai_chat component for iOS (#20425)
Refactor ai_chat_tab_helper to platform generic, so that iOS can use the same core code for its APIs.

With this change, iOS is able to supply a web-page, URL, and all of the things Desktop does.

Fix layering violation.

Fix iOS not compiling due to unit tests that include "content".

Renamed from AIChatDriver to ConversationDriver
2023-11-08 13:02:32 -05:00
Emerick Rogul 6fcff8612e Remove support for inline tip buttons 2023-11-07 10:35:26 -05:00
zenparsing cd6c660fe1 Remove login URL from external wallet structure 2023-10-30 14:29:54 -04:00
Szilard Szaloki 05a2dee456 Removes the ZebPay-specific userdrain tooltip. 2023-10-17 16:43:55 -05:00
Claudio DeSouza be214871df Remove uses of StringPiece and its variants
Upstream is set to deprecated, and delete all occurrences of
`base::StringPiece`, and replace it with `std::string_view`, and
according correspondent types.

This change removes the use of `base::StringPiece`, and of the headers
as well across the Brave codebase.
2023-09-22 16:26:38 +03:00
Aleksey Seren f7db083914 Move brave_ads/common to brave_ads/core 2023-08-24 19:40:23 -05:00
Szilard Szaloki f43cef38de Renames OnRewardsWalletUpdated to OnRewardsWalletCreated 2023-08-07 13:51:36 -05:00
Szilard Szaloki 6087affcb0 Enables A-C based on the user's country. 2023-08-02 13:39:36 -05:00
Szilard Szaloki fbede74556 ZebPay - tooltip
Shows question mark/tooltip only to users who came specifically from the grandfathered state.
2023-08-02 13:38:31 -05:00
zenparsing 649e44af1a Implement Ads control center on Rewards page 2023-07-18 14:41:07 -04:00