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

Unified Diff: chrome/browser/sessions/session_data_deleter.h

Issue 25414005: Clear session-only data when all browser windows are closed. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 2 months 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/sessions/session_data_deleter.h
diff --git a/chrome/browser/sessions/session_data_deleter.h b/chrome/browser/sessions/session_data_deleter.h
new file mode 100644
index 0000000000000000000000000000000000000000..710cd7e41ecc60a065534c5b76a5fa0f04f335f1
--- /dev/null
+++ b/chrome/browser/sessions/session_data_deleter.h
@@ -0,0 +1,15 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SESSIONS_SESSION_DATA_DELETER_H_
+#define CHROME_BROWSER_SESSIONS_SESSION_DATA_DELETER_H_
+
+class Profile;
+
+// Clears cookies and local storage for origins that are session-only and clears
+// session cookies unless the startup preference is to continue the previous
+// session.
+void DeleteSessionOnlyData(Profile* profile);
+
+#endif // CHROME_BROWSER_SESSIONS_SESSION_DATA_DELETER_H_
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | chrome/browser/sessions/session_data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698