Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Issue 2359393002: Adds media license nodes to cookie tree model and cookies view. (Closed)

Created:
4 years, 3 months ago by jrummell
Modified:
4 years, 2 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, tzik, michaelpg+watch-md-settings_chromium.org, raymes+watch_chromium.org, kinuko+fileapi, nhiroki, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, markusheintz_, stevenjb+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/6f67ebbd8bf03b554ac5630b69124d8bea31cd9e Cr-Commit-Position: refs/heads/master@{#425166}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Changes #

Total comments: 2

Patch Set 3 : nullptr #

Total comments: 4

Patch Set 4 : file system changes (+rebase) #

Total comments: 4

Patch Set 5 : cleanup #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1210 lines, -64 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/android/preferences/website_preference_bridge.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
A chrome/browser/browsing_data/browsing_data_media_license_helper.h View 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/browsing_data_media_license_helper.cc View 1 chunk +148 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/browsing_data_media_license_helper_unittest.cc View 1 1 chunk +348 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model.h View 1 2 3 9 chunks +54 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model.cc View 1 2 3 4 5 8 chunks +90 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model_unittest.cc View 1 2 3 4 5 52 chunks +227 lines, -55 lines 0 comments Download
M chrome/browser/browsing_data/local_data_container.h View 1 2 3 7 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/browsing_data/local_data_container.cc View 1 2 3 4 chunks +17 lines, -1 line 0 comments Download
A chrome/browser/browsing_data/mock_browsing_data_media_license_helper.h View 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/mock_browsing_data_media_license_helper.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/local_shared_objects_container.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/cookies_list.js View 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/cookie_info.js View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/cookie_tree_node.js View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/cookies_tree_model_util.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/cookies_view_handler.cc View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M storage/browser/fileapi/plugin_private_file_system_backend.h View 1 chunk +9 lines, -0 lines 0 comments Download
M storage/browser/fileapi/plugin_private_file_system_backend.cc View 1 2 3 4 2 chunks +71 lines, -2 lines 0 comments Download

Messages

Total messages: 52 (30 generated)
jrummell
PTAL. I choose the reviewers based on what git cl upload suggested, so please let ...
4 years, 3 months ago (2016-09-23 00:38:44 UTC) #5
tzik
fileapi part lgtm. nhiroki: Could you double check this?
4 years, 3 months ago (2016-09-23 04:10:19 UTC) #9
msramek
This looks very good, but the red bots are relevant, so I'll wait for the ...
4 years, 2 months ago (2016-09-26 18:28:06 UTC) #10
jrummell
Updated. https://codereview.chromium.org/2359393002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2359393002/diff/1/chrome/app/generated_resources.grd#newcode10538 chrome/app/generated_resources.grd:10538: + <message name="IDS_COOKIES_MEDIA_LICENSE" desc="The text shown when there ...
4 years, 2 months ago (2016-09-27 18:21:16 UTC) #11
msramek
LGTM https://codereview.chromium.org/2359393002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2359393002/diff/1/chrome/app/generated_resources.grd#newcode10538 chrome/app/generated_resources.grd:10538: + <message name="IDS_COOKIES_MEDIA_LICENSE" desc="The text shown when there ...
4 years, 2 months ago (2016-09-28 12:28:59 UTC) #16
Dan Beam
can you implement this only in /settings/ and not in /options/? /options/ is deprecated and ...
4 years, 2 months ago (2016-09-29 02:54:20 UTC) #17
jrummell
On 2016/09/29 02:54:20, Dan Beam wrote: > can you implement this only in /settings/ and ...
4 years, 2 months ago (2016-09-29 21:58:31 UTC) #18
jrummell
Updated. https://codereview.chromium.org/2359393002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/2359393002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode541 chrome/browser/android/preferences/website_preference_bridge.cc:541: NULL, On 2016/09/28 12:28:59, msramek wrote: > nit: ...
4 years, 2 months ago (2016-09-29 22:07:37 UTC) #19
nhiroki
https://codereview.chromium.org/2359393002/diff/40001/storage/browser/fileapi/plugin_private_file_system_backend.cc File storage/browser/fileapi/plugin_private_file_system_backend.cc (right): https://codereview.chromium.org/2359393002/diff/40001/storage/browser/fileapi/plugin_private_file_system_backend.cc#newcode304 storage/browser/fileapi/plugin_private_file_system_backend.cc:304: "application_x-ppapi-clearkey-cdm", // ClearKey I'd prefer to avoid widevine-specific code ...
4 years, 2 months ago (2016-09-30 08:34:20 UTC) #24
jrummell
Updated. https://codereview.chromium.org/2359393002/diff/40001/storage/browser/fileapi/plugin_private_file_system_backend.cc File storage/browser/fileapi/plugin_private_file_system_backend.cc (right): https://codereview.chromium.org/2359393002/diff/40001/storage/browser/fileapi/plugin_private_file_system_backend.cc#newcode304 storage/browser/fileapi/plugin_private_file_system_backend.cc:304: "application_x-ppapi-clearkey-cdm", // ClearKey On 2016/09/30 08:34:19, nhiroki (slow) ...
4 years, 2 months ago (2016-10-03 19:05:47 UTC) #25
nhiroki
storage/browser/fileapi/ lgtm https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc File storage/browser/fileapi/plugin_private_file_system_backend.cc (right): https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc#newcode309 storage/browser/fileapi/plugin_private_file_system_backend.cc:309: // directories so that data from any ...
4 years, 2 months ago (2016-10-04 08:42:44 UTC) #30
nhiroki
https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc File storage/browser/fileapi/plugin_private_file_system_backend.cc (right): https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc#newcode335 storage/browser/fileapi/plugin_private_file_system_backend.cc:335: while (!(current = enumerator->Next()).empty()) { |current| is not used.
4 years, 2 months ago (2016-10-04 08:53:53 UTC) #31
jrummell
Updated. https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc File storage/browser/fileapi/plugin_private_file_system_backend.cc (right): https://codereview.chromium.org/2359393002/diff/60001/storage/browser/fileapi/plugin_private_file_system_backend.cc#newcode309 storage/browser/fileapi/plugin_private_file_system_backend.cc:309: // directories so that data from any CDM ...
4 years, 2 months ago (2016-10-04 19:46:57 UTC) #32
jrummell
+tedchoc@ for OWNERS review of chrome/browser/android/preferences/website_preference_bridge.cc
4 years, 2 months ago (2016-10-04 19:48:51 UTC) #34
Ted C
On 2016/10/04 19:48:51, jrummell wrote: > +tedchoc@ for OWNERS review of > chrome/browser/android/preferences/website_preference_bridge.cc website_preference_bridge.cc - ...
4 years, 2 months ago (2016-10-04 20:02:14 UTC) #35
jrummell
pinging dbeam@ in case he missed my comment on why there are changes in both ...
4 years, 2 months ago (2016-10-04 21:59:39 UTC) #36
Dan Beam
lgtm
4 years, 2 months ago (2016-10-13 05:04:04 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2359393002/80001
4 years, 2 months ago (2016-10-13 17:31:47 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/252531)
4 years, 2 months ago (2016-10-13 17:50:19 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2359393002/100001
4 years, 2 months ago (2016-10-13 20:20:17 UTC) #48
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-13 21:25:03 UTC) #50
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 21:28:34 UTC) #52
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6f67ebbd8bf03b554ac5630b69124d8bea31cd9e
Cr-Commit-Position: refs/heads/master@{#425166}

Powered by Google App Engine
This is Rietveld 408576698