OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |