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

Issue 10546149: Factor out logic to find chrome.exe from Omaha client state. (Closed)

Created:
8 years, 6 months ago by erikwright (departed)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Factor out logic to find chrome.exe from Omaha client state. Besides these two clients, will also be used by the Chrome Application Host stub. R=robertshield,abodenha CC=grt BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143423

Patch Set 1 #

Total comments: 35

Patch Set 2 : Respond to codereview comments. #

Patch Set 3 : Move launcher_support under chrome/installer. #

Total comments: 4

Patch Set 4 : 'Indentation.' #

Patch Set 5 : Remove fallback to Program Files. #

Patch Set 6 : Use chrome from current dir in development. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -90 lines) Patch
M chrome/chrome_installer.gypi View 1 2 3 4 5 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/installer/gcapi/gcapi.cc View 1 2 2 chunks +3 lines, -24 lines 0 comments Download
A chrome/installer/launcher_support/chrome_launcher_support.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/installer/launcher_support/chrome_launcher_support.cc View 1 2 3 4 5 1 chunk +94 lines, -0 lines 0 comments Download
M cloud_print/service/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cloud_print/service/service.gyp View 1 1 chunk +8 lines, -1 line 0 comments Download
M cloud_print/service/win/chrome_launcher.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cloud_print/service/win/chrome_launcher.cc View 1 2 4 chunks +2 lines, -61 lines 0 comments Download
M cloud_print/service/win/cloud_print_service.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
erikwright (departed)
8 years, 6 months ago (2012-06-13 17:30:56 UTC) #1
Albert Bodenhamer
LGTM vitalybuka@ should probably also take a look since he's been working on this area ...
8 years, 6 months ago (2012-06-13 17:42:39 UTC) #2
erikwright (departed)
Vitaly, Albert suggested roping you in on this one.
8 years, 6 months ago (2012-06-13 17:44:02 UTC) #3
grt (UTC plus 2)
http://codereview.chromium.org/10546149/diff/1/chrome/chrome.gyp File chrome/chrome.gyp (right): http://codereview.chromium.org/10546149/diff/1/chrome/chrome.gyp#newcode1076 chrome/chrome.gyp:1076: 'tools/launcher_support/chrome_launcher_support.cc', tools/ doesn't feel like the right place for ...
8 years, 6 months ago (2012-06-13 18:00:10 UTC) #4
Vitaly Buka (NO REVIEWS)
There is something in cloud_print\virtual_driver\win\port_monitor\port_monitor.cc but it's also use reg key for debug. Albert, do ...
8 years, 6 months ago (2012-06-13 18:01:10 UTC) #5
Vitaly Buka (NO REVIEWS)
http://codereview.chromium.org/10546149/diff/1/chrome/installer/gcapi/gcapi.cc File chrome/installer/gcapi/gcapi.cc (right): http://codereview.chromium.org/10546149/diff/1/chrome/installer/gcapi/gcapi.cc#newcode34 chrome/installer/gcapi/gcapi.cc:34: #include "chrome/tools/launcher_support/chrome_launcher_support.h" invalid order http://codereview.chromium.org/10546149/diff/1/cloud_print/service/service.gyp File cloud_print/service/service.gyp (right): http://codereview.chromium.org/10546149/diff/1/cloud_print/service/service.gyp#newcode31 ...
8 years, 6 months ago (2012-06-13 18:01:36 UTC) #6
robertshield
nits http://codereview.chromium.org/10546149/diff/1/chrome/installer/gcapi/gcapi.cc File chrome/installer/gcapi/gcapi.cc (right): http://codereview.chromium.org/10546149/diff/1/chrome/installer/gcapi/gcapi.cc#newcode34 chrome/installer/gcapi/gcapi.cc:34: #include "chrome/tools/launcher_support/chrome_launcher_support.h" move this include down to line ...
8 years, 6 months ago (2012-06-13 18:01:53 UTC) #7
abodenha
On Wed, Jun 13, 2012 at 11:01 AM, <vitalybuka@chromium.org> wrote: > There is something in ...
8 years, 6 months ago (2012-06-13 18:05:44 UTC) #8
Vitaly Buka (NO REVIEWS)
http://codereview.chromium.org/10546149/diff/1/chrome/tools/launcher_support/chrome_launcher_support.cc File chrome/tools/launcher_support/chrome_launcher_support.cc (right): http://codereview.chromium.org/10546149/diff/1/chrome/tools/launcher_support/chrome_launcher_support.cc#newcode18 chrome/tools/launcher_support/chrome_launcher_support.cc:18: // Consolidate them somehow. Please keep in mind that ...
8 years, 6 months ago (2012-06-13 18:08:19 UTC) #9
erikwright (departed)
Patch set 2 responds to all comments (except the DEPS one). Patch set 3 only ...
8 years, 6 months ago (2012-06-13 19:43:43 UTC) #10
Vitaly Buka (NO REVIEWS)
lgtm http://codereview.chromium.org/10546149/diff/1/chrome/tools/launcher_support/chrome_launcher_support.cc File chrome/tools/launcher_support/chrome_launcher_support.cc (right): http://codereview.chromium.org/10546149/diff/1/chrome/tools/launcher_support/chrome_launcher_support.cc#newcode43 chrome/tools/launcher_support/chrome_launcher_support.cc:43: chrome_path.Append(kGoogleChromeExePath); Yep. My mistake. But I still believe ...
8 years, 6 months ago (2012-06-13 20:18:37 UTC) #11
grt (UTC plus 2)
lgtm w/ a nit, although i'm not certain about the various gyp settings. can any ...
8 years, 6 months ago (2012-06-13 21:15:51 UTC) #12
Vitaly Buka (NO REVIEWS)
lgtm http://codereview.chromium.org/10546149/diff/9002/chrome/chrome_installer.gypi File chrome/chrome_installer.gypi (right): http://codereview.chromium.org/10546149/diff/9002/chrome/chrome_installer.gypi#newcode178 chrome/chrome_installer.gypi:178: '..', On 2012/06/13 21:15:51, grt wrote: > nit: ...
8 years, 6 months ago (2012-06-13 21:19:10 UTC) #13
Vitaly Buka (NO REVIEWS)
misread. never mind :-) > line 178 too?
8 years, 6 months ago (2012-06-13 21:20:00 UTC) #14
robertshield
lgtm, question for Albert / Vitaly below re. the %PROGRAMFILES% fallback. http://codereview.chromium.org/10546149/diff/9002/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): ...
8 years, 6 months ago (2012-06-13 21:42:21 UTC) #15
Vitaly Buka (NO REVIEWS)
http://codereview.chromium.org/10546149/diff/9002/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): http://codereview.chromium.org/10546149/diff/9002/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode42 chrome/installer/launcher_support/chrome_launcher_support.cc:42: if (PathService::Get(base::DIR_PROGRAM_FILES, &chrome_path)) { It's just in case. I ...
8 years, 6 months ago (2012-06-13 21:52:58 UTC) #16
abodenha
On Wed, Jun 13, 2012 at 2:52 PM, <vitalybuka@chromium.org> wrote: > > http://codereview.chromium.**org/10546149/diff/9002/chrome/** > installer/launcher_support/**chrome_launcher_support.cc<http://codereview.chromium.org/10546149/diff/9002/chrome/installer/launcher_support/chrome_launcher_support.cc> ...
8 years, 6 months ago (2012-06-13 21:57:07 UTC) #17
Vitaly Buka (NO REVIEWS)
Also omaha related code was copied from gcapi.cc, and it does not look like it ...
8 years, 6 months ago (2012-06-13 21:59:27 UTC) #18
erikwright (departed)
On 2012/06/13 21:59:27, Vitaly Buka wrote: > Also omaha related code was copied from gcapi.cc, ...
8 years, 6 months ago (2012-06-14 02:25:10 UTC) #19
robertshield
On 2012/06/14 02:25:10, erikwright wrote: > On 2012/06/13 21:59:27, Vitaly Buka wrote: > > Also ...
8 years, 6 months ago (2012-06-14 02:41:21 UTC) #20
Vitaly Buka (NO REVIEWS)
> Vitaly, Robert, for development, in the bit that I'm building based on this I'm ...
8 years, 6 months ago (2012-06-14 02:43:14 UTC) #21
grt (UTC plus 2)
On 2012/06/14 02:25:10, erikwright wrote: > Vitaly, Robert, for development, in the bit that I'm ...
8 years, 6 months ago (2012-06-14 03:49:42 UTC) #22
erikwright (departed)
Anyone have any objections to this final revision? In non-official builds, look for chrome.exe in ...
8 years, 6 months ago (2012-06-20 16:15:25 UTC) #23
Vitaly Buka (NO REVIEWS)
lgtm On 2012/06/20 16:15:25, erikwright wrote: > Anyone have any objections to this final revision? ...
8 years, 6 months ago (2012-06-20 17:38:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/10546149/19003
8 years, 6 months ago (2012-06-21 15:08:44 UTC) #25
commit-bot: I haz the power
8 years, 6 months ago (2012-06-21 18:49:31 UTC) #26
Change committed as 143423

Powered by Google App Engine
This is Rietveld 408576698