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

Issue 2870853002: Change 4 funcs to JumpList member funcs, retire wstring for jumplist* (Closed)

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

Description

Change 4 funcs to JumpList member funcs, retire wstring for jumplist* This CL seems to have a lot of code changes, but in fact it does nothing but to change 4 anonymous functions to JumpList class member functions. Originally these 4 functions were put in an anonymous namespace, and they are now moved to the end of jumplist.cc. Their declarations are added in jumplist.h. The body of these 4 functions have no changes at all. However, one PostTask function call is updated accordingly due to this change. Making these 4 functions be member functions of JumpList class allows them to get access the member variables (which I am going to add) of the JumpList class. This lays out the foundation for a number of JumpList improvements I am going to do in parallel. Otherwise, there will be a lot of duplicated code changes and heavy merge conflicts ahead. Moreover, this also makes it easier to review the coming CLs on top of this. This CL also changes all std::wstring to base::string16 in jumplist.* and jumplist_updater.* to get rid of presubmit warnings. BUG=40407, 179576 Review-Url: https://codereview.chromium.org/2870853002 Cr-Commit-Position: refs/heads/master@{#470455} Committed: https://chromium.googlesource.com/chromium/src/+/e69eb0e891909eacc2ad5b22787df30517428ea4

Patch Set 1 #

Total comments: 12

Patch Set 2 : Change std::wstring to base::string16 #

Total comments: 2

Patch Set 3 : Change base::unretained(this) to this #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -216 lines) Patch
M chrome/browser/win/jumplist.h View 1 3 chunks +36 lines, -1 line 0 comments Download
M chrome/browser/win/jumplist.cc View 1 2 6 chunks +189 lines, -195 lines 0 comments Download
M chrome/browser/win/jumplist_updater.h View 1 4 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/win/jumplist_updater.cc View 1 5 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 42 (29 generated)
chengx
Hi Greg/Gabriel, can one of you take a look at this CL please? This CL ...
3 years, 7 months ago (2017-05-09 07:12:16 UTC) #10
gab
Good idea to make a move-only CL first, please resolve the string16 and other comments ...
3 years, 7 months ago (2017-05-09 14:54:28 UTC) #11
chengx
Hi Gabriel, I've addressed all the review comments in the new patch set. PTAL~ https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc ...
3 years, 7 months ago (2017-05-09 18:04:14 UTC) #17
gab
https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc#newcode481 chrome/browser/win/jumplist.cc:481: base::Bind(&JumpList::RunUpdateJumpList, base::Unretained(this), On 2017/05/09 18:04:14, chengx wrote: > On ...
3 years, 7 months ago (2017-05-09 18:37:37 UTC) #20
chengx
PTAL, thanks! https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc#newcode481 chrome/browser/win/jumplist.cc:481: base::Bind(&JumpList::RunUpdateJumpList, base::Unretained(this), On 2017/05/09 18:37:36, gab wrote: ...
3 years, 7 months ago (2017-05-09 18:56:04 UTC) #23
gab
lgtm https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc#newcode614 chrome/browser/win/jumplist.cc:614: JumpListUpdater jumplist_updater(app_id); On 2017/05/09 18:04:14, chengx wrote: > ...
3 years, 7 months ago (2017-05-09 20:07:11 UTC) #26
chengx
https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2870853002/diff/20001/chrome/browser/win/jumplist.cc#newcode614 chrome/browser/win/jumplist.cc:614: JumpListUpdater jumplist_updater(app_id); On 2017/05/09 20:07:11, gab wrote: > On ...
3 years, 7 months ago (2017-05-09 20:11:32 UTC) #27
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/2870853002/60001
3 years, 7 months ago (2017-05-09 20:13:05 UTC) #29
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/2870853002/60001
3 years, 7 months ago (2017-05-09 21:37:16 UTC) #32
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/2870853002/60001
3 years, 7 months ago (2017-05-09 23:14:21 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 02:07:54 UTC) #37
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/2870853002/60001
3 years, 7 months ago (2017-05-10 04:19:32 UTC) #39
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 04:44:55 UTC) #42
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e69eb0e891909eacc2ad5b22787d...

Powered by Google App Engine
This is Rietveld 408576698