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

Unified Diff: chrome/browser/browser_main.cc

Issue 7046114: Remove content dependency on chrome/browser/accessibility/browser_accessibility_state.h and chrom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 88904)
+++ chrome/browser/browser_main.cc (working copy)
@@ -1215,6 +1215,11 @@
int BrowserMain(const MainFunctionParams& parameters) {
TRACE_EVENT_BEGIN_ETW("BrowserMain", 0, "");
+ // Override the default ContentBrowserClient to let Chrome participate in
+ // content logic.
+ chrome::ChromeContentBrowserClient browser_client;
+ content::GetContentClient()->set_browser(&browser_client);
+
// If we're running tests (ui_task is non-null).
if (parameters.ui_task)
browser_defaults::enable_help_app = false;
@@ -1462,11 +1467,6 @@
SecKeychainAddCallback(&KeychainCallback, 0, NULL);
#endif
- // Override the default ContentBrowserClient to let Chrome participate in
- // content logic. Must be done before any tabs or profiles are created.
- chrome::ChromeContentBrowserClient browser_client;
- content::GetContentClient()->set_browser(&browser_client);
-
CreateChildThreads(browser_process.get());
#if defined(OS_CHROMEOS)
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698