diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 23:52:16 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 23:52:16 +0000 |
commit | f211befbc09c492a5c882fd4f08d71a69ea7c1fa (patch) | |
tree | 8f97254bdec8ed8d80a377453dd7ecb3ca3e420b /chrome/browser/browser_main.cc | |
parent | 2840577282782b79e48252402785fb53a1d63dcf (diff) | |
download | chromium_src-f211befbc09c492a5c882fd4f08d71a69ea7c1fa.zip chromium_src-f211befbc09c492a5c882fd4f08d71a69ea7c1fa.tar.gz chromium_src-f211befbc09c492a5c882fd4f08d71a69ea7c1fa.tar.bz2 |
Bring up BrowserInit on MacOS X.
Review URL: http://codereview.chromium.org/19695
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 5d2b149..0898d44 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -20,6 +20,9 @@ #include "base/values.h" #include "chrome/app/result_codes.h" #include "chrome/browser/browser_main_win.h" +#include "chrome/browser/browser_init.h" +#include "chrome/browser/browser_list.h" +#include "chrome/browser/browser_prefs.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/plugin_service.h" #include "chrome/browser/profile_manager.h" @@ -56,9 +59,6 @@ #include "base/win_util.h" #include "chrome/browser/automation/automation_provider.h" #include "chrome/browser/browser.h" -#include "chrome/browser/browser_init.h" -#include "chrome/browser/browser_list.h" -#include "chrome/browser/browser_prefs.h" #include "chrome/browser/browser_process_impl.h" #include "chrome/browser/browser_shutdown.h" #include "chrome/browser/browser_trial.h" @@ -547,8 +547,7 @@ int BrowserMain(const MainFunctionParams& parameters) { if (parameters.ui_task) { MessageLoopForUI::current()->PostTask(FROM_HERE, parameters.ui_task); RunUIMessageLoop(browser_process.get()); - } else if (BrowserInit::ProcessCommandLine(parsed_command_line, - std::wstring(), local_state, true, + } else if (BrowserInit::ProcessCommandLine(std::wstring(), local_state, true, profile, &result_code)) { RunUIMessageLoop(browser_process.get()); } |