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 #include "content/browser/storage_partition_impl.h" | 5 #include "content/browser/storage_partition_impl.h" |
6 | 6 |
7 #include "content/browser/fileapi/browser_file_system_helper.h" | 7 #include "content/browser/fileapi/browser_file_system_helper.h" |
8 #include "content/public/browser/browser_context.h" | 8 #include "content/public/browser/browser_context.h" |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 #include "webkit/database/database_tracker.h" | 10 #include "webkit/database/database_tracker.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 filesystem_context, | 96 filesystem_context, |
97 database_tracker, | 97 database_tracker, |
98 dom_storage_context, | 98 dom_storage_context, |
99 indexed_db_context); | 99 indexed_db_context); |
100 } | 100 } |
101 | 101 |
102 quota::QuotaManager* StoragePartitionImpl::GetQuotaManager() { | 102 quota::QuotaManager* StoragePartitionImpl::GetQuotaManager() { |
103 return quota_manager_; | 103 return quota_manager_; |
104 } | 104 } |
105 | 105 |
106 ChromeAppCacheService* StoragePartitionImpl::GetAppCacheService() { | 106 appcache::AppCacheService* StoragePartitionImpl::GetAppCacheService() { |
107 return appcache_service_; | 107 return appcache_service_; |
108 } | 108 } |
109 | 109 |
110 fileapi::FileSystemContext* StoragePartitionImpl::GetFileSystemContext() { | 110 fileapi::FileSystemContext* StoragePartitionImpl::GetFileSystemContext() { |
111 return filesystem_context_; | 111 return filesystem_context_; |
112 } | 112 } |
113 | 113 |
114 webkit_database::DatabaseTracker* StoragePartitionImpl::GetDatabaseTracker() { | 114 webkit_database::DatabaseTracker* StoragePartitionImpl::GetDatabaseTracker() { |
115 return database_tracker_; | 115 return database_tracker_; |
116 } | 116 } |
117 | 117 |
118 DOMStorageContextImpl* StoragePartitionImpl::GetDOMStorageContext() { | 118 DOMStorageContextImpl* StoragePartitionImpl::GetDOMStorageContext() { |
119 return dom_storage_context_; | 119 return dom_storage_context_; |
120 } | 120 } |
121 | 121 |
122 IndexedDBContextImpl* StoragePartitionImpl::GetIndexedDBContext() { | 122 IndexedDBContextImpl* StoragePartitionImpl::GetIndexedDBContext() { |
123 return indexed_db_context_; | 123 return indexed_db_context_; |
124 } | 124 } |
125 | 125 |
126 } // namespace content | 126 } // namespace content |
OLD | NEW |