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

Unified Diff: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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
Index: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (revision 192508)
+++ trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc (working copy)
@@ -40,7 +40,6 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
-#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_manager_client.h"
#include "chromeos/dbus/session_manager_client.h"
@@ -55,8 +54,7 @@
// workstation) and not running as login-manager, pretend like we're always
// logged in.
if (!base::chromeos::IsRunningOnChromeOS() &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kLoginManager)) {
+ !CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager)) {
return true;
}
@@ -69,13 +67,11 @@
}
bool ChromeShellDelegate::IsGuestSession() const {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kGuestSession);
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession);
}
bool ChromeShellDelegate::IsFirstRunAfterBoot() const {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kFirstBoot);
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kFirstBoot);
}
bool ChromeShellDelegate::CanLockScreen() const {
« no previous file with comments | « trunk/src/chrome/browser/ui/ash/ash_init.cc ('k') | trunk/src/chrome/browser/ui/browser_navigator_browsertest_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698