| 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 <deque> | 10 #include <deque> |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 // stored for. | 296 // stored for. |
| 297 bool IsCookieableScheme(const std::string& scheme); | 297 bool IsCookieableScheme(const std::string& scheme); |
| 298 | 298 |
| 299 // The default list of schemes the cookie monster can handle. | 299 // The default list of schemes the cookie monster can handle. |
| 300 static const char* kDefaultCookieableSchemes[]; | 300 static const char* kDefaultCookieableSchemes[]; |
| 301 static const int kDefaultCookieableSchemesCount; | 301 static const int kDefaultCookieableSchemesCount; |
| 302 | 302 |
| 303 private: | 303 private: |
| 304 // For queueing the cookie monster calls. | 304 // For queueing the cookie monster calls. |
| 305 class CookieMonsterTask; | 305 class CookieMonsterTask; |
| 306 class DeleteTask; |
| 306 class DeleteAllCreatedBetweenTask; | 307 class DeleteAllCreatedBetweenTask; |
| 307 class DeleteAllForHostTask; | 308 class DeleteAllForHostTask; |
| 308 class DeleteAllTask; | 309 class DeleteAllTask; |
| 309 class DeleteCookieTask; | 310 class DeleteCookieTask; |
| 310 class DeleteCanonicalCookieTask; | 311 class DeleteCanonicalCookieTask; |
| 311 class GetAllCookiesForURLWithOptionsTask; | 312 class GetAllCookiesForURLWithOptionsTask; |
| 312 class GetAllCookiesTask; | 313 class GetAllCookiesTask; |
| 313 class GetCookiesWithOptionsTask; | 314 class GetCookiesWithOptionsTask; |
| 314 class SetCookieWithDetailsTask; | 315 class SetCookieWithDetailsTask; |
| 315 class SetCookieWithOptionsTask; | 316 class SetCookieWithOptionsTask; |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 virtual ~PersistentCookieStore() {} | 741 virtual ~PersistentCookieStore() {} |
| 741 | 742 |
| 742 private: | 743 private: |
| 743 friend class base::RefCountedThreadSafe<PersistentCookieStore>; | 744 friend class base::RefCountedThreadSafe<PersistentCookieStore>; |
| 744 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); | 745 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); |
| 745 }; | 746 }; |
| 746 | 747 |
| 747 } // namespace net | 748 } // namespace net |
| 748 | 749 |
| 749 #endif // NET_COOKIES_COOKIE_MONSTER_H_ | 750 #endif // NET_COOKIES_COOKIE_MONSTER_H_ |
| OLD | NEW |