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

Unified Diff: chrome/browser/cookies_tree_model.h

Issue 435024: Adds back the ability to filter cookies by origin in the cookies options view... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « no previous file | 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
===================================================================
--- chrome/browser/cookies_tree_model.h (revision 32803)
+++ chrome/browser/cookies_tree_model.h (working copy)
@@ -186,6 +186,9 @@
void DeleteAllCookies();
void DeleteCookieNode(CookieTreeNode* cookie_node);
+ // Filter the origins to only display matched results.
+ void UpdateSearchResults(const std::wstring& filter);
+
private:
enum CookieIconIndex {
ORIGIN = 0,
@@ -195,6 +198,7 @@
typedef std::vector<net::CookieMonster::CookieListPair*> CookiePtrList;
void LoadCookies();
+ void LoadCookiesWithFilter(const std::wstring& filter);
// The profile from which this model sources cookies.
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/cookies_tree_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698