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

Unified Diff: chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/chromeos/background/ash_user_wallpaper_delegate.cc
diff --git a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
index b551e7cf3ffe83b6a97bb88904beb73c6d331eca..0ddc96a421b87bf472b5419a4e7e0de228840595 100644
--- a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
+++ b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc
@@ -26,10 +26,11 @@ namespace {
bool IsNormalWallpaperChange() {
if (chromeos::LoginState::Get()->IsUserLoggedIn() ||
- !CommandLine::ForCurrentProcess()->HasSwitch(
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kFirstExecAfterBoot) ||
WizardController::IsZeroDelayEnabled() ||
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager)) {
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kLoginManager)) {
return true;
}
@@ -68,7 +69,8 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate {
// It is a first boot case now. If kDisableBootAnimation flag
// is passed, it only disables any transition after OOBE.
bool is_registered = StartupUtils::IsDeviceRegistered();
- const CommandLine* command_line = CommandLine::ForCurrentProcess();
+ const base::CommandLine* command_line =
+ base::CommandLine::ForCurrentProcess();
bool disable_boot_animation = command_line->
HasSwitch(switches::kDisableBootAnimation);
if (is_registered && disable_boot_animation)

Powered by Google App Engine
This is Rietveld 408576698