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

Issue 2846383002: Improve JumpList icon folders' naming style (Closed)

Created:
3 years, 7 months ago by chengx
Modified:
3 years, 7 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve JumpList icon folders' naming style Currently, the JumpList class has a data member icon_dir_ to hold /profile/kJumpListIconDirname, which indicates that there's only one directory to hold jumplist icons. However, there are actually more than one icon directory. When generating these directory names, we append various kFoos to icon_dir_. It's better to append (chrome::kJumpListIconDirname + kFoo) as a whole to the profile directory as needed at the various points of use, rather than the current adding various kFoos to icon_dir_. This avoids the confusion. BUG=718314 Review-Url: https://codereview.chromium.org/2846383002 Cr-Commit-Position: refs/heads/master@{#469431} Committed: https://chromium.googlesource.com/chromium/src/+/6dbff02c181d5689f8c509b0890733c5c7b9a413

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into updatejumplisticonsfol… #

Patch Set 3 : Address comments #

Total comments: 14

Patch Set 4 : Update GenerateJumplistIconDirName method and more #

Total comments: 6

Patch Set 5 : Address nits. #

Patch Set 6 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into updatejumplisticonsfol… #

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

Messages

Total messages: 50 (41 generated)
chengx
PTAL~ I understand we prefer char[] over string when defining global const variable, but using ...
3 years, 7 months ago (2017-04-29 06:09:15 UTC) #13
grt (UTC plus 2)
https://codereview.chromium.org/2846383002/diff/1/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2846383002/diff/1/chrome/browser/win/jumplist.cc#newcode246 chrome/browser/win/jumplist.cc:246: base::FilePath icon_dir_most_visited = profile->GetPath().Append( a Profile* may only be ...
3 years, 7 months ago (2017-05-01 09:22:56 UTC) #14
chengx
PTAL~ https://codereview.chromium.org/2846383002/diff/1/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2846383002/diff/1/chrome/browser/win/jumplist.cc#newcode246 chrome/browser/win/jumplist.cc:246: base::FilePath icon_dir_most_visited = profile->GetPath().Append( On 2017/05/01 09:22:56, grt ...
3 years, 7 months ago (2017-05-03 05:47:01 UTC) #21
grt (UTC plus 2)
https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc#newcode202 chrome/browser/win/jumplist.cc:202: const base::FilePath::StringType& dir_name_append, take this as a base::FilePath::StringPieceType to ...
3 years, 7 months ago (2017-05-03 10:10:42 UTC) #30
chengx
I've addressed all the feedback comments in the new patch set. PTAL, thanks! https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc File ...
3 years, 7 months ago (2017-05-03 18:36:30 UTC) #33
grt (UTC plus 2)
lgtm w/ nits https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc#newcode203 chrome/browser/win/jumplist.cc:203: base::FilePath* out_dir) { On 2017/05/03 18:36:30, ...
3 years, 7 months ago (2017-05-04 11:41:56 UTC) #37
chengx
All the feedback comments have been addressed in the new patch set. Thanks! https://codereview.chromium.org/2846383002/diff/80001/chrome/browser/win/jumplist.cc File ...
3 years, 7 months ago (2017-05-04 19:36:11 UTC) #42
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/2846383002/140001
3 years, 7 months ago (2017-05-04 19:43:52 UTC) #47
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 19:50:41 UTC) #50
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/6dbff02c181d5689f8c509b08907...

Powered by Google App Engine
This is Rietveld 408576698