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

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

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
« no previous file with comments | « chrome/browser/app_controller_mac_browsertest.mm ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 45761ee2fb2c7fec46337d22fd3428f5ae5b1814..519085ab17a2f0142a819bce47e13b9bdf02c525 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -322,6 +322,9 @@ class Profile : public content::BrowserContext {
// Returns whether it is a guest session.
noms (inactive) 2015/01/20 13:43:17 nit: Bleh, not a giant fan about how one is a gues
Mike Lerman 2015/01/20 16:18:11 Dy'arg, ok, I'll fix that in another CL. IsGuestSe
virtual bool IsGuestSession() const;
+ // Returns whether it is a system profile.
+ virtual bool IsSystemProfile() const;
+
// Did the user restore the last session? This is set by SessionRestore.
void set_restored_last_session(bool restored_last_session) {
restored_last_session_ = restored_last_session;
@@ -384,6 +387,10 @@ class Profile : public content::BrowserContext {
is_guest_profile_ = is_guest_profile;
}
+ void set_is_system_profile(bool is_system_profile) {
+ is_system_profile_ = is_system_profile;
+ }
+
private:
bool restored_last_session_;
@@ -399,6 +406,8 @@ class Profile : public content::BrowserContext {
bool is_guest_profile_;
+ bool is_system_profile_;
noms (inactive) 2015/01/20 13:43:17 Please document what a system profile means, and w
Mike Lerman 2015/01/20 16:18:11 Done.
+
DISALLOW_COPY_AND_ASSIGN(Profile);
};
« no previous file with comments | « chrome/browser/app_controller_mac_browsertest.mm ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698