| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 5 #ifndef NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| 6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| 7 | 7 |
| 8 #include "net/cookies/cookie_monster.h" | 8 #include "net/cookies/cookie_monster.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual std::string GetCookiesWithOptions(const GURL& url, | 61 virtual std::string GetCookiesWithOptions(const GURL& url, |
| 62 const CookieOptions& options); | 62 const CookieOptions& options); |
| 63 | 63 |
| 64 virtual void DeleteCookie(const GURL& url, | 64 virtual void DeleteCookie(const GURL& url, |
| 65 const std::string& cookie_name); | 65 const std::string& cookie_name); |
| 66 | 66 |
| 67 void DeleteCookieAsync(const GURL& url, | 67 void DeleteCookieAsync(const GURL& url, |
| 68 const std::string& cookie_name, | 68 const std::string& cookie_name, |
| 69 const base::Closure& callback) override; | 69 const base::Closure& callback) override; |
| 70 | 70 |
| 71 void DeleteCanonicalCookieAsync(const CanonicalCookie& cookie, |
| 72 const DeleteCallback& callback) override; |
| 73 |
| 71 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, | 74 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, |
| 72 const base::Time& delete_end, | 75 const base::Time& delete_end, |
| 73 const DeleteCallback& callback) override; | 76 const DeleteCallback& callback) override; |
| 74 | 77 |
| 75 void DeleteAllCreatedBetweenForHostAsync( | 78 void DeleteAllCreatedBetweenForHostAsync( |
| 76 const base::Time delete_begin, | 79 const base::Time delete_begin, |
| 77 const base::Time delete_end, | 80 const base::Time delete_end, |
| 78 const GURL& url, | 81 const GURL& url, |
| 79 const DeleteCallback& callback) override; | 82 const DeleteCallback& callback) override; |
| 80 | 83 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 133 |
| 131 private: | 134 private: |
| 132 const GURL url_; | 135 const GURL url_; |
| 133 const std::string registry_; | 136 const std::string registry_; |
| 134 const std::string domain_and_registry_; | 137 const std::string domain_and_registry_; |
| 135 }; | 138 }; |
| 136 | 139 |
| 137 } // namespace net | 140 } // namespace net |
| 138 | 141 |
| 139 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 142 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| OLD | NEW |