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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 SecurityOrigin*, const KURL& pageURL, const blink::WebStorageNamespace&, | 73 SecurityOrigin*, const KURL& pageURL, const blink::WebStorageNamespace&, |
74 blink::WebStorageArea* sourceAreaInstance, bool originatedInProcess); | 74 blink::WebStorageArea* sourceAreaInstance, bool originatedInProcess); |
75 | 75 |
76 void trace(Visitor*) { } | 76 void trace(Visitor*) { } |
77 | 77 |
78 private: | 78 private: |
79 static bool isEventSource(Storage*, blink::WebStorageArea* sourceAreaInstanc
e); | 79 static bool isEventSource(Storage*, blink::WebStorageArea* sourceAreaInstanc
e); |
80 | 80 |
81 OwnPtr<blink::WebStorageArea> m_storageArea; | 81 OwnPtr<blink::WebStorageArea> m_storageArea; |
82 StorageType m_storageType; | 82 StorageType m_storageType; |
83 mutable bool m_canAccessStorageCachedResult; | 83 bool m_canAccessStorageCachedResult; |
84 mutable LocalFrame* m_canAccessStorageCachedFrame; | 84 LocalFrame* m_canAccessStorageCachedFrame; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace WebCore | 87 } // namespace WebCore |
88 | 88 |
89 #endif // StorageArea_h | 89 #endif // StorageArea_h |
OLD | NEW |