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

Issue 2451553008: [MD settings] move cookie tree management to cookie tree behavior (Closed)

Created:
4 years, 1 month ago by dschuyler
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] move cookie tree management to cookie tree behavior This CL moves code that will soon be shared between the site_data page and the site_data_details_subpage page. This is separated away from adding the subpage to ease the review process and support git bisect, if needed in the future. The code to load and manage the cookie tree has been moved into cookie_tree_behavior. The code to fill out the cookie info has been moved to cookie_info. Support for closure compilation in content settings has been improved (some types were incorrect). This CL is related groundwork for a future CL and not a full fix for the bug. BUG=654943 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/bc04c3ad2ead66463a7a296f77d3c9bd9f8794da Cr-Commit-Position: refs/heads/master@{#428465}

Patch Set 1 : touchups #

Total comments: 9

Patch Set 2 : cleanup extraneous if #

Total comments: 8

Patch Set 3 : review changes #

Total comments: 6

Patch Set 4 : review changes #

Messages

Total messages: 32 (23 generated)
dschuyler
https://codereview.chromium.org/2451553008/diff/20001/chrome/browser/resources/settings/site_settings/cookie_info.js File chrome/browser/resources/settings/site_settings/cookie_info.js (right): https://codereview.chromium.org/2451553008/diff/20001/chrome/browser/resources/settings/site_settings/cookie_info.js#newcode18 chrome/browser/resources/settings/site_settings/cookie_info.js:18: var CookieDataForDisplay; These were moved (unchanged). https://codereview.chromium.org/2451553008/diff/20001/chrome/browser/resources/settings/site_settings/cookie_info.js#newcode73 chrome/browser/resources/settings/site_settings/cookie_info.js:73: var ...
4 years, 1 month ago (2016-10-26 00:18:38 UTC) #8
Dan Beam
https://codereview.chromium.org/2451553008/diff/40001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js File chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js (right): https://codereview.chromium.org/2451553008/diff/40001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode14 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:14: * @type {Array<CookieDataSummaryItem>} nit: !Array<!CookieDataSummaryItem> https://codereview.chromium.org/2451553008/diff/40001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode22 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:22: * @protected ...
4 years, 1 month ago (2016-10-27 01:31:55 UTC) #15
dschuyler
https://codereview.chromium.org/2451553008/diff/40001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js File chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js (right): https://codereview.chromium.org/2451553008/diff/40001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode14 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:14: * @type {Array<CookieDataSummaryItem>} On 2016/10/27 01:31:55, Dan Beam wrote: ...
4 years, 1 month ago (2016-10-27 20:47:36 UTC) #18
Dan Beam
https://codereview.chromium.org/2451553008/diff/60001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js File chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js (right): https://codereview.chromium.org/2451553008/diff/60001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode71 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:71: * @return {Promise} nit: !Promise<...type...> https://codereview.chromium.org/2451553008/diff/60001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode74 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:74: return this.browserProxy.reloadCookies().then( ...
4 years, 1 month ago (2016-10-27 21:05:11 UTC) #21
dschuyler
https://codereview.chromium.org/2451553008/diff/60001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js File chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js (right): https://codereview.chromium.org/2451553008/diff/60001/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js#newcode71 chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js:71: * @return {Promise} On 2016/10/27 21:05:10, Dan Beam wrote: ...
4 years, 1 month ago (2016-10-27 22:54:25 UTC) #24
Dan Beam
lgtm
4 years, 1 month ago (2016-10-27 22:56:14 UTC) #25
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/2451553008/80001
4 years, 1 month ago (2016-10-28 17:40:21 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-10-28 19:47:49 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 19:56:10 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bc04c3ad2ead66463a7a296f77d3c9bd9f8794da
Cr-Commit-Position: refs/heads/master@{#428465}

Powered by Google App Engine
This is Rietveld 408576698