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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace content { | |
16 class AppCacheService; | |
17 } | |
18 | |
19 namespace fileapi { | 15 namespace fileapi { |
20 class FileSystemContext; | 16 class FileSystemContext; |
21 } | 17 } |
22 | 18 |
23 namespace net { | 19 namespace net { |
24 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
25 } | 21 } |
26 | 22 |
27 namespace quota { | 23 namespace quota { |
28 class QuotaManager; | 24 class QuotaManager; |
29 class SpecialStoragePolicy; | 25 class SpecialStoragePolicy; |
30 } | 26 } |
31 | 27 |
32 namespace webkit_database { | 28 namespace webkit_database { |
33 class DatabaseTracker; | 29 class DatabaseTracker; |
34 } | 30 } |
35 | 31 |
36 namespace content { | 32 namespace content { |
37 | 33 |
| 34 class AppCacheService; |
38 class BrowserContext; | 35 class BrowserContext; |
39 class IndexedDBContext; | 36 class IndexedDBContext; |
40 class DOMStorageContext; | 37 class DOMStorageContext; |
41 class ServiceWorkerContext; | 38 class ServiceWorkerContext; |
42 | 39 |
43 // Defines what persistent state a child process can access. | 40 // Defines what persistent state a child process can access. |
44 // | 41 // |
45 // The StoragePartition defines the view each child process has of the | 42 // The StoragePartition defines the view each child process has of the |
46 // persistent state inside the BrowserContext. This is used to implement | 43 // persistent state inside the BrowserContext. This is used to implement |
47 // isolated storage where a renderer with isolated storage cannot see | 44 // isolated storage where a renderer with isolated storage cannot see |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 const base::Time end, | 118 const base::Time end, |
122 const base::Closure& callback) = 0; | 119 const base::Closure& callback) = 0; |
123 | 120 |
124 protected: | 121 protected: |
125 virtual ~StoragePartition() {} | 122 virtual ~StoragePartition() {} |
126 }; | 123 }; |
127 | 124 |
128 } // namespace content | 125 } // namespace content |
129 | 126 |
130 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ | 127 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ |
OLD | NEW |