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

Side by Side Diff: ios/net/cookies/cookie_store_ios_persistent.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 | « ios/net/cookies/cookie_store_ios.mm ('k') | ios/net/cookies/cookie_store_ios_persistent.mm » ('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 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_PERSISTENT_H_ 5 #ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_PERSISTENT_H_
6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_PERSISTENT_H_ 6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_PERSISTENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const std::string& domain, 46 const std::string& domain,
47 const std::string& path, 47 const std::string& path,
48 base::Time creation_time, 48 base::Time creation_time,
49 base::Time expiration_time, 49 base::Time expiration_time,
50 base::Time last_access_time, 50 base::Time last_access_time,
51 bool secure, 51 bool secure,
52 bool http_only, 52 bool http_only,
53 CookieSameSite same_site, 53 CookieSameSite same_site,
54 CookiePriority priority, 54 CookiePriority priority,
55 const SetCookiesCallback& callback) override; 55 const SetCookiesCallback& callback) override;
56 void SetCanonicalCookieAsync(std::unique_ptr<CanonicalCookie> cookie,
57 bool secure_source,
58 bool modify_http_only,
59 const SetCookiesCallback& callback) override;
56 void GetCookiesWithOptionsAsync(const GURL& url, 60 void GetCookiesWithOptionsAsync(const GURL& url,
57 const net::CookieOptions& options, 61 const net::CookieOptions& options,
58 const GetCookiesCallback& callback) override; 62 const GetCookiesCallback& callback) override;
59 void GetCookieListWithOptionsAsync( 63 void GetCookieListWithOptionsAsync(
60 const GURL& url, 64 const GURL& url,
61 const net::CookieOptions& options, 65 const net::CookieOptions& options,
62 const GetCookieListCallback& callback) override; 66 const GetCookieListCallback& callback) override;
63 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; 67 void GetAllCookiesAsync(const GetCookieListCallback& callback) override;
64 void DeleteCookieAsync(const GURL& url, 68 void DeleteCookieAsync(const GURL& url,
65 const std::string& cookie_name, 69 const std::string& cookie_name,
(...skipping 14 matching lines...) Expand all
80 // No-op functions for this class. 84 // No-op functions for this class.
81 void WriteToCookieMonster(NSArray* system_cookies) override; 85 void WriteToCookieMonster(NSArray* system_cookies) override;
82 void OnSystemCookiesChanged() override; 86 void OnSystemCookiesChanged() override;
83 87
84 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOSPersistent); 88 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOSPersistent);
85 }; 89 };
86 90
87 } // namespace net 91 } // namespace net
88 92
89 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_PERSISTENT_H_ 93 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_PERSISTENT_H_
OLDNEW
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | ios/net/cookies/cookie_store_ios_persistent.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698