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

Issue 1807743003: Remove HostDesktopType from AppLaunchParams (Closed)

Created:
4 years, 9 months ago by scottmg
Modified:
4 years, 9 months ago
Reviewers:
benwells, sky
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, tapted, sadrul, Matt Giuca, extensions-reviews_chromium.org, tfarina, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, davemoore+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@temp-parent
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove HostDesktopType from AppLaunchParams This one is a bit subtle. The two removed "helper" AppLaunchParams constructors were using HostDesktopType as an unrelated boolean to choose one or the other of the two constructors (unrelated to the actual value of HostDesktopType). I pulled those two out and had them use the now-single constructor, and tried to give the two names that made some sense according to their comments. R=benwells@chromium.org, sky@chromium.org BUG=558054, 587387, 586862 Committed: https://crrev.com/74deaca32d2f31b93fb799062a62d77eba28e516 Cr-Commit-Position: refs/heads/master@{#381770}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : try more useful names #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : fixes #

Total comments: 2

Patch Set 6 : . #

Patch Set 7 : remove FillLaunchParams #

Patch Set 8 : mac #

Patch Set 9 : mac2 #

Patch Set 10 : cros #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -106 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.cc View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc View 1 2 3 4 5 6 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.h View 1 2 3 4 4 chunks +17 lines, -21 lines 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.cc View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -37 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
scottmg
4 years, 9 months ago (2016-03-16 01:39:18 UTC) #4
benwells
https://codereview.chromium.org/1807743003/diff/60001/chrome/browser/ui/extensions/app_launch_params.cc File chrome/browser/ui/extensions/app_launch_params.cc (right): https://codereview.chromium.org/1807743003/diff/60001/chrome/browser/ui/extensions/app_launch_params.cc#newcode40 chrome/browser/ui/extensions/app_launch_params.cc:40: AppLaunchParams CreateAppLaunchParamsOverriddenContainer( All but one of the callers of ...
4 years, 9 months ago (2016-03-16 06:29:43 UTC) #5
sky
LGTM
4 years, 9 months ago (2016-03-16 15:48:13 UTC) #6
scottmg
https://codereview.chromium.org/1807743003/diff/60001/chrome/browser/ui/extensions/app_launch_params.cc File chrome/browser/ui/extensions/app_launch_params.cc (right): https://codereview.chromium.org/1807743003/diff/60001/chrome/browser/ui/extensions/app_launch_params.cc#newcode40 chrome/browser/ui/extensions/app_launch_params.cc:40: AppLaunchParams CreateAppLaunchParamsOverriddenContainer( On 2016/03/16 06:29:43, benwells wrote: > All ...
4 years, 9 months ago (2016-03-16 16:38:54 UTC) #7
benwells
lgtm once the bots are green https://codereview.chromium.org/1807743003/diff/80001/chrome/browser/apps/app_browsertest_util.cc File chrome/browser/apps/app_browsertest_util.cc (right): https://codereview.chromium.org/1807743003/diff/80001/chrome/browser/apps/app_browsertest_util.cc#newcode125 chrome/browser/apps/app_browsertest_util.cc:125: browser()->profile(), extension, LAUNCH_CONTAINER_NONE, ...
4 years, 9 months ago (2016-03-16 22:50:13 UTC) #8
scottmg
I also removed the now-always-empty FillLaunchParams(). https://codereview.chromium.org/1807743003/diff/80001/chrome/browser/apps/app_browsertest_util.cc File chrome/browser/apps/app_browsertest_util.cc (right): https://codereview.chromium.org/1807743003/diff/80001/chrome/browser/apps/app_browsertest_util.cc#newcode125 chrome/browser/apps/app_browsertest_util.cc:125: browser()->profile(), extension, LAUNCH_CONTAINER_NONE, ...
4 years, 9 months ago (2016-03-17 00:24:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807743003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807743003/200001
4 years, 9 months ago (2016-03-17 19:17:02 UTC) #13
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years, 9 months ago (2016-03-17 19:22:53 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 19:23:52 UTC) #16
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/74deaca32d2f31b93fb799062a62d77eba28e516
Cr-Commit-Position: refs/heads/master@{#381770}

Powered by Google App Engine
This is Rietveld 408576698