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

Unified Diff: chrome/browser/profiles/profile.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: Code review. Created 9 years 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.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index d1a52e61d1349ce5b0cb899df01b899e6282ec27..8a2f4aec927bf4b6e2e17490814ab2c17786d52d 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -494,6 +494,9 @@ class Profile : public content::BrowserContext {
// prerender or prefetch a result.
virtual NetworkActionPredictor* GetNetworkActionPredictor() = 0;
+ // Makes the session state, e.g., cookies, persistent across the next restart.
+ virtual void SaveSessionState() {}
+
std::string GetDebugName();
// Returns whether it is a guest session.
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698