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

Issue 2836363003: Retire some metrics and update file util methods for JumpList (Closed)

Created:
3 years, 8 months ago by chengx
Modified:
3 years, 7 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Retire some metrics and update file util methods for JumpList This CL retires some file deletion related metrics for JumpList since they're no longer needed. Accordingly, the JumpList file deletion related methods are updated to return nothing instead of the detailed delete status which is used for the retiring metrics. This makes the ENUMs for the delete status no long needed so they're removed. These methods are also refactored a little bit to make them cleaner. BUG=40407, 179576 Review-Url: https://codereview.chromium.org/2836363003 Cr-Commit-Position: refs/heads/master@{#468425} Committed: https://chromium.googlesource.com/chromium/src/+/4fffeff4e2367820ccddaa23a9800aa97d887d51

Patch Set 1 #

Patch Set 2 : Update unittest #

Patch Set 3 : Git pull and resolve conflicts #

Patch Set 4 : Refactor code #

Total comments: 20

Patch Set 5 : Address feedback comments, update comments #

Total comments: 6

Patch Set 6 : Update/revert code comments #

Patch Set 7 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into retiresomejumplistmetrics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -195 lines) Patch
M chrome/browser/win/jumplist.cc View 1 2 3 4 5 6 7 chunks +35 lines, -45 lines 0 comments Download
M chrome/browser/win/jumplist_file_util.h View 1 2 3 4 2 chunks +9 lines, -52 lines 0 comments Download
M chrome/browser/win/jumplist_file_util.cc View 1 2 3 4 2 chunks +29 lines, -87 lines 0 comments Download
M chrome/browser/win/jumplist_file_util_unittest.cc View 1 3 chunks +7 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 4 chunks +21 lines, -4 lines 0 comments Download

Messages

Total messages: 69 (57 generated)
chengx
This CL doesn't change any JumpList functionality but simply retires some metrics. The methods are ...
3 years, 8 months ago (2017-04-26 18:02:49 UTC) #8
Ilya Sherman
histograms.xml lgtm
3 years, 8 months ago (2017-04-26 23:29:19 UTC) #16
chengx
Hi gab@, gentle ping now for the day as you're 3 hours ahead of me. ...
3 years, 7 months ago (2017-04-27 17:26:39 UTC) #23
chengx
Adding pmonette@ Hi Patrick, can you please take a look of this CL which is ...
3 years, 7 months ago (2017-04-27 20:12:04 UTC) #26
chengx
PTAL
3 years, 7 months ago (2017-04-28 06:56:55 UTC) #32
grt (UTC plus 2)
https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist.cc#newcode126 chrome/browser/win/jumplist.cc:126: // Helper method for RunUpdateJumpList to create icon files ...
3 years, 7 months ago (2017-04-28 07:37:08 UTC) #33
chengx
PTAL~ https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist.cc#newcode126 chrome/browser/win/jumplist.cc:126: // Helper method for RunUpdateJumpList to create icon ...
3 years, 7 months ago (2017-04-28 22:29:29 UTC) #37
grt (UTC plus 2)
https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist_file_util.cc File chrome/browser/win/jumplist_file_util.cc (right): https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist_file_util.cc#newcode36 chrome/browser/win/jumplist_file_util.cc:36: if (info.IsDirectory() || !::DeleteFile(current.value().c_str())) { On 2017/04/28 22:29:29, chengx ...
3 years, 7 months ago (2017-05-01 09:45:36 UTC) #45
chengx
I've addressed all the feedback comments in the new patch set. PTAL, thanks! https://codereview.chromium.org/2836363003/diff/140001/chrome/browser/win/jumplist_file_util.cc File ...
3 years, 7 months ago (2017-05-01 18:04:31 UTC) #54
grt (UTC plus 2)
lgtm, thanks.
3 years, 7 months ago (2017-05-01 19:30:42 UTC) #57
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/2836363003/250001
3 years, 7 months ago (2017-05-01 21:35:51 UTC) #66
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 21:43:39 UTC) #69
Message was sent while issue was closed.
Committed patchset #7 (id:250001) as
https://chromium.googlesource.com/chromium/src/+/4fffeff4e2367820ccddaa23a980...

Powered by Google App Engine
This is Rietveld 408576698