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

Unified Diff: chrome/browser/profiles/profile.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
« no previous file with comments | « chrome/browser/process_singleton_win.cc ('k') | chrome/browser/profiles/profile_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 414aae3b9c13e2787bb1c91bd89fb2f75e6d2594..6700d55cbc05a3323c3e8e7a49133811ebea6fe3 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -205,8 +205,9 @@ std::string Profile::GetDebugName() {
bool Profile::IsGuestSession() const {
#if defined(OS_CHROMEOS)
- static bool is_guest_session = CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kGuestSession);
+ static bool is_guest_session =
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kGuestSession);
return is_guest_session;
#else
return GetPath() == ProfileManager::GetGuestProfilePath();
« no previous file with comments | « chrome/browser/process_singleton_win.cc ('k') | chrome/browser/profiles/profile_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698