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 30 matching lines...) Expand all Loading... |
41 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; | 41 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; |
42 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; | 42 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
43 virtual DOMStorageContextWrapper* GetDOMStorageContext() OVERRIDE; | 43 virtual DOMStorageContextWrapper* GetDOMStorageContext() OVERRIDE; |
44 virtual IndexedDBContextImpl* GetIndexedDBContext() OVERRIDE; | 44 virtual IndexedDBContextImpl* GetIndexedDBContext() OVERRIDE; |
45 virtual ServiceWorkerContextWrapper* GetServiceWorkerContext() OVERRIDE; | 45 virtual ServiceWorkerContextWrapper* GetServiceWorkerContext() OVERRIDE; |
46 | 46 |
47 virtual void ClearDataForOrigin( | 47 virtual void ClearDataForOrigin( |
48 uint32 remove_mask, | 48 uint32 remove_mask, |
49 uint32 quota_storage_remove_mask, | 49 uint32 quota_storage_remove_mask, |
50 const GURL& storage_origin, | 50 const GURL& storage_origin, |
51 net::URLRequestContextGetter* request_context_getter) OVERRIDE; | 51 net::URLRequestContextGetter* request_context_getter, |
| 52 const base::Closure& callback) OVERRIDE; |
52 virtual void ClearData(uint32 remove_mask, | 53 virtual 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, |
56 const base::Time begin, | 57 const base::Time begin, |
57 const base::Time end, | 58 const base::Time end, |
58 const base::Closure& callback) OVERRIDE; | 59 const base::Closure& callback) OVERRIDE; |
59 | 60 |
60 WebRTCIdentityStore* GetWebRTCIdentityStore(); | 61 WebRTCIdentityStore* GetWebRTCIdentityStore(); |
61 | 62 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; | 157 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
157 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; | 158 scoped_refptr<WebRTCIdentityStore> webrtc_identity_store_; |
158 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 159 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 161 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace content | 164 } // namespace content |
164 | 165 |
165 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 166 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |