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); |
}; |