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 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "content/browser/appcache/chrome_appcache_service.h" | 11 #include "content/browser/appcache/chrome_appcache_service.h" |
12 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 12 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
13 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 13 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
14 #include "content/browser/media/webrtc_identity_store.h" | 14 #include "content/browser/media/webrtc_identity_store.h" |
15 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 15 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "content/public/browser/storage_partition.h" | 17 #include "content/public/browser/storage_partition.h" |
18 #include "webkit/browser/quota/special_storage_policy.h" | 18 #include "storage/browser/quota/special_storage_policy.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 class StoragePartitionImpl : public StoragePartition { | 22 class StoragePartitionImpl : public StoragePartition { |
23 public: | 23 public: |
24 CONTENT_EXPORT virtual ~StoragePartitionImpl(); | 24 CONTENT_EXPORT virtual ~StoragePartitionImpl(); |
25 | 25 |
26 // Quota managed data uses a different bitmask for types than | 26 // Quota managed data uses a different bitmask for types than |
27 // StoragePartition uses. This method generates that mask. | 27 // StoragePartition uses. This method generates that mask. |
28 CONTENT_EXPORT static int GenerateQuotaClientMask(uint32 remove_mask); | 28 CONTENT_EXPORT static int GenerateQuotaClientMask(uint32 remove_mask); |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; | 157 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
158 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; | 158 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; |
159 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; | 159 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 161 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
165 | 165 |
166 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 166 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |