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

Side by Side Diff: android_webview/browser/net/aw_cookie_store_wrapper.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 | « no previous file | android_webview/browser/net/aw_cookie_store_wrapper.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const std::string& domain, 51 const std::string& domain,
52 const std::string& path, 52 const std::string& path,
53 base::Time creation_time, 53 base::Time creation_time,
54 base::Time expiration_time, 54 base::Time expiration_time,
55 base::Time last_access_time, 55 base::Time last_access_time,
56 bool secure, 56 bool secure,
57 bool http_only, 57 bool http_only,
58 net::CookieSameSite same_site, 58 net::CookieSameSite same_site,
59 net::CookiePriority priority, 59 net::CookiePriority priority,
60 const SetCookiesCallback& callback) override; 60 const SetCookiesCallback& callback) override;
61 void SetCanonicalCookieAsync(std::unique_ptr<net::CanonicalCookie> cookie,
62 bool secure_source,
63 bool modify_http_only,
64 const SetCookiesCallback& callback) override;
61 void GetCookiesWithOptionsAsync(const GURL& url, 65 void GetCookiesWithOptionsAsync(const GURL& url,
62 const net::CookieOptions& options, 66 const net::CookieOptions& options,
63 const GetCookiesCallback& callback) override; 67 const GetCookiesCallback& callback) override;
64 void GetCookieListWithOptionsAsync( 68 void GetCookieListWithOptionsAsync(
65 const GURL& url, 69 const GURL& url,
66 const net::CookieOptions& options, 70 const net::CookieOptions& options,
67 const GetCookieListCallback& callback) override; 71 const GetCookieListCallback& callback) override;
68 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; 72 void GetAllCookiesAsync(const GetCookieListCallback& callback) override;
69 void DeleteCookieAsync(const GURL& url, 73 void DeleteCookieAsync(const GURL& url,
70 const std::string& cookie_name, 74 const std::string& cookie_name,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void RunClosureCallback(const base::Closure& callback); 130 void RunClosureCallback(const base::Closure& callback);
127 131
128 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_; 132 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_;
129 133
130 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_; 134 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_;
131 }; 135 };
132 136
133 } // namespace android_webview 137 } // namespace android_webview
134 138
135 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_ 139 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_COOKIE_STORE_WRAPPER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/net/aw_cookie_store_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698