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

Issue 345036: Rewrite of chrome.exe startup code... (Closed)

Created:
11 years, 1 month ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Rewrite of chrome.exe startup code A lot of cruft and repeated code has deposited over the years on chrome's initialization code. This CL makes it all much more clear and straightforward. There is no fundamental change of behavior except the order of certain things is different but it should not alter the observed operation. - chrome's and chromium load is fundamentally the same but most of the code was repeated - chrome's way to load the dll was incorrect: using a relative path with LOAD_WITH_ALTERED_SEARCH_PATH - Use of SearchPath() was dangerous and not needed - removed google_update_client.cc and .h - removed bunch of #ifdefs TEST=all convered by UI tests already except [1] BUG=none [1] The only thing I don't see convered by test is the restart dialog ('woa! chrome crashed'). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30934

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Total comments: 14

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -384 lines) Patch
M chrome/app/breakpad_win.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/app/chrome_exe_main.cc View 1 1 chunk +19 lines, -76 lines 0 comments Download
M chrome/app/client_util.h View 1 2 3 4 1 chunk +31 lines, -23 lines 0 comments Download
M chrome/app/client_util.cc View 1 2 3 1 chunk +168 lines, -63 lines 0 comments Download
D chrome/app/google_update_client.h View 1 chunk +0 lines, -81 lines 0 comments Download
D chrome/app/google_update_client.cc View 1 chunk +0 lines, -135 lines 0 comments Download
M chrome/browser/google_update.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
cpu_(ooo_6.6-7.5)
sorry for the amount of changes. At least the rewrite of the crash handling is ...
11 years, 1 month ago (2009-11-02 19:42:34 UTC) #1
Nicolas Sylvain
Overall it looks great. Some questions below the only thing I don't really like is ...
11 years, 1 month ago (2009-11-02 21:15:58 UTC) #2
cpu_(ooo_6.6-7.5)
code updated please look again. http://codereview.chromium.org/345036/diff/2001/2002 File chrome/app/client_util.cc (right): http://codereview.chromium.org/345036/diff/2001/2002#newcode21 Line 21: BYTE v[128 * ...
11 years, 1 month ago (2009-11-03 02:40:16 UTC) #3
kuchhal
http://codereview.chromium.org/345036/diff/4001/4002 File chrome/app/client_util.cc (right): http://codereview.chromium.org/345036/diff/4001/4002#newcode24 Line 24: return false; Probably should do a sanity check ...
11 years, 1 month ago (2009-11-03 18:21:49 UTC) #4
cpu_(ooo_6.6-7.5)
code updated, please look again. http://codereview.chromium.org/345036/diff/4001/4002 File chrome/app/client_util.cc (right): http://codereview.chromium.org/345036/diff/4001/4002#newcode24 Line 24: return false; On ...
11 years, 1 month ago (2009-11-03 22:51:32 UTC) #5
kuchhal
lgtm. On Tue, Nov 3, 2009 at 2:51 PM, <cpu@chromium.org> wrote: > code updated, please ...
11 years, 1 month ago (2009-11-03 23:33:20 UTC) #6
Nicolas Sylvain
11 years, 1 month ago (2009-11-03 23:35:54 UTC) #7
LGTM, make sure to watch out for startup regression and size regression.

Powered by Google App Engine
This is Rietveld 408576698