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

Unified Diff: chrome/browser/chromeos/login/user.h

Issue 137323005: Fixing endless loop when getting the active profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 6 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index 5c8168a8458f664015e0f16203d1f3cfc06b228c..c61c0bb8f6a2c8e02426e7e10a33862e84230c6d 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -171,6 +171,11 @@ class User {
// True if current user is active within the current session.
virtual bool is_active() const;
+ // True if the user Profile is created.
+ bool is_profile_created() const {
+ return profile_is_created_;
+ }
+
protected:
friend class SupervisedUserManagerImpl;
friend class UserManagerImpl;
@@ -190,10 +195,6 @@ class User {
explicit User(const std::string& email);
virtual ~User();
- bool is_profile_created() const {
- return profile_is_created_;
- }
-
const std::string* GetAccountLocale() const {
return account_locale_.get();
}
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698