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

Unified Diff: chrome/browser/content_settings/local_shared_objects_container.cc

Issue 454623003: Store in memory cookies in a hash set instead of a list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/content_settings/local_shared_objects_container.cc
diff --git a/chrome/browser/content_settings/local_shared_objects_container.cc b/chrome/browser/content_settings/local_shared_objects_container.cc
index 9b85393960dbadaad411efc519db1dac1e77fe97..cabe57713d97eb2a31cc8fcb4f4efea5265c6e84 100644
--- a/chrome/browser/content_settings/local_shared_objects_container.cc
+++ b/chrome/browser/content_settings/local_shared_objects_container.cc
@@ -88,8 +88,8 @@ size_t LocalSharedObjectsContainer::GetObjectCountForDomain(
origin_cookies_list_map.begin();
it != origin_cookies_list_map.end();
++it) {
- const net::CookieList* cookie_list = it->second;
- for (net::CookieList::const_iterator cookie = cookie_list->begin();
+ const net::CookieHashSet* cookie_list = it->second;
+ for (net::CookieHashSet::const_iterator cookie = cookie_list->begin();
cookie != cookie_list->end();
++cookie) {
// Strip leading '.'s.

Powered by Google App Engine
This is Rietveld 408576698