OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2009 Google Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/OwnPtr.h" | 31 #include "wtf/OwnPtr.h" |
32 #include "wtf/PassOwnPtr.h" | 32 #include "wtf/PassOwnPtr.h" |
33 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class ExceptionState; | 37 class ExceptionState; |
38 class LocalFrame; | 38 class LocalFrame; |
39 class KURL; | 39 class KURL; |
40 class Page; | |
41 class SecurityOrigin; | 40 class SecurityOrigin; |
42 class Storage; | 41 class Storage; |
43 class WebStorageArea; | 42 class WebStorageArea; |
44 class WebStorageNamespace; | 43 class WebStorageNamespace; |
45 | 44 |
46 enum StorageType { | 45 enum StorageType { |
47 LocalStorage, | 46 LocalStorage, |
48 SessionStorage | 47 SessionStorage |
49 }; | 48 }; |
50 | 49 |
(...skipping 30 matching lines...) Expand all Loading... |
81 static bool isEventSource(Storage*, WebStorageArea* sourceAreaInstance); | 80 static bool isEventSource(Storage*, WebStorageArea* sourceAreaInstance); |
82 | 81 |
83 OwnPtr<WebStorageArea> m_storageArea; | 82 OwnPtr<WebStorageArea> m_storageArea; |
84 StorageType m_storageType; | 83 StorageType m_storageType; |
85 bool m_canAccessStorageCachedResult; | 84 bool m_canAccessStorageCachedResult; |
86 }; | 85 }; |
87 | 86 |
88 } // namespace blink | 87 } // namespace blink |
89 | 88 |
90 #endif // StorageArea_h | 89 #endif // StorageArea_h |
OLD | NEW |