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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 816403003: 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/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index 637847562669c273bed67b9a9eb2096ec581925d..037d21f4d7de52052ce8c25771b42889c13d0403 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -212,7 +212,7 @@ void GaiaScreenHandler::LoadGaia(const GaiaContext& context) {
params.Set("localizedStrings", localized_strings);
}
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
const GURL gaia_url =
command_line->HasSwitch(::switches::kGaiaUrl)
@@ -720,7 +720,7 @@ void GaiaScreenHandler::LoadAuthExtension(bool force,
}
context.embedded_signin_enabled =
- CommandLine::ForCurrentProcess()->HasSwitch(
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnableEmbeddedSignin) ||
embedded_signin_enabled_by_shortcut_;
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/demo_mode_detector.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698