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

Unified Diff: chrome/browser/cookies_tree_model.h

Issue 2868059: Preparatory work for adding content exceptions from the tab cookie view. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 5 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
« no previous file with comments | « chrome/browser/content_setting_bubble_model.cc ('k') | chrome/browser/cookies_tree_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cookies_tree_model.h
diff --git a/chrome/browser/cookies_tree_model.h b/chrome/browser/cookies_tree_model.h
index 1a077858095b29457f30770167c20fb71a7afb26..9019884c7abb237c120a2385251f030cdc17bb4a 100644
--- a/chrome/browser/cookies_tree_model.h
+++ b/chrome/browser/cookies_tree_model.h
@@ -149,14 +149,15 @@ class CookieTreeOriginNode : public CookieTreeNode {
CookieTreeDatabasesNode* GetOrCreateDatabasesNode();
CookieTreeLocalStoragesNode* GetOrCreateLocalStoragesNode();
CookieTreeAppCachesNode* GetOrCreateAppCachesNode();
+ void CreateContentException(HostContentSettingsMap* content_settings,
+ ContentSetting setting);
private:
- // A pointer to the COOKIES node. Eventually we will also have database,
- // appcache, local storage, ..., and when we build up the tree we need to
- // quickly get a reference to the COOKIES node to add children. Checking each
- // child and interrogating them to see if they are a COOKIES, APPCACHES,
- // DATABASES etc node seems less preferable than storing an extra pointer per
- // origin.
+ // Pointers to the cookies, databases, local storage and appcache nodes.
+ // When we build up the tree we need to quickly get a reference to the COOKIES
+ // node to add children. Checking each child and interrogating them to see if
+ // they are a COOKIES, APPCACHES, DATABASES etc node seems less preferable
+ // than storing an extra pointer per origin.
CookieTreeCookiesNode* cookies_child_;
CookieTreeDatabasesNode* databases_child_;
CookieTreeLocalStoragesNode* local_storages_child_;
« no previous file with comments | « chrome/browser/content_setting_bubble_model.cc ('k') | chrome/browser/cookies_tree_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698