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

Side by Side Diff: android_webview/browser/net/aw_cookie_store_wrapper.h

Issue 1773133002: SameSite: Implement 'Strict'/'Lax' attribute parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke@ Created 4 years, 9 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 #include <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void SetCookieWithDetailsAsync(const GURL& url, 45 void SetCookieWithDetailsAsync(const GURL& url,
46 const std::string& name, 46 const std::string& name,
47 const std::string& value, 47 const std::string& value,
48 const std::string& domain, 48 const std::string& domain,
49 const std::string& path, 49 const std::string& path,
50 base::Time creation_time, 50 base::Time creation_time,
51 base::Time expiration_time, 51 base::Time expiration_time,
52 base::Time last_access_time, 52 base::Time last_access_time,
53 bool secure, 53 bool secure,
54 bool http_only, 54 bool http_only,
55 bool same_site, 55 net::CookieSameSite same_site,
56 bool enforce_strict_secure, 56 bool enforce_strict_secure,
57 net::CookiePriority priority, 57 net::CookiePriority priority,
58 const SetCookiesCallback& callback) override; 58 const SetCookiesCallback& callback) override;
59 void GetCookiesWithOptionsAsync(const GURL& url, 59 void GetCookiesWithOptionsAsync(const GURL& url,
60 const net::CookieOptions& options, 60 const net::CookieOptions& options,
61 const GetCookiesCallback& callback) override; 61 const GetCookiesCallback& callback) override;
62 void GetCookieListWithOptionsAsync( 62 void GetCookieListWithOptionsAsync(
63 const GURL& url, 63 const GURL& url,
64 const net::CookieOptions& options, 64 const net::CookieOptions& options,
65 const GetCookieListCallback& callback) override; 65 const GetCookieListCallback& callback) override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Runs |callback|. Used to prevent callbacks from being invoked after the 122 // Runs |callback|. Used to prevent callbacks from being invoked after the
123 // AwCookieStoreWrapper has been destroyed. 123 // AwCookieStoreWrapper has been destroyed.
124 void RunClosureCallback(const base::Closure& callback); 124 void RunClosureCallback(const base::Closure& callback);
125 125
126 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_; 126 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_;
127 127
128 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_; 128 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_;
129 }; 129 };
130 130
131 } // namesspace android_webview 131 } // namesspace android_webview
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