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

Unified Diff: chrome/browser/browser_main.cc

Issue 10896: Re-do the way browser windows are shown:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 5374)
+++ chrome/browser/browser_main.cc (working copy)
@@ -259,7 +259,7 @@
} // namespace
// Main routine for running as the Browser process.
-int BrowserMain(CommandLine &parsed_command_line, int show_command,
+int BrowserMain(CommandLine &parsed_command_line,
sandbox::BrokerServices* broker_services) {
// WARNING: If we get a WM_ENDSESSION objects created on the stack here
// are NOT deleted. If you need something to run during WM_ENDSESSION add it
@@ -421,7 +421,7 @@
return FirstRun::ImportNow(profile, parsed_command_line);
// When another process is running, use it instead of starting us.
- if (message_window.NotifyOtherProcess(show_command))
+ if (message_window.NotifyOtherProcess())
return ResultCodes::NORMAL_EXIT;
message_window.HuntForZombieChromeProcesses();
@@ -562,8 +562,7 @@
int result_code = ResultCodes::NORMAL_EXIT;
if (BrowserInit::ProcessCommandLine(parsed_command_line, L"", local_state,
- show_command, true, profile,
- &result_code)) {
+ true, profile, &result_code)) {
MessageLoopForUI::current()->Run(browser_process->accelerator_handler());
}

Powered by Google App Engine
This is Rietveld 408576698