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

Issue 338025: Remove the Chrome Frame preprocessor define in chrome_constants.cc (Closed)

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

Description

Remove the Chrome Frame preprocessor define in chrome_constants.cc and deal with resulting fallout. Also, remove several instances of Chrome Frame using wstrings instead of FilePaths. The main goal of this patch is to move towards ensuring that Chrome Frame and Google Chrome share binary-identical exes and dlls except for setup.exe and mini_installer.exe. BUG=http://crbug.com/26012,http://crbug.com/24874

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -57 lines) Patch
M chrome/common/chrome_constants.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/chrome_paths_internal.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths_linux.cc View 3 1 chunk +10 lines, -0 lines 2 comments Download
M chrome/common/chrome_paths_mac.mm View 3 1 chunk +13 lines, -0 lines 2 comments Download
M chrome/common/chrome_paths_win.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 2 3 chunks +15 lines, -5 lines 0 comments Download
M chrome_frame/chrome_frame_automation.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.h View 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M chrome_frame/test/perf/chrome_frame_perftest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome_frame/utils.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome_frame/utils.cc View 1 2 3 2 chunks +0 lines, -27 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
robertshield
11 years, 1 month ago (2009-10-26 21:41:50 UTC) #1
kuchhal
ok but see the comments below (especially about creating a common function to get User ...
11 years, 1 month ago (2009-10-26 23:11:18 UTC) #2
amit
lg http://codereview.chromium.org/338025/diff/1001/1003 File chrome_frame/utils.cc (right): http://codereview.chromium.org/338025/diff/1001/1003#newcode569 Line 569: file_util::AppendToPath(path, L"Chrome Frame"); Read product name from ...
11 years, 1 month ago (2009-10-26 23:52:49 UTC) #3
robertshield
http://codereview.chromium.org/338025/diff/1001/1004 File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/338025/diff/1001/1004#newcode180 Line 180: // build this path manually since it doesn't ...
11 years, 1 month ago (2009-10-27 17:44:31 UTC) #4
kuchhal
http://codereview.chromium.org/338025/diff/6002/7011 File chrome/common/chrome_paths_linux.cc (right): http://codereview.chromium.org/338025/diff/6002/7011#newcode77 Line 77: #if defined(GOOGLE_CHROME_BUILD) I think you want to check ...
11 years, 1 month ago (2009-10-27 18:47:26 UTC) #5
robertshield
http://codereview.chromium.org/338025/diff/6002/7011 File chrome/common/chrome_paths_linux.cc (right): http://codereview.chromium.org/338025/diff/6002/7011#newcode77 Line 77: #if defined(GOOGLE_CHROME_BUILD) On 2009/10/27 18:47:26, kuchhal wrote: > ...
11 years, 1 month ago (2009-10-27 19:55:37 UTC) #6
kuchhal
11 years, 1 month ago (2009-10-28 15:09:28 UTC) #7
lgtm.

On Tue, Oct 27, 2009 at 12:55 PM, <robertshield@chromium.org> wrote:

>
> http://codereview.chromium.org/338025/diff/6002/7011
> File chrome/common/chrome_paths_linux.cc (right):
>
> http://codereview.chromium.org/338025/diff/6002/7011#newcode77
> Line 77: #if defined(GOOGLE_CHROME_BUILD)
> On 2009/10/27 18:47:26, kuchhal wrote:
>
>> I think you want to check for CHROME_FRAME_BUILD?
>>
>
> No, I want to check for GOOGLE_CHROME_BUILD (see other comment).
>
>
> http://codereview.chromium.org/338025/diff/6002/7009
> File chrome/common/chrome_paths_mac.mm (right):
>
> http://codereview.chromium.org/338025/diff/6002/7009#newcode37
> Line 37: #endif
> On 2009/10/27 18:47:26, kuchhal wrote:
>
>> I think you want to check for Chrome Frame Build.
>>
>
> This method is specific to Chrome Frame and so (as proposed here), is
> always present regardless of whether CHROME_FRAME_BUILD is defined.
>
> The GOOGLE_CHROME_BUILD check here determines whether we put
> things in a "Google" sub-directory or not.
>
>
> And this also brings up my
>
>> original concern again. Currently Google Chrome and Chromium are
>>
> separate
>
>> products so have their own installation directory as well as User Data
>> directory.
>>
>
>  Will Google Chrome Frame make a Chromium version available? If yes
>>
> then it
>
>> probably needs to install in its own path and have a different User
>>
> Data dir.
>
> There aren't any specific plans along these lines. What I'd like to do
> is keep GOOGLE_CHROME_BUILD as the gatekeeper flag that determines
> whether this is an official release or not and modify the Chrome Frame
> bits of code to behave accordingly as I have done here with the user
>
> data dir.
>
> http://codereview.chromium.org/338025
>

Powered by Google App Engine
This is Rietveld 408576698