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

Side by Side Diff: net/cookies/cookie_store_test_helpers.h

Issue 1666513002: Promote CookieMonster::DeleteCanonicalCookieAsync to CookieStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cookie_monster13
Patch Set: Rebase Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « net/cookies/cookie_store.h ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698