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

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

Issue 2882063002: Add a SetCanonicalCookie method for CookieMonster. (Closed)
Patch Set: Fix AW cookie store wrapper. Created 3 years, 6 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 27 matching lines...) Expand all
38 const std::string& path, 38 const std::string& path,
39 base::Time creation_time, 39 base::Time creation_time,
40 base::Time expiration_time, 40 base::Time expiration_time,
41 base::Time last_access_time, 41 base::Time last_access_time,
42 bool secure, 42 bool secure,
43 bool http_only, 43 bool http_only,
44 CookieSameSite same_site, 44 CookieSameSite same_site,
45 CookiePriority priority, 45 CookiePriority priority,
46 const SetCookiesCallback& callback) override; 46 const SetCookiesCallback& callback) override;
47 47
48 void SetCanonicalCookieAsync(std::unique_ptr<CanonicalCookie> cookie,
49 bool secure_source,
50 bool modify_http_only,
51 const SetCookiesCallback& callback) override;
52
48 void GetCookiesWithOptionsAsync( 53 void GetCookiesWithOptionsAsync(
49 const GURL& url, 54 const GURL& url,
50 const CookieOptions& options, 55 const CookieOptions& options,
51 const CookieMonster::GetCookiesCallback& callback) override; 56 const CookieMonster::GetCookiesCallback& callback) override;
52 57
53 void GetCookieListWithOptionsAsync( 58 void GetCookieListWithOptionsAsync(
54 const GURL& url, 59 const GURL& url,
55 const CookieOptions& options, 60 const CookieOptions& options,
56 const GetCookieListCallback& callback) override; 61 const GetCookieListCallback& callback) override;
57 62
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 146
142 private: 147 private:
143 const GURL url_; 148 const GURL url_;
144 const std::string registry_; 149 const std::string registry_;
145 const std::string domain_and_registry_; 150 const std::string domain_and_registry_;
146 }; 151 };
147 152
148 } // namespace net 153 } // namespace net
149 154
150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ 155 #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