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" |
(...skipping 25 matching lines...) Expand all Loading... |
36 base::FilePath GetPath() override; | 36 base::FilePath GetPath() override; |
37 net::URLRequestContextGetter* GetURLRequestContext() override; | 37 net::URLRequestContextGetter* GetURLRequestContext() override; |
38 net::URLRequestContextGetter* GetMediaURLRequestContext() override; | 38 net::URLRequestContextGetter* GetMediaURLRequestContext() override; |
39 storage::QuotaManager* GetQuotaManager() override; | 39 storage::QuotaManager* GetQuotaManager() override; |
40 ChromeAppCacheService* GetAppCacheService() override; | 40 ChromeAppCacheService* GetAppCacheService() override; |
41 storage::FileSystemContext* GetFileSystemContext() override; | 41 storage::FileSystemContext* GetFileSystemContext() override; |
42 storage::DatabaseTracker* GetDatabaseTracker() override; | 42 storage::DatabaseTracker* GetDatabaseTracker() override; |
43 DOMStorageContextWrapper* GetDOMStorageContext() override; | 43 DOMStorageContextWrapper* GetDOMStorageContext() override; |
44 IndexedDBContextImpl* GetIndexedDBContext() override; | 44 IndexedDBContextImpl* GetIndexedDBContext() override; |
45 ServiceWorkerContextWrapper* GetServiceWorkerContext() override; | 45 ServiceWorkerContextWrapper* GetServiceWorkerContext() override; |
| 46 GeofencingManager* GetGeofencingManager() override; |
46 | 47 |
47 void ClearDataForOrigin(uint32 remove_mask, | 48 void ClearDataForOrigin(uint32 remove_mask, |
48 uint32 quota_storage_remove_mask, | 49 uint32 quota_storage_remove_mask, |
49 const GURL& storage_origin, | 50 const GURL& storage_origin, |
50 net::URLRequestContextGetter* request_context_getter, | 51 net::URLRequestContextGetter* request_context_getter, |
51 const base::Closure& callback) override; | 52 const base::Closure& callback) override; |
52 void ClearData(uint32 remove_mask, | 53 void ClearData(uint32 remove_mask, |
53 uint32 quota_storage_remove_mask, | 54 uint32 quota_storage_remove_mask, |
54 const GURL& storage_origin, | 55 const GURL& storage_origin, |
55 const OriginMatcherFunction& origin_matcher, | 56 const OriginMatcherFunction& origin_matcher, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 CONTENT_EXPORT StoragePartitionImpl( | 110 CONTENT_EXPORT StoragePartitionImpl( |
110 const base::FilePath& partition_path, | 111 const base::FilePath& partition_path, |
111 storage::QuotaManager* quota_manager, | 112 storage::QuotaManager* quota_manager, |
112 ChromeAppCacheService* appcache_service, | 113 ChromeAppCacheService* appcache_service, |
113 storage::FileSystemContext* filesystem_context, | 114 storage::FileSystemContext* filesystem_context, |
114 storage::DatabaseTracker* database_tracker, | 115 storage::DatabaseTracker* database_tracker, |
115 DOMStorageContextWrapper* dom_storage_context, | 116 DOMStorageContextWrapper* dom_storage_context, |
116 IndexedDBContextImpl* indexed_db_context, | 117 IndexedDBContextImpl* indexed_db_context, |
117 ServiceWorkerContextWrapper* service_worker_context, | 118 ServiceWorkerContextWrapper* service_worker_context, |
118 WebRTCIdentityStore* webrtc_identity_store, | 119 WebRTCIdentityStore* webrtc_identity_store, |
119 storage::SpecialStoragePolicy* special_storage_policy); | 120 storage::SpecialStoragePolicy* special_storage_policy, |
| 121 GeofencingManager* geofencing_manager); |
120 | 122 |
121 void ClearDataImpl(uint32 remove_mask, | 123 void ClearDataImpl(uint32 remove_mask, |
122 uint32 quota_storage_remove_mask, | 124 uint32 quota_storage_remove_mask, |
123 const GURL& remove_origin, | 125 const GURL& remove_origin, |
124 const OriginMatcherFunction& origin_matcher, | 126 const OriginMatcherFunction& origin_matcher, |
125 net::URLRequestContextGetter* rq_context, | 127 net::URLRequestContextGetter* rq_context, |
126 const base::Time begin, | 128 const base::Time begin, |
127 const base::Time end, | 129 const base::Time end, |
128 const base::Closure& callback); | 130 const base::Closure& callback); |
129 | 131 |
(...skipping 19 matching lines...) Expand all Loading... |
149 scoped_refptr<net::URLRequestContextGetter> media_url_request_context_; | 151 scoped_refptr<net::URLRequestContextGetter> media_url_request_context_; |
150 scoped_refptr<storage::QuotaManager> quota_manager_; | 152 scoped_refptr<storage::QuotaManager> quota_manager_; |
151 scoped_refptr<ChromeAppCacheService> appcache_service_; | 153 scoped_refptr<ChromeAppCacheService> appcache_service_; |
152 scoped_refptr<storage::FileSystemContext> filesystem_context_; | 154 scoped_refptr<storage::FileSystemContext> filesystem_context_; |
153 scoped_refptr<storage::DatabaseTracker> database_tracker_; | 155 scoped_refptr<storage::DatabaseTracker> database_tracker_; |
154 scoped_refptr<DOMStorageContextWrapper> dom_storage_context_; | 156 scoped_refptr<DOMStorageContextWrapper> dom_storage_context_; |
155 scoped_refptr<IndexedDBContextImpl> indexed_db_context_; | 157 scoped_refptr<IndexedDBContextImpl> indexed_db_context_; |
156 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; | 158 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
157 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; | 159 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; |
158 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; | 160 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; |
| 161 scoped_refptr<GeofencingManager> geofencing_manager_; |
159 | 162 |
160 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 163 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
161 }; | 164 }; |
162 | 165 |
163 } // namespace content | 166 } // namespace content |
164 | 167 |
165 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 168 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |