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

Issue 345021: Continue to remove CHROME_FRAME_BUILD define from code that goes into chrome.... (Closed)

Created:
11 years, 1 month ago by robertshield
Modified:
9 years, 6 months ago
Reviewers:
kuchhal, amit
CC:
chromium-reviews_googlegroups.com, kuchhal, amit, slightlyoff
Visibility:
Public.

Description

Continue to remove CHROME_FRAME_BUILD define from code that goes into chrome.dll. This reworks the browser distribution code to use the ChromeFrameBrowserDistribution iff --chrome-frame is present on the command line. Also, * At startup, chrome.exe now uses the BrowserDistribution code to determine where the Chromium version key resides (instead of hard coding it). * The installer now propagates the presence of --verbose-logging to uninstalls. * The chrome_launcher now allows the --chrome-frame switch through to chrome. * The installer now accepts a --chrome-frame switch. * Remove almost all occurences of the CHROME_FRAME_BUILD define from the installer. BUG=26012, 26603 TEST=Chrome Frame still builds and runs correctly. Chrome Frame builds built without 'branding'='Chrome' now install correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31015

Patch Set 1 #

Total comments: 18

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -81 lines) Patch
M chrome/app/client_util.cc View 2 chunks +3 lines, -1 line 2 comments Download
M chrome/browser/first_run_win.cc View 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sandbox_policy.cc View 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/utility_process_host.cc View 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 2 3 4 5 5 chunks +39 lines, -31 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 2 3 4 1 chunk +11 lines, -11 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 2 3 4 5 4 chunks +28 lines, -28 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 1 2 3 4 5 1 chunk +18 lines, -6 lines 0 comments Download
M chrome/installer/util/install_util.h View 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome_frame/chrome_frame_automation.cc View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download
M chrome_frame/chrome_launcher.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/chrome_tab.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
robertshield
11 years, 1 month ago (2009-10-29 14:11:26 UTC) #1
kuchhal
http://codereview.chromium.org/345021/diff/1/5 File chrome/app/chrome_exe_main.cc (right): http://codereview.chromium.org/345021/diff/1/5#newcode67 Line 67: &version)) { Did this change increase the size ...
11 years, 1 month ago (2009-10-29 17:47:25 UTC) #2
amit
lg http://codereview.chromium.org/345021/diff/1/5 File chrome/app/chrome_exe_main.cc (right): http://codereview.chromium.org/345021/diff/1/5#newcode62 Line 62: BrowserDistribution* dist = BrowserDistribution::GetDistribution(); DCHECK? http://codereview.chromium.org/345021/diff/1/8 File ...
11 years, 1 month ago (2009-10-29 18:35:42 UTC) #3
robertshield
Addressed comments and added the use of an environment variable to track chrome-frame-y-ness down to ...
11 years, 1 month ago (2009-10-30 17:44:18 UTC) #4
kuchhal
lgtm. http://codereview.chromium.org/345021/diff/5002/8016 File chrome/browser/browser_main_win.cc (right): http://codereview.chromium.org/345021/diff/5002/8016#newcode43 Line 43: DCHECK(result) << "Failed to set Chrome Frame ...
11 years, 1 month ago (2009-10-30 22:20:08 UTC) #5
robertshield
I reworked this with to not use environment variables, based on the general community feedback ...
11 years, 1 month ago (2009-11-03 22:42:27 UTC) #6
amit
lg http://codereview.chromium.org/345021/diff/6020/7023 File chrome/browser/first_run_win.cc (right): http://codereview.chromium.org/345021/diff/6020/7023#newcode124 Line 124: CommandLine& browser_command_line = *CommandLine::ForCurrentProcess(); nit: reads odd, ...
11 years, 1 month ago (2009-11-04 17:09:11 UTC) #7
kuchhal
I believe yesterday Carlos committed a change in chrome.exe code that will not merge cleanly ...
11 years, 1 month ago (2009-11-04 18:04:06 UTC) #8
robertshield
Rahul, I updated to merge with Carlos' new stuff. Please take one more look :-) ...
11 years, 1 month ago (2009-11-04 20:09:51 UTC) #9
kuchhal
lgtm but see a comment below. http://codereview.chromium.org/345021/diff/14001/14020 File chrome/app/client_util.cc (right): http://codereview.chromium.org/345021/diff/14001/14020#newcode179 Line 179: key.append(L"\\").append(google_update::kChromeGuid); You ...
11 years, 1 month ago (2009-11-04 20:55:07 UTC) #10
robertshield
11 years, 1 month ago (2009-11-04 22:15:39 UTC) #11
http://codereview.chromium.org/345021/diff/14001/14020
File chrome/app/client_util.cc (right):

http://codereview.chromium.org/345021/diff/14001/14020#newcode179
Line 179: key.append(L"\\").append(google_update::kChromeGuid);
On 2009/11/04 20:55:08, kuchhal wrote:
> You probably need to change this too, to pick up CF GUID?

kChromeGuid is defined in a generated header that is specified at build time.
This will need to be updated, so that it can be given on the command line too,
but I am going to do that in a different patch. Thanks!

Powered by Google App Engine
This is Rietveld 408576698