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

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

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 30502be8f174fd76d0a700392fb508d0a296b16d..007b2927d8b5fe7daa649aff9d24aecaca516dac 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -136,6 +136,9 @@ class ProfileImpl : public Profile,
virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
virtual GURL GetHomePage() OVERRIDE;
virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE;
+ virtual void SaveSessionState() OVERRIDE;
+ virtual void RestoreSessionState() OVERRIDE;
+ virtual void DiscardSessionState() OVERRIDE;
#if defined(OS_CHROMEOS)
virtual void ChangeAppLocale(const std::string& locale,
@@ -303,6 +306,8 @@ class ProfileImpl : public Profile,
chrome_browser_net::Predictor* predictor_;
+ bool session_restore_enabled_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
};

Powered by Google App Engine
This is Rietveld 408576698