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

Issue 7840041: Refactor some more BrowserMain code. Move core code that's required by all embedders to content. (Closed)

Created:
9 years, 3 months ago by jam
Modified:
9 years, 3 months ago
Reviewers:
tony
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org, stevenjb
Visibility:
Public.

Description

Refactor some more BrowserMain code. Move the small bit of remaining code that's required by all embedders to content. BUG=90445 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100223

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : sync #

Total comments: 12

Patch Set 9 : make setting the result code less error prone #

Patch Set 10 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -285 lines) Patch
M chrome/browser/browser_main.h View 1 2 3 4 5 6 7 8 9 4 chunks +16 lines, -7 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 32 chunks +121 lines, -130 lines 0 comments Download
M chrome/browser/browser_main_gtk.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/browser_main_gtk.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -41 lines 0 comments Download
M chrome/browser/browser_main_mac.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/browser_main_mac.mm View 1 2 3 4 5 6 7 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/browser_main_posix.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/browser_main_posix.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/browser_main_win.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/browser_main_win.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/browser_main_chromeos.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/browser_main.h View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -6 lines 0 comments Download
M content/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 11 chunks +113 lines, -25 lines 0 comments Download
M content/common/content_switches.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/content_switches.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jam
9 years, 3 months ago (2011-09-07 22:33:22 UTC) #1
jam
oops, I meant to send this to Trung
9 years, 3 months ago (2011-09-08 01:34:27 UTC) #2
jam
http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc#newcode1756 chrome/browser/browser_main.cc:1756: fixed this spacing and also 1766
9 years, 3 months ago (2011-09-08 16:21:06 UTC) #3
jam
http://codereview.chromium.org/7840041/diff/15013/content/browser/browser_main.cc File content/browser/browser_main.cc (right): http://codereview.chromium.org/7840041/diff/15013/content/browser/browser_main.cc#newcode247 content/browser/browser_main.cc:247: { I got rid of this unnecessary scope
9 years, 3 months ago (2011-09-08 16:38:01 UTC) #4
tony
http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc#newcode1897 chrome/browser/browser_main.cc:1897: if (parameters().ui_task == NULL && translate_manager_ != NULL) Do ...
9 years, 3 months ago (2011-09-08 17:21:04 UTC) #5
jam
http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/7840041/diff/15013/chrome/browser/browser_main.cc#newcode1897 chrome/browser/browser_main.cc:1897: if (parameters().ui_task == NULL && translate_manager_ != NULL) On ...
9 years, 3 months ago (2011-09-08 17:43:01 UTC) #6
tony
The net_unittests failure looks real, no?
9 years, 3 months ago (2011-09-08 18:37:26 UTC) #7
tony
9 years, 3 months ago (2011-09-08 19:33:38 UTC) #8
On 2011/09/08 18:37:26, tony wrote:
> The net_unittests failure looks real, no?

Nevermind, looks like agl is looking into that failure.

LGTM

Powered by Google App Engine
This is Rietveld 408576698