-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove check_includes = false for brave/browser/profiles #24737
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
browser/sources.gni
Outdated
@@ -493,6 +493,7 @@ brave_chrome_browser_sources += brave_browser_themes_sources | |||
brave_chrome_browser_sources += brave_browser_tor_sources | |||
brave_chrome_browser_sources += brave_browser_url_sanitizer_sources | |||
brave_chrome_browser_sources += brave_browser_web_discovery_sources | |||
brave_chrome_browser_sources += brave_browser_profiles_sources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure but could it be better to add sources and deps to //chrome/browser/profiles
target?
@@ -80,14 +77,12 @@ BraveRendererUpdater::BraveRendererUpdater( | |||
base::Unretained(this))); | |||
#endif | |||
|
|||
#if BUILDFLAG(ENABLE_WIDEVINE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's been added to remove a crash on linux arm64 409b7a0 as we didn't support widevine on that platform. From my understanding we support it currently right? In that case we can remove it in that place as well 409b7a0#diff-ee85b0dca2867e754c68f6e4b21fa42452a7cf72ff50a9a7e15380e93d43608aR198
6a59685
to
0501f29
Compare
@@ -81,31 +34,4 @@ void SetDefaultThirdPartyCookieBlockValue(Profile* profile) { | |||
content_settings::CookieControlsMode::kBlockThirdParty))); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should either move these two left functions out of this file and get rid of it entirely or rename it into profile_migration_helpers.h/cc
and keep all migration code here explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the only two that had tests for them so they couldn't be easily moved like the others, but I'll rename the file for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I'm going to leave it for now because I'm not sure migration_helper makes sense here and these methods should definitely move somewhere else in a follow-up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[puLL-Merge] - brave/brave-core@24737 DescriptionThis PR makes significant changes to the Brave browser codebase, primarily focusing on restructuring and refactoring profile-related functionality. The changes aim to improve code organization, reduce dependencies, and enhance the modularity of the codebase. ChangesChanges
Possible Issues
Security HotspotsNo significant security hotspots were identified in this change. The modifications appear to be primarily structural and do not introduce new security vulnerabilities. |
Linux test failing intermittently unrelated to this PR |
Resolves brave/brave-browser#10648
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: