Commit Graph
5 Commits
Author SHA1 Message Date
cdesouza-chromium 4ffbda2340 [CodeHealth] Apply performance-move-const-arg (#26497)
This check has detected a few places where the use of `std::move` has
been completely misleading. In one of them we are potentially incurring
in a bug, as we are moving a shared callback that is being used in a
loop.

https://clang.llvm.org/extra/clang-tidy/checks/performance/move-const-arg.html

Resolves https://github.com/brave/brave-browser/issues/42230
2024-11-12 12:08:03 -05:00
Brian Johnson 46f1c77b4c Deprecate old patterns for component installers (#25206)
Deprecate old patterns for component installers
2024-08-19 17:40:29 -07: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
Arthur Edelstein fdf93a5f3f don't upgrade to https before exceptions list is loaded (#17111) 2023-02-08 20:24:32 -08:00
Arthur Edelstein 98b811e1ae HTTPS by default for Desktop (#16521)
HTTPS by default on Desktop

- Disabled, Standard, Strict modes
- Controlled by global and per-site shields settings
- Merge UI with HTTPS-Only Mode
- Behind HttpsByDefault feature flag
- Browser tests for each setting
2023-02-08 07:00:54 -05:00