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

Unified Diff: chrome/browser/tab_contents/tab_specific_content_settings.h

Issue 3194005: Clear cookie related settings at the beginning of a navigation instead of at the end. (Closed)
Patch Set: Created 10 years, 4 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/tab_contents/tab_specific_content_settings.h
diff --git a/chrome/browser/tab_contents/tab_specific_content_settings.h b/chrome/browser/tab_contents/tab_specific_content_settings.h
index 82976c423d5a7e896b6495bb6b62f063c4eac746..042afc71315c2e96ce0843ab46ec76cbe5a43c8f 100644
--- a/chrome/browser/tab_contents/tab_specific_content_settings.h
+++ b/chrome/browser/tab_contents/tab_specific_content_settings.h
@@ -42,8 +42,12 @@ class TabSpecificContentSettings
virtual ~TabSpecificContentSettings() {}
- // Resets the |content_blocked_| array and stored cookies.
- void ClearBlockedContentSettings();
+ // Resets the |content_blocked_| and |content_accessed_| arrays, except for
+ // CONTENT_SETTINGS_TYPE_COOKIES related information.
+ void ClearBlockedContentSettingsExceptForCookies();
+
+ // Resets all cookies related information.
+ void ClearCookieSpecificContentSettings();
// Changes the |content_blocked_| entry for popups.
void SetPopupsBlocked(bool blocked);
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/tab_contents/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698