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

Issue 2824103003: Various logical fixes for jumplist (Closed)

Created:
3 years, 8 months ago by chengx
Modified:
3 years, 8 months ago
Reviewers:
Patrick Monette
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Various logical fixes for jumplist This CL consists of the following three changes: 1) Move DeleteDirectoryContentAndLogResults() so that it runs only if jumplist_updater.BeginUpdate() succeeds, otherwise it's pointless. 2) Return early if any AddShellLink call fails. This is suspected to cause long execution time for jumplist_updater. 3) Decrease kFileDeleteLimit from 60 to 30. A user without jumplist issues should have at most 10 icon files in JumpListIcons folder as in crrev.com/2816113002. So changing kFileDeleteLimit to 30 won't affect "healthy" users. It'll give a better experience for users who have corrupted jumplist folders as the disk IO per jumplist update becomes less. BUG=40407, 179576 Review-Url: https://codereview.chromium.org/2824103003 Cr-Commit-Position: refs/heads/master@{#465689} Committed: https://chromium.googlesource.com/chromium/src/+/45d7b0fd5122143bca4dfc84370e11d7594cd411

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M chrome/browser/win/jumplist.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/win/jumplist_file_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/win/jumplist_updater.cc View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (17 generated)
chengx
PTAL this small CL. Thanks!
3 years, 8 months ago (2017-04-18 22:01:09 UTC) #9
chengx
Gentle Ping~ Hi Patrick, it seems you are 3 hours ahead of me, so I'll ...
3 years, 8 months ago (2017-04-19 18:29:32 UTC) #16
Patrick Monette
lgtm
3 years, 8 months ago (2017-04-19 18:48:40 UTC) #17
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/2824103003/1
3 years, 8 months ago (2017-04-19 18:57:52 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 19:05:13 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/45d7b0fd5122143bca4dfc84370e...

Powered by Google App Engine
This is Rietveld 408576698