| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 const std::string& cookie_name, | 72 const std::string& cookie_name, |
| 73 const base::Closure& callback) override; | 73 const base::Closure& callback) override; |
| 74 | 74 |
| 75 void DeleteCanonicalCookieAsync(const CanonicalCookie& cookie, | 75 void DeleteCanonicalCookieAsync(const CanonicalCookie& cookie, |
| 76 const DeleteCallback& callback) override; | 76 const DeleteCallback& callback) override; |
| 77 | 77 |
| 78 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, | 78 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, |
| 79 const base::Time& delete_end, | 79 const base::Time& delete_end, |
| 80 const DeleteCallback& callback) override; | 80 const DeleteCallback& callback) override; |
| 81 | 81 |
| 82 void DeleteAllCreatedBetweenForHostAsync( | 82 void DeleteAllCreatedBetweenWithPredicateAsync( |
| 83 const base::Time delete_begin, | 83 const base::Time& delete_begin, |
| 84 const base::Time delete_end, | 84 const base::Time& delete_end, |
| 85 const GURL& url, | 85 const base::Callback<bool(const CanonicalCookie&)>& predicate, |
| 86 const DeleteCallback& callback) override; | 86 const DeleteCallback& callback) override; |
| 87 | 87 |
| 88 void DeleteSessionCookiesAsync(const DeleteCallback&) override; | 88 void DeleteSessionCookiesAsync(const DeleteCallback&) override; |
| 89 | 89 |
| 90 void FlushStore(const base::Closure& callback) override; | 90 void FlushStore(const base::Closure& callback) override; |
| 91 | 91 |
| 92 scoped_ptr<CookieStore::CookieChangedSubscription> | 92 scoped_ptr<CookieStore::CookieChangedSubscription> |
| 93 AddCallbackForCookie(const GURL& url, const std::string& name, | 93 AddCallbackForCookie(const GURL& url, const std::string& name, |
| 94 const CookieChangedCallback& callback) override; | 94 const CookieChangedCallback& callback) override; |
| 95 | 95 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 private: | 142 private: |
| 143 const GURL url_; | 143 const GURL url_; |
| 144 const std::string registry_; | 144 const std::string registry_; |
| 145 const std::string domain_and_registry_; | 145 const std::string domain_and_registry_; |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace net | 148 } // namespace net |
| 149 | 149 |
| 150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| OLD | NEW |