OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ | 5 #ifndef CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ |
6 #define CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ | 6 #define CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "net/cookies/cookie_monster.h" | 18 #include "net/cookies/cookie_monster.h" |
19 #include "net/extras/sqlite/sqlite_persistent_cookie_store.h" | 19 #include "net/extras/sqlite/sqlite_persistent_cookie_store.h" |
20 | 20 |
21 class Task; | 21 class Task; |
22 | 22 |
23 namespace base { | |
24 class FilePath; | |
25 class SequencedTaskRunner; | |
26 } // namespace base | |
27 | |
28 namespace net { | 23 namespace net { |
29 class CanonicalCookie; | 24 class CanonicalCookie; |
30 class CookieCryptoDelegate; | |
31 } // namespace net | 25 } // namespace net |
32 | 26 |
33 namespace storage { | 27 namespace storage { |
34 class SpecialStoragePolicy; | 28 class SpecialStoragePolicy; |
35 } // namespace storage | 29 } // namespace storage |
36 | 30 |
37 namespace content { | 31 namespace content { |
38 | 32 |
39 // Implements a PersistentCookieStore that deletes session cookies on | 33 // Implements a PersistentCookieStore that deletes session cookies on |
40 // shutdown. For documentation about the actual member functions consult the | 34 // shutdown. For documentation about the actual member functions consult the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 70 |
77 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; | 71 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; |
78 scoped_refptr<net::SQLitePersistentCookieStore> persistent_store_; | 72 scoped_refptr<net::SQLitePersistentCookieStore> persistent_store_; |
79 | 73 |
80 DISALLOW_COPY_AND_ASSIGN(QuotaPolicyCookieStore); | 74 DISALLOW_COPY_AND_ASSIGN(QuotaPolicyCookieStore); |
81 }; | 75 }; |
82 | 76 |
83 } // namespace content | 77 } // namespace content |
84 | 78 |
85 #endif // CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ | 79 #endif // CONTENT_BROWSER_NET_QUOTA_POLICY_COOKIE_STORE_H_ |
OLD | NEW |