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

Unified Diff: chrome/browser/chromeos/login/wizard_in_process_browser_test.cc

Issue 6360006: Added browser test for existing user controller (new user login). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « chrome/browser/chromeos/login/wizard_in_process_browser_test.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
diff --git a/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc b/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
index 98d864dc4b34a3d939dc7750463f084f87bbe680..7f72f98b61ebbf788c84c5991b7409c6f030d4d2 100644
--- a/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
+++ b/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
@@ -20,8 +20,10 @@ WizardInProcessBrowserTest::WizardInProcessBrowserTest(const char* screen_name)
Browser* WizardInProcessBrowserTest::CreateBrowser(Profile* profile) {
SetUpWizard();
- browser::ShowLoginWizard(screen_name_.c_str(), gfx::Size(1024, 600));
- controller_ = WizardController::default_controller();
+ if (!screen_name_.empty()) {
+ browser::ShowLoginWizard(screen_name_.c_str(), gfx::Size(1024, 600));
+ controller_ = WizardController::default_controller();
+ }
return NULL;
}
« no previous file with comments | « chrome/browser/chromeos/login/wizard_in_process_browser_test.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698