| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 5 #ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
| 6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 const SetCookiesCallback& callback) override; | 135 const SetCookiesCallback& callback) override; |
| 136 void GetCookiesWithOptionsAsync(const GURL& url, | 136 void GetCookiesWithOptionsAsync(const GURL& url, |
| 137 const net::CookieOptions& options, | 137 const net::CookieOptions& options, |
| 138 const GetCookiesCallback& callback) override; | 138 const GetCookiesCallback& callback) override; |
| 139 void GetAllCookiesForURLAsync(const GURL& url, | 139 void GetAllCookiesForURLAsync(const GURL& url, |
| 140 const GetCookieListCallback& callback) override; | 140 const GetCookieListCallback& callback) override; |
| 141 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; | 141 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; |
| 142 void DeleteCookieAsync(const GURL& url, | 142 void DeleteCookieAsync(const GURL& url, |
| 143 const std::string& cookie_name, | 143 const std::string& cookie_name, |
| 144 const base::Closure& callback) override; | 144 const base::Closure& callback) override; |
| 145 void DeleteCanonicalCookieAsync( |
| 146 const CanonicalCookie& cookie, |
| 147 const DeleteCallback& callback) override; |
| 145 net::CookieMonster* GetCookieMonster() override; | 148 net::CookieMonster* GetCookieMonster() override; |
| 146 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, | 149 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, |
| 147 const base::Time& delete_end, | 150 const base::Time& delete_end, |
| 148 const DeleteCallback& callback) override; | 151 const DeleteCallback& callback) override; |
| 149 void DeleteAllCreatedBetweenForHostAsync( | 152 void DeleteAllCreatedBetweenForHostAsync( |
| 150 const base::Time delete_begin, | 153 const base::Time delete_begin, |
| 151 const base::Time delete_end, | 154 const base::Time delete_end, |
| 152 const GURL& url, | 155 const GURL& url, |
| 153 const DeleteCallback& callback) override; | 156 const DeleteCallback& callback) override; |
| 154 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override; | 157 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 typedef std::map<std::pair<GURL, std::string>, CookieChangedCallbackList*> | 328 typedef std::map<std::pair<GURL, std::string>, CookieChangedCallbackList*> |
| 326 CookieChangedHookMap; | 329 CookieChangedHookMap; |
| 327 CookieChangedHookMap hook_map_; | 330 CookieChangedHookMap hook_map_; |
| 328 | 331 |
| 329 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); | 332 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); |
| 330 }; | 333 }; |
| 331 | 334 |
| 332 } // namespace net | 335 } // namespace net |
| 333 | 336 |
| 334 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 337 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
| OLD | NEW |