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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 2938893002: cros: Make stub user work on the device
Patch Set: Created 3 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 | components/user_manager/user_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
index 5d01795888f7fcc0ec094c6c55f3623576835aba..5e39e290ac84fe33c5b60350b799e0c865e57f85 100644
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
@@ -533,8 +533,7 @@ void ChromeBrowserMainPartsChromeos::PreEarlyInitialization() {
// If we're not running on real Chrome OS hardware (or under VM), and are not
// showing the login manager or attempting a command line login, login with a
// stub user.
- if (!base::SysInfo::IsRunningOnChromeOS() &&
- !parsed_command_line().HasSwitch(switches::kLoginManager) &&
+ if (!parsed_command_line().HasSwitch(switches::kLoginManager) &&
!parsed_command_line().HasSwitch(switches::kLoginUser) &&
!parsed_command_line().HasSwitch(switches::kGuestSession)) {
singleton_command_line->AppendSwitchASCII(
« no previous file with comments | « no previous file | components/user_manager/user_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698