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

Issue 2352353002: Add AppLauncherId wrapper for items shown in shelf (Closed)

Created:
4 years, 3 months ago by Andra Paraschiv
Modified:
4 years, 2 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add AppLauncherId wrapper for items shown in shelf Add AppLauncherId wrapper in the chrome launcher prefs codebase. It includes a unique chrome launcher id for a shelf item. The "AppLauncherId(const std::string& app_id, const std::string& launch_id)" constructor is currently unused, but will be used in a follow-up CL. Based on https://codereview.chromium.org/2290603002 Co-Authored-By: Valentin Ilie <valentin.ilie@intel.com>; BUG=610299 TEST=LauncherPlatformAppBrowserTest Committed: https://crrev.com/f9a980f3718e5d262ee429032fb7083caa9ba343 Cr-Commit-Position: refs/heads/master@{#426145}

Patch Set 1 #

Patch Set 2 : Include AppLauncherId in prefs code v1 #

Patch Set 3 : Include AppLauncherId in prefs code v2 #

Total comments: 11

Patch Set 4 : Review v2 #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : Review v3 #

Total comments: 12

Patch Set 7 : Review v4 #

Total comments: 16

Patch Set 8 : Review v5 #

Total comments: 4

Patch Set 9 : Review v6 #

Total comments: 2

Patch Set 10 : Review v7 #

Patch Set 11 : Rebase #

Total comments: 13

Patch Set 12 : Review v8 #

Patch Set 13 : Rebase #

Patch Set 14 : Rebase Fixes #

Patch Set 15 : Review v9 #

Total comments: 2

Patch Set 16 : Review v10 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -96 lines) Patch
M chrome/browser/ui/ash/chrome_launcher_prefs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +45 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 19 chunks +93 lines, -60 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +23 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +17 lines, -12 lines 0 comments Download

Messages

