OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // Brought to you by the letter D and the number 2. | 5 // Brought to you by the letter D and the number 2. |
6 | 6 |
7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_ | 7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_ |
8 #define NET_COOKIES_COOKIE_MONSTER_H_ | 8 #define NET_COOKIES_COOKIE_MONSTER_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void SetCookieWithDetailsAsync(const GURL& url, | 156 void SetCookieWithDetailsAsync(const GURL& url, |
157 const std::string& name, | 157 const std::string& name, |
158 const std::string& value, | 158 const std::string& value, |
159 const std::string& domain, | 159 const std::string& domain, |
160 const std::string& path, | 160 const std::string& path, |
161 base::Time creation_time, | 161 base::Time creation_time, |
162 base::Time expiration_time, | 162 base::Time expiration_time, |
163 base::Time last_access_time, | 163 base::Time last_access_time, |
164 bool secure, | 164 bool secure, |
165 bool http_only, | 165 bool http_only, |
166 bool same_site, | 166 CookieSameSite same_site, |
167 bool enforce_strict_secure, | 167 bool enforce_strict_secure, |
168 CookiePriority priority, | 168 CookiePriority priority, |
169 const SetCookiesCallback& callback) override; | 169 const SetCookiesCallback& callback) override; |
170 void GetCookiesWithOptionsAsync(const GURL& url, | 170 void GetCookiesWithOptionsAsync(const GURL& url, |
171 const CookieOptions& options, | 171 const CookieOptions& options, |
172 const GetCookiesCallback& callback) override; | 172 const GetCookiesCallback& callback) override; |
173 void GetCookieListWithOptionsAsync( | 173 void GetCookieListWithOptionsAsync( |
174 const GURL& url, | 174 const GURL& url, |
175 const CookieOptions& options, | 175 const CookieOptions& options, |
176 const GetCookieListCallback& callback) override; | 176 const GetCookieListCallback& callback) override; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 bool SetCookieWithDetails(const GURL& url, | 387 bool SetCookieWithDetails(const GURL& url, |
388 const std::string& name, | 388 const std::string& name, |
389 const std::string& value, | 389 const std::string& value, |
390 const std::string& domain, | 390 const std::string& domain, |
391 const std::string& path, | 391 const std::string& path, |
392 base::Time creation_time, | 392 base::Time creation_time, |
393 base::Time expiration_time, | 393 base::Time expiration_time, |
394 base::Time last_access_time, | 394 base::Time last_access_time, |
395 bool secure, | 395 bool secure, |
396 bool http_only, | 396 bool http_only, |
397 bool same_site, | 397 CookieSameSite same_site, |
398 bool enforce_strict_secure, | 398 bool enforce_strict_secure, |
399 CookiePriority priority); | 399 CookiePriority priority); |
400 | 400 |
401 CookieList GetAllCookies(); | 401 CookieList GetAllCookies(); |
402 | 402 |
403 CookieList GetCookieListWithOptions(const GURL& url, | 403 CookieList GetCookieListWithOptions(const GURL& url, |
404 const CookieOptions& options); | 404 const CookieOptions& options); |
405 | 405 |
406 int DeleteAllCreatedBetween(const base::Time& delete_begin, | 406 int DeleteAllCreatedBetween(const base::Time& delete_begin, |
407 const base::Time& delete_end); | 407 const base::Time& delete_end); |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 virtual ~PersistentCookieStore() {} | 790 virtual ~PersistentCookieStore() {} |
791 | 791 |
792 private: | 792 private: |
793 friend class base::RefCountedThreadSafe<PersistentCookieStore>; | 793 friend class base::RefCountedThreadSafe<PersistentCookieStore>; |
794 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); | 794 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); |
795 }; | 795 }; |
796 | 796 |
797 } // namespace net | 797 } // namespace net |
798 | 798 |
799 #endif // NET_COOKIES_COOKIE_MONSTER_H_ | 799 #endif // NET_COOKIES_COOKIE_MONSTER_H_ |
OLD | NEW |