OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ | 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ |
6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ | 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "chrome/common/dom_storage_type.h" | 11 #include "chrome/common/dom_storage_type.h" |
12 #include "webkit/api/public/WebString.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
13 | 13 |
14 class DOMStorageContext; | 14 class DOMStorageContext; |
15 class FilePath; | 15 class FilePath; |
16 class StorageArea; | 16 class StorageArea; |
17 | 17 |
18 namespace WebKit { | 18 namespace WebKit { |
19 class WebStorageArea; | 19 class WebStorageArea; |
20 class WebStorageNamespace; | 20 class WebStorageNamespace; |
21 } | 21 } |
22 | 22 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // SessionStorage vs. LocalStorage. | 74 // SessionStorage vs. LocalStorage. |
75 const DOMStorageType dom_storage_type_; | 75 const DOMStorageType dom_storage_type_; |
76 | 76 |
77 // The quota for each storage area. Suggested by the spec. | 77 // The quota for each storage area. Suggested by the spec. |
78 static const unsigned kLocalStorageQuota = 5 * 1024 * 1024; | 78 static const unsigned kLocalStorageQuota = 5 * 1024 * 1024; |
79 | 79 |
80 DISALLOW_IMPLICIT_CONSTRUCTORS(StorageNamespace); | 80 DISALLOW_IMPLICIT_CONSTRUCTORS(StorageNamespace); |
81 }; | 81 }; |
82 | 82 |
83 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ | 83 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_STORAGE_NAMESPACE_H_ |
OLD | NEW |