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

Issue 2717813002: Not update jumplist icons when deletion of JumplistIcon folder fails (Closed)

Created:
3 years, 9 months ago by chengx
Modified:
3 years, 9 months ago
Reviewers:
gab
CC:
chromium-reviews, brucedawson
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Not update jumplist icons when deletion of JumplistIcon folder fails According to UMA, the deletion of JumplistIcons folder fails for a small portion of Chrome users. In this case, we should skip updating the jumplist icons which will bloat the folder. In addition, there is no need to run base::CreateDirectory() trying to create the same folder. BUG=40407, 179576 Review-Url: https://codereview.chromium.org/2717813002 Cr-Commit-Position: refs/heads/master@{#454674} Committed: https://chromium.googlesource.com/chromium/src/+/eae9a2c34f7315b1aaa17bf265c879681106c90a

Patch Set 1 #

Patch Set 2 : Skip updating jumplist icons if deletion of src folder fails. #

Total comments: 2

Patch Set 3 : Exit early rather than using a flag to cancel rest of the work. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -13 lines) Patch
M chrome/browser/win/jumplist.cc View 1 2 3 chunks +24 lines, -13 lines 0 comments Download

Messages

Total messages: 42 (31 generated)
chengx
Hey gab@, I made a small change to jumplist.CC. PTAL~
3 years, 9 months ago (2017-02-25 01:50:25 UTC) #6
gab
Is it really worth it to save that tiny bit of computation in an edge ...
3 years, 9 months ago (2017-02-26 18:07:58 UTC) #9
chengx
On 2017/02/26 18:07:58, gab (UTC plus 11 Tokyo) wrote: > Is it really worth it ...
3 years, 9 months ago (2017-02-27 04:41:53 UTC) #10
gab
On 2017/02/27 04:41:53, chengx wrote: > On 2017/02/26 18:07:58, gab (UTC plus 11 Tokyo) wrote: ...
3 years, 9 months ago (2017-02-27 21:43:08 UTC) #11
chengx
On 2017/02/27 21:43:08, gab (UTC plus 9 Tokyo) wrote: > On 2017/02/27 04:41:53, chengx wrote: ...
3 years, 9 months ago (2017-02-27 22:57:34 UTC) #12
gab
On 2017/02/27 22:57:34, chengx wrote: > On 2017/02/27 21:43:08, gab (UTC plus 9 Tokyo) wrote: ...
3 years, 9 months ago (2017-02-28 02:02:33 UTC) #13
chengx
On 2017/02/28 02:02:33, gab (UTC plus 9 Tokyo) wrote: > On 2017/02/27 22:57:34, chengx wrote: ...
3 years, 9 months ago (2017-02-28 03:56:41 UTC) #21
gab
Behavior lgtm w/ code done as in suggestion Thanks! Gab https://codereview.chromium.org/2717813002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2717813002/diff/20001/chrome/browser/win/jumplist.cc#newcode289 ...
3 years, 9 months ago (2017-03-03 07:35:01 UTC) #30
chengx
https://codereview.chromium.org/2717813002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2717813002/diff/20001/chrome/browser/win/jumplist.cc#newcode289 chrome/browser/win/jumplist.cc:289: On 2017/03/03 07:35:01, gab (OOO until Mar 13) wrote: ...
3 years, 9 months ago (2017-03-03 21:07:34 UTC) #36
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/2717813002/40001
3 years, 9 months ago (2017-03-03 21:08:01 UTC) #39
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 21:13:48 UTC) #42
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eae9a2c34f7315b1aaa17bf265c8...

Powered by Google App Engine
This is Rietveld 408576698