| 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.
|
|
|