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_PUBLIC_BROWSER_STORAGE_PARTITION_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ |
6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ | 6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 namespace appcache { | 10 namespace appcache { |
(...skipping 25 matching lines...) Expand all Loading... |
36 // isolated storage where a renderer with isolated storage cannot see | 36 // isolated storage where a renderer with isolated storage cannot see |
37 // the cookies, localStorage, etc., that normal web renderers have access to. | 37 // the cookies, localStorage, etc., that normal web renderers have access to. |
38 class StoragePartition { | 38 class StoragePartition { |
39 public: | 39 public: |
40 virtual quota::QuotaManager* GetQuotaManager() = 0; | 40 virtual quota::QuotaManager* GetQuotaManager() = 0; |
41 virtual appcache::AppCacheService* GetAppCacheService() = 0; | 41 virtual appcache::AppCacheService* GetAppCacheService() = 0; |
42 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; | 42 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; |
43 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; | 43 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; |
44 virtual DOMStorageContext* GetDOMStorageContext() = 0; | 44 virtual DOMStorageContext* GetDOMStorageContext() = 0; |
45 virtual IndexedDBContext* GetIndexedDBContext() = 0; | 45 virtual IndexedDBContext* GetIndexedDBContext() = 0; |
| 46 virtual ResourceContext* GetResourceContext() = 0; |
46 | 47 |
47 protected: | 48 protected: |
48 virtual ~StoragePartition() {} | 49 virtual ~StoragePartition() {} |
49 }; | 50 }; |
50 | 51 |
51 } // namespace content | 52 } // namespace content |
52 | 53 |
53 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ | 54 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ |
OLD | NEW |