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

Issue 2200233003: MD History: Refresh the list when clearing browsing data (Closed)

Created:
4 years, 4 months ago by lshang
Modified:
4 years, 4 months ago
Reviewers:
tsergeant, calamity
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Refresh the list when clearing browsing data Automatically refresh history list when user clears browsing data from chrome://settings. BUG=630164 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/570a8850893d9625d9aeb2b5fa7d27aa35f17d3b Cr-Commit-Position: refs/heads/master@{#413020}

Patch Set 1 #

Patch Set 2 : consider search term #

Total comments: 7

Patch Set 3 : address review comments #

Total comments: 3

Patch Set 4 : do not change comments #

Patch Set 5 : fix test and vulcanize #

Total comments: 10

Patch Set 6 : address review comments #

Patch Set 7 : vulcanize #

Patch Set 8 : remove unused param #

Patch Set 9 : forgot to vulcanize, again #

Patch Set 10 : revise test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -13 lines) Patch
M chrome/browser/resources/md_history/app.js View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 5 6 7 8 5 chunks +21 lines, -6 lines 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 2 3 4 5 6 7 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/list_container.js View 1 2 3 4 5 6 7 2 chunks +10 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 58 (41 generated)
lshang
PTAL thanks! https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history_list.js File chrome/browser/resources/md_history/history_list.js (left): https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history_list.js#oldcode87 chrome/browser/resources/md_history/history_list.js:87: this.push.apply(this, results); These two lines seem not ...
4 years, 4 months ago (2016-08-04 00:17:05 UTC) #4
Dan Beam
https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js#newcode90 chrome/browser/resources/md_history/history.js:90: /** @type {HistoryListContainerElement} */($('history-app').$['history']) we really need a lint ...
4 years, 4 months ago (2016-08-04 00:30:46 UTC) #5
tsergeant
Can you please check that this works with grouped history? I think it should be ...
4 years, 4 months ago (2016-08-04 01:25:55 UTC) #6
Dan Beam
https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js#newcode90 chrome/browser/resources/md_history/history.js:90: /** @type {HistoryListContainerElement} */($('history-app').$['history']) On 2016/08/04 01:25:55, tsergeant wrote: ...
4 years, 4 months ago (2016-08-04 03:23:44 UTC) #8
lshang
https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js File chrome/browser/resources/md_history/history.js (right): https://codereview.chromium.org/2200233003/diff/20001/chrome/browser/resources/md_history/history.js#newcode90 chrome/browser/resources/md_history/history.js:90: /** @type {HistoryListContainerElement} */($('history-app').$['history']) On 2016/08/04 01:25:55, tsergeant wrote: ...
4 years, 4 months ago (2016-08-05 03:39:03 UTC) #16
tsergeant
calamity@, since you wrote most of the querying code, what do you think? https://codereview.chromium.org/2200233003/diff/60001/chrome/browser/resources/md_history/history_list.js File ...
4 years, 4 months ago (2016-08-08 05:05:12 UTC) #20
calamity
https://codereview.chromium.org/2200233003/diff/60001/chrome/browser/resources/md_history/history_list.js File chrome/browser/resources/md_history/history_list.js (right): https://codereview.chromium.org/2200233003/diff/60001/chrome/browser/resources/md_history/history_list.js#newcode80 chrome/browser/resources/md_history/history_list.js:80: if (this.lastSearchedTerm_ != this.searchedTerm) { On 2016/08/08 05:05:12, tsergeant ...
4 years, 4 months ago (2016-08-08 05:55:07 UTC) #21
lshang
On 2016/08/08 05:05:12, tsergeant wrote: > calamity@, since you wrote most of the querying code, ...
4 years, 4 months ago (2016-08-09 00:49:26 UTC) #22
calamity
FYI, my patch has landed =D
4 years, 4 months ago (2016-08-12 04:23:40 UTC) #23
lshang
On 2016/08/12 04:23:40, calamity wrote: > FYI, my patch has landed =D Yay~ Rebase is ...
4 years, 4 months ago (2016-08-12 04:33:44 UTC) #24
lshang
This CL has been updated. PTAL thanks! Also have checked with grouped list, works fine. ...
4 years, 4 months ago (2016-08-17 06:00:11 UTC) #33
tsergeant
I'm not sure what the best way to handle tests is. Maybe we can add ...
4 years, 4 months ago (2016-08-17 06:58:28 UTC) #36
lshang
https://codereview.chromium.org/2200233003/diff/140001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2200233003/diff/140001/chrome/browser/resources/md_history/app.js#newcode220 chrome/browser/resources/md_history/app.js:220: this.$['history'].clearingHistory(); On 2016/08/17 06:58:28, tsergeant wrote: > Nit: this.$.history ...
4 years, 4 months ago (2016-08-18 08:41:54 UTC) #45
tsergeant
lgtm, thanks.
4 years, 4 months ago (2016-08-19 00:31:01 UTC) #48
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/2200233003/240001
4 years, 4 months ago (2016-08-19 01:41:48 UTC) #54
commit-bot: I haz the power
Committed patchset #10 (id:240001)
4 years, 4 months ago (2016-08-19 01:49:07 UTC) #56
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 01:52:12 UTC) #58
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/570a8850893d9625d9aeb2b5fa7d27aa35f17d3b
Cr-Commit-Position: refs/heads/master@{#413020}

Powered by Google App Engine
This is Rietveld 408576698