Adds media license nodes to cookie tree model and cookies view.
Adds a new node "Media license" when appropriate to the cookie
tree model and displayis it in the "Cookies and site data" dialog.
When selected, it displays details of media license (origin,
size on disk, last modified time) in the details frame.
BUG=649523
TEST=new tests pass
As well, nodes show up in the cookies dialog after visiting a site
that uses media licenses.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2359393002
Cr-Commit-Position: refs/heads/master@{#425166}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 8edef1e..2bee1e8 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -153,6 +153,8 @@
"browsing_data/browsing_data_indexed_db_helper.h",
"browsing_data/browsing_data_local_storage_helper.cc",
"browsing_data/browsing_data_local_storage_helper.h",
+ "browsing_data/browsing_data_media_license_helper.cc",
+ "browsing_data/browsing_data_media_license_helper.h",
"browsing_data/browsing_data_quota_helper.cc",
"browsing_data/browsing_data_quota_helper.h",
"browsing_data/browsing_data_quota_helper_impl.cc",
@@ -4031,6 +4033,8 @@
"browsing_data/mock_browsing_data_indexed_db_helper.h",
"browsing_data/mock_browsing_data_local_storage_helper.cc",
"browsing_data/mock_browsing_data_local_storage_helper.h",
+ "browsing_data/mock_browsing_data_media_license_helper.cc",
+ "browsing_data/mock_browsing_data_media_license_helper.h",
"browsing_data/mock_browsing_data_quota_helper.cc",
"browsing_data/mock_browsing_data_quota_helper.h",
"browsing_data/mock_browsing_data_service_worker_helper.cc",