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

Issue 2090133003: Moved methods that don't rely on internal state out of ChromeLauncherController. (Closed)

Created:
4 years, 6 months ago by Alex Z.
Modified:
4 years, 5 months ago
Reviewers:
*msw, StarAZ, mfomitchev, tapted
CC:
chromium-reviews, kalyank, sadrul, Matt Giuca, tapted, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moved methods that don't rely on internal state out of ChromeLauncherController. BUG=618445 Committed: https://crrev.com/9c77e2215c1a904b40ef05bf85cc865cf760b39d Cr-Commit-Position: refs/heads/master@{#402482}

Patch Set 1 #

Patch Set 2 : Moved methods that are independent of internal states out of ChromeLauncherController #

Patch Set 3 : Fixed usage in unittests #

Total comments: 7

Patch Set 4 : Added #include statement to unit tests #

Patch Set 5 : Removed irrelavant changes #

Patch Set 6 : Modifications according to the comments #

Total comments: 2

Patch Set 7 : Replaced #include statements with forward declarations in chrome_launcher_controller_util.h #

Total comments: 2

Patch Set 8 : Removed redundant #include statements #

Total comments: 12

Patch Set 9 : Changes according to the comments #

Patch Set 10 : Typo fixes #

Patch Set 11 : typo fix #

Patch Set 12 : Added #include #

Patch Set 13 : Fixed broken unit tests #

Patch Set 14 : Changed to profile_ #

Total comments: 7

Patch Set 15 : nit changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -124 lines) Patch
M chrome/browser/ui/app_list/app_list_controller_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_controller_ash.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc View 1 2 3 4 5 7 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc View 1 2 3 4 5 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_status_monitor.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -5 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 12 chunks +12 lines, -60 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc View 3 chunks +0 lines, -17 lines 0 comments Download
A chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
StarAZ
Please review my changes. skuhne@: Please review all changes under chrome/browser/ui/ash/launcher/ since you're the owner. ...
4 years, 6 months ago (2016-06-23 14:37:16 UTC) #2
mfomitchev
https://codereview.chromium.org/2090133003/diff/40001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h (right): https://codereview.chromium.org/2090133003/diff/40001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h#newcode13 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h:13: namespace util { I'd get rid of the namespaces. ...
4 years, 6 months ago (2016-06-23 16:00:27 UTC) #4
StarAZ
msw@chromium.org: Please review changes https://codereview.chromium.org/2090133003/diff/40001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h (right): https://codereview.chromium.org/2090133003/diff/40001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h#newcode13 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h:13: namespace util { On 2016/06/23 ...
4 years, 6 months ago (2016-06-23 19:35:03 UTC) #9
mfomitchev
https://codereview.chromium.org/2090133003/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h (right): https://codereview.chromium.org/2090133003/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h#newcode9 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h:9: #include "chrome/browser/ui/browser.h" Don't include browser.h and extension.h here, just ...
4 years, 6 months ago (2016-06-23 19:41:57 UTC) #10
StarAZ
https://codereview.chromium.org/2090133003/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h (right): https://codereview.chromium.org/2090133003/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h#newcode9 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h:9: #include "chrome/browser/ui/browser.h" On 2016/06/23 19:41:57, mfomitchev wrote: > Don't ...
4 years, 6 months ago (2016-06-23 20:12:42 UTC) #11
mfomitchev
https://codereview.chromium.org/2090133003/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc (right): https://codereview.chromium.org/2090133003/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc#newcode8 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc:8: #include "ash/shell.h" Looks like we are including too much ...
4 years, 6 months ago (2016-06-23 20:19:02 UTC) #12
StarAZ
https://codereview.chromium.org/2090133003/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc (right): https://codereview.chromium.org/2090133003/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc#newcode8 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc:8: #include "ash/shell.h" On 2016/06/23 20:19:02, mfomitchev wrote: > Looks ...
4 years, 6 months ago (2016-06-23 20:49:49 UTC) #13
mfomitchev
LGTM once you get the bots green (Getprofile -> GetProfile)
4 years, 6 months ago (2016-06-23 22:33:15 UTC) #14
tapted
https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc (right): https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc#newcode44 chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc:44: remove blank line https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc (right): https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc#newcode1 chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.cc:1: ...
4 years, 6 months ago (2016-06-23 23:47:30 UTC) #16
StarAZ
https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc (right): https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc#newcode44 chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc:44: On 2016/06/23 23:47:30, tapted wrote: > remove blank line ...
4 years, 6 months ago (2016-06-24 14:15:17 UTC) #17
tapted
https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc (right): https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc#newcode177 chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc:177: app_->id(), ChromeLauncherController::instance()->GetProfile()) == On 2016/06/23 23:47:30, tapted wrote: > ...
4 years, 5 months ago (2016-06-27 00:25:36 UTC) #18
Alex Z.
On 2016/06/27 00:25:36, tapted wrote: > https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc > File chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc > (right): > > https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc#newcode177 ...
4 years, 5 months ago (2016-06-27 02:51:47 UTC) #19
StarAZ
https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc (right): https://codereview.chromium.org/2090133003/diff/140001/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc#newcode177 chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc:177: app_->id(), ChromeLauncherController::instance()->GetProfile()) == On 2016/06/23 23:47:30, tapted wrote: > ...
4 years, 5 months ago (2016-06-27 14:22:47 UTC) #20
msw
lgtm with nits; sorry for the delay. https://codereview.chromium.org/2090133003/diff/250001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc (right): https://codereview.chromium.org/2090133003/diff/250001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc#newcode42 chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc:42: #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" ...
4 years, 5 months ago (2016-06-27 18:50:26 UTC) #21
tapted
app_list_controller_ash and app_info_footer_panel.cc lgtm
4 years, 5 months ago (2016-06-27 23:46:31 UTC) #22
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/2090133003/270001
4 years, 5 months ago (2016-06-28 14:48:56 UTC) #25
commit-bot: I haz the power
Committed patchset #15 (id:270001)
4 years, 5 months ago (2016-06-28 15:50:01 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 15:52:51 UTC) #29
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/9c77e2215c1a904b40ef05bf85cc865cf760b39d
Cr-Commit-Position: refs/heads/master@{#402482}

Powered by Google App Engine
This is Rietveld 408576698