Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: webkit/api/src/StorageNamespaceProxy.h

Issue 147248: DOM Storage: Add renderer-process IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/StorageAreaProxy.cpp ('k') | webkit/api/src/StorageNamespaceProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/src/StorageNamespaceProxy.h
===================================================================
--- webkit/api/src/StorageNamespaceProxy.h (revision 21404)
+++ webkit/api/src/StorageNamespaceProxy.h (working copy)
@@ -30,8 +30,24 @@
#include "StorageNamespace.h"
-// FIXME: Implement the StorageNamespaceProxy
+namespace WebKit { class WebStorageNamespace; }
+namespace WebCore {
+
+ class StorageNamespaceProxy : public StorageNamespace {
+ public:
+ StorageNamespaceProxy(WebKit::WebStorageNamespace* storageNamespace);
+ virtual ~StorageNamespaceProxy();
+ virtual PassRefPtr<StorageArea> storageArea(SecurityOrigin*);
+ virtual PassRefPtr<StorageNamespace> copy();
+ virtual void close();
+
+ private:
+ OwnPtr<WebKit::WebStorageNamespace> m_storageNamespace;
+ };
+
+} // namespace WebCore
+
#endif // ENABLE(DOM_STORAGE)
#endif // StorageNamespaceProxy_h
« no previous file with comments | « webkit/api/src/StorageAreaProxy.cpp ('k') | webkit/api/src/StorageNamespaceProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698