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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/api/src/StorageAreaProxy.cpp ('k') | webkit/api/src/StorageNamespaceProxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« 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