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

Unified Diff: chrome/browser/browser_init.cc

Issue 149780: Make testers happy.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_init.cc
===================================================================
--- chrome/browser/browser_init.cc (revision 20922)
+++ chrome/browser/browser_init.cc (working copy)
@@ -441,7 +441,8 @@
// TODO(port): Remove ifdef when the Linux splash page is not needed.
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
// This can mess up UI tests, so only do it when UI tests aren't running.
- if (!parsed_command_line.HasSwitch(switches::kHomePage)) {
+ if (!parsed_command_line.HasSwitch(switches::kHomePage) &&
+ GetURLsFromCommandLine(profile_).empty()) {
Browser* browser = BrowserList::GetLastActive();
// Only show the splash page if it isn't already showing.
bool open_splash = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698