Total messages: 42 (12 generated)
stevenjb
I only reviewed some of this. I think this CL will make more sense and ...
4 years, 3 months ago (2016-09-21 16:06:40 UTC) #4
Andra Paraschiv
Thank you, Steven, for review. I added the constructor that includes the launch_id and uploaded ...
4 years, 3 months ago (2016-09-22 09:23:41 UTC) #5
Andra Paraschiv
On 2016/09/22 09:23:41, Andra Paraschiv wrote: > Thank you, Steven, for review. > > I ...
4 years, 2 months ago (2016-09-27 11:47:36 UTC) #6
stevenjb
https://codereview.chromium.org/2352353002/diff/40001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/40001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode216 chrome/browser/ui/ash/chrome_launcher_prefs.cc:216: std::string app_launcher_id; On 2016/09/22 09:23:41, Andra Paraschiv wrote: > ...
4 years, 2 months ago (2016-09-27 16:42:36 UTC) #7
stevenjb
On 2016/09/27 16:42:36, stevenjb wrote: > https://codereview.chromium.org/2352353002/diff/40001/chrome/browser/ui/ash/chrome_launcher_prefs.cc > File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): > > https://codereview.chromium.org/2352353002/diff/40001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode216 > ...
4 years, 2 months ago (2016-09-27 16:45:25 UTC) #8
Andra Paraschiv
Thank you for the notification and feedback. I added another patch set that includes storing ...
4 years, 2 months ago (2016-10-03 15:53:02 UTC) #9
James Cook
I took over for stevenjb because he's on vacation. I'll ask skuhne if he wants ...
4 years, 2 months ago (2016-10-03 21:14:36 UTC) #10
James Cook
Also, the BUG= line in the CL description is wrong. I think you meant 610299
4 years, 2 months ago (2016-10-03 23:03:19 UTC) #11
Andra Paraschiv
On 2016/10/03 23:03:19, James Cook wrote: > Also, the BUG= line in the CL description ...
4 years, 2 months ago (2016-10-04 09:10:42 UTC) #13
Andra Paraschiv
Ok, James, thank you for the review. I updated the CL to include the codebase ...
4 years, 2 months ago (2016-10-04 11:39:00 UTC) #14
James Cook
LGTM with nits https://codereview.chromium.org/2352353002/diff/100001/chrome/browser/ui/ash/chrome_launcher_prefs.h File chrome/browser/ui/ash/chrome_launcher_prefs.h (right): https://codereview.chromium.org/2352353002/diff/100001/chrome/browser/ui/ash/chrome_launcher_prefs.h#newcode66 chrome/browser/ui/ash/chrome_launcher_prefs.h:66: bool operator!=(const AppLauncherId& app_launcher_id) const; On ...
4 years, 2 months ago (2016-10-04 16:08:37 UTC) #15
msw
https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode292 chrome/browser/ui/ash/chrome_launcher_prefs.cc:292: : app_launcher_id_(app_id + launch_id) {} Why concatenate these internally? ...
4 years, 2 months ago (2016-10-04 17:09:24 UTC) #17
James Cook
https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode304 chrome/browser/ui/ash/chrome_launcher_prefs.cc:304: bool AppLauncherId::operator<(const AppLauncherId& other) const { On 2016/10/04 17:09:24, ...
4 years, 2 months ago (2016-10-04 17:18:44 UTC) #18
Andra Paraschiv
On 2016/10/04 17:18:44, James Cook wrote: > https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc > File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): > > https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode304 ...
4 years, 2 months ago (2016-10-05 09:04:00 UTC) #22
Andra Paraschiv
Thank you for feedback, I added the nits to the new patch set. https://codereview.chromium.org/2352353002/diff/100001/chrome/browser/ui/ash/chrome_launcher_prefs.h File ...
4 years, 2 months ago (2016-10-05 11:21:58 UTC) #23
James Cook
still lgtm https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode292 chrome/browser/ui/ash/chrome_launcher_prefs.cc:292: : app_launcher_id_(app_id + launch_id) {} On 2016/10/05 ...
4 years, 2 months ago (2016-10-05 15:33:10 UTC) #24
James Cook
Also, you can probably remove stevenjb and reillyg from the reviewer line. Generally we only ...
4 years, 2 months ago (2016-10-05 15:34:52 UTC) #25
msw
lgtm with a nit and minor comment. https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode292 chrome/browser/ui/ash/chrome_launcher_prefs.cc:292: : app_launcher_id_(app_id ...
4 years, 2 months ago (2016-10-05 17:14:28 UTC) #26
Mr4D (OOO till 08-26)
lgtm
4 years, 2 months ago (2016-10-05 21:39:55 UTC) #27
Andra Paraschiv
Thank you all for review, I modified the method name and definition. https://codereview.chromium.org/2352353002/diff/120001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc ...
4 years, 2 months ago (2016-10-06 07:49:47 UTC) #28
msw
still lgtm with an optional nit https://codereview.chromium.org/2352353002/diff/160001/chrome/browser/ui/ash/chrome_launcher_prefs.h File chrome/browser/ui/ash/chrome_launcher_prefs.h (right): https://codereview.chromium.org/2352353002/diff/160001/chrome/browser/ui/ash/chrome_launcher_prefs.h#newcode71 chrome/browser/ui/ash/chrome_launcher_prefs.h:71: const std::string ToString() ...
4 years, 2 months ago (2016-10-06 16:46:53 UTC) #29
Andra Paraschiv
Thanks. https://codereview.chromium.org/2352353002/diff/160001/chrome/browser/ui/ash/chrome_launcher_prefs.h File chrome/browser/ui/ash/chrome_launcher_prefs.h (right): https://codereview.chromium.org/2352353002/diff/160001/chrome/browser/ui/ash/chrome_launcher_prefs.h#newcode71 chrome/browser/ui/ash/chrome_launcher_prefs.h:71: const std::string ToString() const { return app_id_ + ...
4 years, 2 months ago (2016-10-07 07:56:10 UTC) #30
stevenjb
lgtm https://codereview.chromium.org/2352353002/diff/200001/chrome/browser/ui/ash/chrome_launcher_prefs.cc File chrome/browser/ui/ash/chrome_launcher_prefs.cc (right): https://codereview.chromium.org/2352353002/diff/200001/chrome/browser/ui/ash/chrome_launcher_prefs.cc#newcode669 chrome/browser/ui/ash/chrome_launcher_prefs.cc:669: pins.push_back(pin_infos[i].app_launcher_id); nit: the previous method of presizing the ...
4 years, 2 months ago (2016-10-13 17:59:15 UTC) #31
Andra Paraschiv
Thank you, Steven, for review. I updated the CL and added a comment regarding the ...
4 years, 2 months ago (2016-10-14 12:09:17 UTC) #32
Andra Paraschiv
@stevenjb Could you please take a look at the new patch set? Regarding the comment ...
4 years, 2 months ago (2016-10-18 07:54:12 UTC) #33
stevenjb
Thanks, LGTM! https://codereview.chromium.org/2352353002/diff/280001/chrome/browser/ui/ash/chrome_launcher_prefs.h File chrome/browser/ui/ash/chrome_launcher_prefs.h (right): https://codereview.chromium.org/2352353002/diff/280001/chrome/browser/ui/ash/chrome_launcher_prefs.h#newcode66 chrome/browser/ui/ash/chrome_launcher_prefs.h:66: // Empty constructor. nit: // Empty constructor ...
4 years, 2 months ago (2016-10-18 21:07:28 UTC) #34
Andra Paraschiv
Thank you for review. https://codereview.chromium.org/2352353002/diff/280001/chrome/browser/ui/ash/chrome_launcher_prefs.h File chrome/browser/ui/ash/chrome_launcher_prefs.h (right): https://codereview.chromium.org/2352353002/diff/280001/chrome/browser/ui/ash/chrome_launcher_prefs.h#newcode66 chrome/browser/ui/ash/chrome_launcher_prefs.h:66: // Empty constructor. On 2016/10/18 ...
4 years, 2 months ago (2016-10-19 06:57:18 UTC) #35
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/2352353002/300001
4 years, 2 months ago (2016-10-19 09:30:20 UTC) #38
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 2 months ago (2016-10-19 10:56:25 UTC) #40
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:06:53 UTC) #42
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/f9a980f3718e5d262ee429032fb7083caa9ba343
Cr-Commit-Position: refs/heads/master@{#426145}

Powered by Google App Engine
This is Rietveld 408576698