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 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef StorageNamespaceProxy_h | 26 #ifndef StorageNamespaceProxy_h |
27 #define StorageNamespaceProxy_h | 27 #define StorageNamespaceProxy_h |
28 | 28 |
29 #if ENABLE(DOM_STORAGE) | 29 #if ENABLE(DOM_STORAGE) |
30 | 30 |
31 #include "StorageNamespace.h" | 31 #include "StorageNamespace.h" |
32 | 32 |
33 // FIXME: Implement the StorageNamespaceProxy | 33 namespace WebKit { class WebStorageNamespace; } |
| 34 |
| 35 namespace WebCore { |
| 36 |
| 37 class StorageNamespaceProxy : public StorageNamespace { |
| 38 public: |
| 39 StorageNamespaceProxy(WebKit::WebStorageNamespace* storageNamespace); |
| 40 virtual ~StorageNamespaceProxy(); |
| 41 virtual PassRefPtr<StorageArea> storageArea(SecurityOrigin*); |
| 42 virtual PassRefPtr<StorageNamespace> copy(); |
| 43 virtual void close(); |
| 44 |
| 45 private: |
| 46 OwnPtr<WebKit::WebStorageNamespace> m_storageNamespace; |
| 47 }; |
| 48 |
| 49 } // namespace WebCore |
34 | 50 |
35 #endif // ENABLE(DOM_STORAGE) | 51 #endif // ENABLE(DOM_STORAGE) |
36 | 52 |
37 #endif // StorageNamespaceProxy_h | 53 #endif // StorageNamespaceProxy_h |
OLD | NEW |