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 WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ | 5 #ifndef WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ |
6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ | 6 #define WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/nullable_string16.h" | 11 #include "base/nullable_string16.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "webkit/common/dom_storage/dom_storage_types.h" | 13 #include "webkit/common/dom_storage/dom_storage_types.h" |
14 #include "webkit/storage/webkit_storage_export.h" | 14 #include "webkit/storage/webkit_storage_export.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
17 | 17 |
18 namespace dom_storage { | 18 namespace dom_storage { |
19 | 19 |
20 class DomStorageContext; | 20 class DomStorageContext; |
21 class DomStorageHost; | 21 class DomStorageHost; |
22 class DomStorageNamespace; | 22 class DomStorageNamespace; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 DomStorageArea* GetOpenArea(int connection_id); | 62 DomStorageArea* GetOpenArea(int connection_id); |
63 DomStorageNamespace* GetNamespace(int connection_id); | 63 DomStorageNamespace* GetNamespace(int connection_id); |
64 | 64 |
65 scoped_refptr<DomStorageContext> context_; | 65 scoped_refptr<DomStorageContext> context_; |
66 AreaMap connections_; | 66 AreaMap connections_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace dom_storage | 69 } // namespace dom_storage |
70 | 70 |
71 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ | 71 #endif // WEBKIT_BROWSER_DOM_STORAGE_DOM_STORAGE_HOST_H_ |
OLD | NEW |