OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ | 5 #ifndef CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ |
6 #define CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ | 6 #define CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
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 "base/memory/scoped_vector.h" | |
18 #include "net/extras/sqlite/sqlite_channel_id_store.h" | 17 #include "net/extras/sqlite/sqlite_channel_id_store.h" |
19 #include "net/ssl/default_channel_id_store.h" | 18 #include "net/ssl/default_channel_id_store.h" |
20 | 19 |
21 namespace base { | 20 namespace base { |
22 class FilePath; | 21 class FilePath; |
23 class SequencedTaskRunner; | 22 class SequencedTaskRunner; |
24 } | 23 } |
25 | 24 |
26 namespace storage { | 25 namespace storage { |
27 class SpecialStoragePolicy; | 26 class SpecialStoragePolicy; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 60 |
62 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; | 61 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; |
63 scoped_refptr<net::SQLiteChannelIDStore> persistent_store_; | 62 scoped_refptr<net::SQLiteChannelIDStore> persistent_store_; |
64 // Cache of server identifiers we have channel IDs stored for. | 63 // Cache of server identifiers we have channel IDs stored for. |
65 std::set<std::string> server_identifiers_; | 64 std::set<std::string> server_identifiers_; |
66 | 65 |
67 DISALLOW_COPY_AND_ASSIGN(QuotaPolicyChannelIDStore); | 66 DISALLOW_COPY_AND_ASSIGN(QuotaPolicyChannelIDStore); |
68 }; | 67 }; |
69 | 68 |
70 #endif // CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ | 69 #endif // CHROME_BROWSER_NET_QUOTA_POLICY_CHANNEL_ID_STORE_H_ |
OLD | NEW |