| 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" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 namespace webkit_database { | 31 namespace webkit_database { |
| 32 class DatabaseTracker; | 32 class DatabaseTracker; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace content { | 35 namespace content { |
| 36 | 36 |
| 37 class BrowserContext; | 37 class BrowserContext; |
| 38 class IndexedDBContext; | 38 class IndexedDBContext; |
| 39 class DOMStorageContext; | 39 class DOMStorageContext; |
| 40 class DTLSIdentityStore; |
| 40 | 41 |
| 41 // Defines what persistent state a child process can access. | 42 // Defines what persistent state a child process can access. |
| 42 // | 43 // |
| 43 // The StoragePartition defines the view each child process has of the | 44 // The StoragePartition defines the view each child process has of the |
| 44 // persistent state inside the BrowserContext. This is used to implement | 45 // persistent state inside the BrowserContext. This is used to implement |
| 45 // isolated storage where a renderer with isolated storage cannot see | 46 // isolated storage where a renderer with isolated storage cannot see |
| 46 // the cookies, localStorage, etc., that normal web renderers have access to. | 47 // the cookies, localStorage, etc., that normal web renderers have access to. |
| 47 class StoragePartition { | 48 class StoragePartition { |
| 48 public: | 49 public: |
| 49 virtual base::FilePath GetPath() = 0; | 50 virtual base::FilePath GetPath() = 0; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 const base::Time& begin, | 107 const base::Time& begin, |
| 107 const base::Time& end, | 108 const base::Time& end, |
| 108 const base::Closure& callback) = 0; | 109 const base::Closure& callback) = 0; |
| 109 protected: | 110 protected: |
| 110 virtual ~StoragePartition() {} | 111 virtual ~StoragePartition() {} |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace content | 114 } // namespace content |
| 114 | 115 |
| 115 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ | 116 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ |
| OLD | NEW |