-
Notifications
You must be signed in to change notification settings - Fork 909
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
Add Widevine toggle option to settings #7554
Conversation
@rebron @karenkliu I just put widevine toggle option below current ask option. |
632c5b9
to
7d76713
Compare
Underneath that setting works. |
32e85cc
to
3b38f5c
Compare
Kindly ping to reviews :) |
...r/resources/settings/brave_default_extensions_page/brave_default_extensions_browser_proxy.js
Show resolved
Hide resolved
This toggle option register/unregister widevine cdm components. Resolves brave/brave-browser#2791
3b38f5c
to
b82fc7f
Compare
browser/resources/settings/brave_default_extensions_page/brave_default_extensions_page.js
Show resolved
Hide resolved
* Change widevine settings description * Reverted accidently deleted code
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.
chromium_src
changes LGTM
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.
Looks good - use the text that Raf suggested, thanks!
|
||
SetWidevineOptedIn(false); | ||
g_brave_browser_process->component_updater()->UnregisterComponent( | ||
BraveDrmTabHelper::kWidevineComponentId); |
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 don't know why the component id would be part of the TabHelper, but this creates a circular dependency and needs to be moved somewhere else.
This toggle option register/unregister widevine cdm components.
Resolves brave/brave-browser#2791
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
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed).Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on.
Test Plan: