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

Unified Diff: ios/net/cookies/cookie_store_ios.h

Issue 2348963002: Remove stl_util's STLDeleteContainerPairSecondPointers from ios/. (Closed)
Patch Set: fix Created 4 years, 3 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 | « no previous file | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_store_ios.h
diff --git a/ios/net/cookies/cookie_store_ios.h b/ios/net/cookies/cookie_store_ios.h
index ed635f46f20ed118613fe41f5eb5cb3bf88e0675..0ededf9364f7f7df6855eb1d526f0cb02e64a821 100644
--- a/ios/net/cookies/cookie_store_ios.h
+++ b/ios/net/cookies/cookie_store_ios.h
@@ -324,9 +324,9 @@ class CookieStoreIOS : public net::CookieStore,
std::unique_ptr<CookieCache> cookie_cache_;
// Callbacks for cookie changes installed by AddCallbackForCookie.
- typedef std::map<std::pair<GURL, std::string>, CookieChangedCallbackList*>
- CookieChangedHookMap;
- CookieChangedHookMap hook_map_;
+ std::map<std::pair<GURL, std::string>,
+ std::unique_ptr<CookieChangedCallbackList>>
+ hook_map_;
base::WeakPtrFactory<CookieStoreIOS> weak_factory_;
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698