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

Unified Diff: chrome/browser/chromeos/login/screens/error_screen.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/login/screens/error_screen.cc
diff --git a/chrome/browser/chromeos/login/screens/error_screen.cc b/chrome/browser/chromeos/login/screens/error_screen.cc
index a0a714e6792a15f4100cacb7dd81efd33ebafea4..14971c9c5dba73fe4b5c0c0af21c8726f5872c86 100644
--- a/chrome/browser/chromeos/login/screens/error_screen.cc
+++ b/chrome/browser/chromeos/login/screens/error_screen.cc
@@ -74,8 +74,9 @@ void ErrorScreen::OnAuthSuccess(const UserContext& user_context) {
void ErrorScreen::OnOffTheRecordAuthSuccess() {
// Restart Chrome to enter the guest session.
- const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
- CommandLine command_line(browser_command_line.GetProgram());
+ const base::CommandLine& browser_command_line =
+ *base::CommandLine::ForCurrentProcess();
+ base::CommandLine command_line(browser_command_line.GetProgram());
std::string cmd_line_str =
GetOffTheRecordCommandLine(GURL(),
StartupUtils::IsOobeCompleted(),

Powered by Google App Engine
This is Rietveld 408576698