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 20 matching lines...) Expand all Loading... |
31 #include "StorageNamespace.h" | 31 #include "StorageNamespace.h" |
32 | 32 |
33 namespace WebKit { class WebStorageNamespace; } | 33 namespace WebKit { class WebStorageNamespace; } |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 class StorageNamespaceProxy : public StorageNamespace { | 37 class StorageNamespaceProxy : public StorageNamespace { |
38 public: | 38 public: |
39 StorageNamespaceProxy(WebKit::WebStorageNamespace* storageNamespace); | 39 StorageNamespaceProxy(WebKit::WebStorageNamespace* storageNamespace); |
40 virtual ~StorageNamespaceProxy(); | 40 virtual ~StorageNamespaceProxy(); |
41 virtual PassRefPtr<StorageArea> storageArea(SecurityOrigin*); | 41 virtual PassRefPtr<StorageArea> storageArea(PassRefPtr<SecurityOrigin>); |
42 virtual PassRefPtr<StorageNamespace> copy(); | 42 virtual PassRefPtr<StorageNamespace> copy(); |
43 virtual void close(); | 43 virtual void close(); |
44 virtual void unlock(); | 44 virtual void unlock(); |
45 | 45 |
46 private: | 46 private: |
47 OwnPtr<WebKit::WebStorageNamespace> m_storageNamespace; | 47 OwnPtr<WebKit::WebStorageNamespace> m_storageNamespace; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace WebCore | 50 } // namespace WebCore |
51 | 51 |
52 #endif // ENABLE(DOM_STORAGE) | 52 #endif // ENABLE(DOM_STORAGE) |
53 | 53 |
54 #endif // StorageNamespaceProxy_h | 54 #endif // StorageNamespaceProxy_h |
OLD | NEW |