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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 847733005: Move User Manager onto a System profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile Error - Windows Created 5 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
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index abd07794c7d166598f7ad0b31da6a5cb710aaf8b..7292b30cd3f5bb9673de72062d66db53c33aa14a 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -38,7 +38,8 @@ Profile::Profile()
: restored_last_session_(false),
sent_destroyed_notification_(false),
accessibility_pause_level_(0),
- is_guest_profile_(false) {
+ is_guest_profile_(false),
+ is_system_profile_(false) {
}
Profile::~Profile() {
@@ -215,6 +216,10 @@ bool Profile::IsGuestSession() const {
#endif
}
+bool Profile::IsSystemProfile() const {
+ return is_system_profile_;
+}
+
bool Profile::IsNewProfile() {
// The profile has been shut down if the prefs were loaded from disk, unless
// first-run autoimport wrote them and reloaded the pref service.

Powered by Google App Engine
This is Rietveld 408576698