| 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 13 matching lines...) Expand all Loading... |
| 24 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; | 24 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; |
| 25 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE; | 25 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE; |
| 26 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; | 26 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; |
| 27 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; | 27 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; |
| 28 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; | 28 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; |
| 29 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; | 29 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
| 30 virtual DOMStorageContextImpl* GetDOMStorageContext() OVERRIDE; | 30 virtual DOMStorageContextImpl* GetDOMStorageContext() OVERRIDE; |
| 31 virtual IndexedDBContextImpl* GetIndexedDBContext() OVERRIDE; | 31 virtual IndexedDBContextImpl* GetIndexedDBContext() OVERRIDE; |
| 32 virtual void AsyncClearDataForOrigin( | 32 virtual void AsyncClearDataForOrigin( |
| 33 uint32 storage_mask, | 33 uint32 storage_mask, |
| 34 const GURL& storage_origin, | 34 const GURL& storage_origin) OVERRIDE; |
| 35 net::URLRequestContextGetter* request_context_getter) OVERRIDE; | |
| 36 virtual void AsyncClearData(uint32 storage_mask) OVERRIDE; | 35 virtual void AsyncClearData(uint32 storage_mask) OVERRIDE; |
| 37 | 36 |
| 38 private: | 37 private: |
| 39 friend class StoragePartitionImplMap; | 38 friend class StoragePartitionImplMap; |
| 40 | 39 |
| 41 // The |partition_path| is the absolute path to the root of this | 40 // The |partition_path| is the absolute path to the root of this |
| 42 // StoragePartition's on-disk storage. | 41 // StoragePartition's on-disk storage. |
| 43 // | 42 // |
| 44 // If |in_memory| is true, the |partition_path| is (ab)used as a way of | 43 // If |in_memory| is true, the |partition_path| is (ab)used as a way of |
| 45 // distinguishing different in-memory partitions, but nothing is persisted | 44 // distinguishing different in-memory partitions, but nothing is persisted |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; | 81 scoped_refptr<webkit_database::DatabaseTracker> database_tracker_; |
| 83 scoped_refptr<DOMStorageContextImpl> dom_storage_context_; | 82 scoped_refptr<DOMStorageContextImpl> dom_storage_context_; |
| 84 scoped_refptr<IndexedDBContextImpl> indexed_db_context_; | 83 scoped_refptr<IndexedDBContextImpl> indexed_db_context_; |
| 85 | 84 |
| 86 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 85 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace content | 88 } // namespace content |
| 90 | 89 |
| 91 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 90 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
| OLD | NEW |