| Index: chrome/browser/profile.h
|
| ===================================================================
|
| --- chrome/browser/profile.h (revision 7147)
|
| +++ chrome/browser/profile.h (working copy)
|
| @@ -65,6 +65,7 @@
|
| // off the record mode.
|
| IMPLICIT_ACCESS
|
| };
|
| + Profile() : restored_last_session_(false) {}
|
| virtual ~Profile() {}
|
|
|
| // Profile prefs are registered as soon as the prefs are loaded for the first
|
| @@ -229,8 +230,19 @@
|
| }
|
| #endif
|
|
|
| + // 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;
|
| + }
|
| + bool restored_last_session() const {
|
| + return restored_last_session_;
|
| + }
|
| +
|
| protected:
|
| static URLRequestContext* default_request_context_;
|
| +
|
| + private:
|
| + bool restored_last_session_;
|
| };
|
|
|
| class OffTheRecordProfileImpl;
|
|
|