DescriptionUI Changes to support clearing EME/CDM data
Update the "Clear Browsing Data" dialogs to clear the EME/CDM data
when "Content Licenses" is selected. Currently selecting "Content
Licenses" only clears Flash data, if Flash is enabled.
Added new preference kDeleteMediaLicenses which replaces
kDeauthorizeContentLicenses, which was Flash specific. Default
value for kDeleteMediaLicenses is false, so the checkbox will
not be selected initially.
EME/CDM data is stored in the plugin private file system. If there
is no data saved for EME, then deletion is a nop. Actually deleting
the data was handled in https://codereview.chromium.org/1979733002/.
Changes to chrome://settings/clearBrowserData:
1) "Content licenses" is renamed to "Media Licenses".
2) "Content licenses" check box will always be displayed. (Currently
it is only displayed if Flash is enabled.)
3) When selected, it will display an additional message as noted in
the UI design doc (e.g. "You may lose access to premium content
from some sites" or "You may lose access to premium content from
www.youtube.com and some other sites.").
Changes to chrome://md-settings/advanced -> Clear Browsing Data
1) "Content licenses" is renamed to "Media Licenses".
2) When selected, it will display an additional message as noted
above.
BUG=418195
TEST=tested "Clear Browsing Data" dialogs manually, new tests pass
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/bffd01243bee7c038ef6c4a92814c77176d9ebdd
Cr-Commit-Position: refs/heads/master@{#403029}
Patch Set 1 #
Total comments: 36
Patch Set 2 : Changes #
Total comments: 14
Patch Set 3 : more changes #Patch Set 4 : Media licenses everywhere #
Total comments: 8
Patch Set 5 : changes #
Total comments: 18
Patch Set 6 : more changes #
Total comments: 6
Patch Set 7 : changes #Patch Set 8 : rebase #Patch Set 9 : fix ChromeOS test #Patch Set 10 : hostname only #Patch Set 11 : fix test #Patch Set 12 : revert options_page.css #Messages
Total messages: 43 (13 generated)
|