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

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

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (Closed)
Patch Set: Rebase on ToT Created 3 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 | « 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 net::CookieSameSite same_site, 55 net::CookieSameSite same_site,
56 bool enforce_strict_secure,
57 net::CookiePriority priority, 56 net::CookiePriority priority,
58 const SetCookiesCallback& callback) override; 57 const SetCookiesCallback& callback) override;
59 void GetCookiesWithOptionsAsync(const GURL& url, 58 void GetCookiesWithOptionsAsync(const GURL& url,
60 const net::CookieOptions& options, 59 const net::CookieOptions& options,
61 const GetCookiesCallback& callback) override; 60 const GetCookiesCallback& callback) override;
62 void GetCookieListWithOptionsAsync( 61 void GetCookieListWithOptionsAsync(
63 const GURL& url, 62 const GURL& url,
64 const net::CookieOptions& options, 63 const net::CookieOptions& options,
65 const GetCookieListCallback& callback) override; 64 const GetCookieListCallback& callback) override;
66 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; 65 void GetAllCookiesAsync(const GetCookieListCallback& callback) override;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Runs |callback|. Used to prevent callbacks from being invoked after the 121 // Runs |callback|. Used to prevent callbacks from being invoked after the
123 // AwCookieStoreWrapper has been destroyed. 122 // AwCookieStoreWrapper has been destroyed.
124 void RunClosureCallback(const base::Closure& callback); 123 void RunClosureCallback(const base::Closure& callback);
125 124
126 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_; 125 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_;
127 126
128 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_; 127 base::WeakPtrFactory<AwCookieStoreWrapper> weak_factory_;
129 }; 128 };
130 129
131 } // namesspace android_webview 130 } // 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