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

Issue 685103004: Refactor chrome_launcher_support::GetAnyChromePath. (Closed)

Created:
6 years, 1 month ago by Matt Giuca
Modified:
5 years, 11 months ago
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor chrome_launcher_support::GetAnyChromePath. Combined GetAnyChromePath and GetChromeSxSPath into one function that takes a bool |is_sxs|. Avoids the need to have a wrapper function that conditionally calls GetAnyChromePath or GetAnyChromeSxsPath. BUG=428600 Committed: https://crrev.com/e1b07409f19d84853d4730e3ab5b862fd65838d0 Cr-Commit-Position: refs/heads/master@{#311384}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Patch Set 5 : Fix app_shim_main. #

Patch Set 6 : Respond to comments. #

Total comments: 13

Patch Set 7 : Respond to comments. #

Total comments: 4

Patch Set 8 : Respond to comments. #

Patch Set 9 : One more /* is_sxs */. #

Total comments: 1

Patch Set 10 : Fix app_installer compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -64 lines) Patch
M chrome/app_installer/win/app_installer_main.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/app_installer/win/app_installer_util.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/app_installer/win/app_installer_util.cc View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/app_shim/win/app_shim_main.cc View 1 2 3 4 5 6 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/installer/gcapi/gcapi.cc View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.cc View 1 2 3 4 5 6 1 chunk +17 lines, -27 lines 0 comments Download
M cloud_print/service/win/chrome_launcher.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M cloud_print/service/win/service_listener.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cloud_print/virtual_driver/win/port_monitor/port_monitor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (5 generated)
Matt Giuca
jackhou@chromium.org: chrome/app_installer. grt@chromium.org: chrome/installer. vitalybuka@chromium.org: cloud_print. Thanks! https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode123 chrome/installer/launcher_support/chrome_launcher_support.cc:123: // non-canary ...
6 years, 1 month ago (2014-10-30 02:54:51 UTC) #2
jackhou1
app_installer lgtm https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode123 chrome/installer/launcher_support/chrome_launcher_support.cc:123: // non-canary path. On 2014/10/30 02:54:50, Matt ...
6 years, 1 month ago (2014-10-30 03:59:22 UTC) #3
Matt Giuca
I've also discovered in chrome/installer/gcapi/gcapi.cc this logic is duplicated. GetGoogleChromePath is essentially the same as ...
6 years, 1 month ago (2014-10-30 04:22:58 UTC) #4
grt (UTC plus 2)
https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode123 chrome/installer/launcher_support/chrome_launcher_support.cc:123: // non-canary path. On 2014/10/30 03:59:22, jackhou1 wrote: > ...
6 years, 1 month ago (2014-10-30 16:44:53 UTC) #5
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode123 chrome/installer/launcher_support/chrome_launcher_support.cc:123: // non-canary path. On 2014/10/30 03:59:22, jackhou1 wrote: > ...
6 years, 1 month ago (2014-10-30 16:46:17 UTC) #6
jackhou1
https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode128 chrome/installer/launcher_support/chrome_launcher_support.cc:128: path = GetChromePathForInstallationLevel(SYSTEM_LEVEL_INSTALLATION); On 2014/10/30 16:46:17, Vitaly Buka wrote: ...
6 years, 1 month ago (2014-10-31 00:05:54 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode123 chrome/installer/launcher_support/chrome_launcher_support.cc:123: // non-canary path. On 2014/10/30 16:46:17, Vitaly Buka wrote: ...
6 years, 1 month ago (2014-10-31 03:29:00 UTC) #8
Matt Giuca
Hi guys, so sorry I haven't responded to this in months. Have been busy with ...
5 years, 11 months ago (2015-01-09 06:17:32 UTC) #10
grt (UTC plus 2)
https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/1/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode128 chrome/installer/launcher_support/chrome_launcher_support.cc:128: path = GetChromePathForInstallationLevel(SYSTEM_LEVEL_INSTALLATION); On 2015/01/09 06:17:32, Matt Giuca wrote: ...
5 years, 11 months ago (2015-01-09 17:45:29 UTC) #11
Matt Giuca
https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc File cloud_print/service/win/chrome_launcher.cc (right): https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc#newcode202 cloud_print/service/win/chrome_launcher.cc:202: chrome_launcher_support::GetAnyChromePath(false); I don't know. Vitaly, can you answer this? ...
5 years, 11 months ago (2015-01-12 06:54:26 UTC) #12
Vitaly Buka (NO REVIEWS)
lgtm cloud_print/ https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc File cloud_print/service/win/chrome_launcher.cc (right): https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc#newcode202 cloud_print/service/win/chrome_launcher.cc:202: chrome_launcher_support::GetAnyChromePath(false); sgtm. There is no canary build ...
5 years, 11 months ago (2015-01-12 08:24:43 UTC) #13
grt (UTC plus 2)
lgtm w/ some comment nits. thanks. https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc File cloud_print/service/win/chrome_launcher.cc (right): https://codereview.chromium.org/685103004/diff/1/cloud_print/service/win/chrome_launcher.cc#newcode202 cloud_print/service/win/chrome_launcher.cc:202: chrome_launcher_support::GetAnyChromePath(false); On 2015/01/12 ...
5 years, 11 months ago (2015-01-12 14:02:42 UTC) #14
Matt Giuca
https://codereview.chromium.org/685103004/diff/120001/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/685103004/diff/120001/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode137 chrome/installer/launcher_support/chrome_launcher_support.cc:137: if (is_canary) { On 2015/01/12 14:02:41, grt wrote: > ...
5 years, 11 months ago (2015-01-13 08:22:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685103004/180001
5 years, 11 months ago (2015-01-13 08:26:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/15768)
5 years, 11 months ago (2015-01-13 08:48:48 UTC) #19
grt (UTC plus 2)
https://codereview.chromium.org/685103004/diff/180001/chrome/app_installer/win/app_installer_main.cc File chrome/app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/685103004/diff/180001/chrome/app_installer/win/app_installer_main.cc#newcode23 chrome/app_installer/win/app_installer_main.cc:23: #include "chrome/installer/util/util_constants.h" looks like this is missing: #include "chrome/installer/launcher_support/chrome_launcher_support.h"
5 years, 11 months ago (2015-01-13 14:10:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685103004/200001
5 years, 11 months ago (2015-01-14 00:28:23 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:200001)
5 years, 11 months ago (2015-01-14 01:20:03 UTC) #23
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 01:21:51 UTC) #24
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e1b07409f19d84853d4730e3ab5b862fd65838d0
Cr-Commit-Position: refs/heads/master@{#311384}

Powered by Google App Engine
This is Rietveld 408576698