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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 return adoptRef(new StorageNamespaceProxy(newNamespace, m_storageType)); | 75 return adoptRef(new StorageNamespaceProxy(newNamespace, m_storageType)); |
76 } | 76 } |
77 | 77 |
78 PassRefPtr<StorageArea> StorageNamespaceProxy::storageArea(PassRefPtr<SecurityOr
igin> origin) | 78 PassRefPtr<StorageArea> StorageNamespaceProxy::storageArea(PassRefPtr<SecurityOr
igin> origin) |
79 { | 79 { |
80 return adoptRef(new StorageAreaProxy(m_storageNamespace->createStorageArea(o
rigin->toString()), m_storageType)); | 80 return adoptRef(new StorageAreaProxy(m_storageNamespace->createStorageArea(o
rigin->toString()), m_storageType)); |
81 } | 81 } |
82 | 82 |
83 void StorageNamespaceProxy::close() | 83 void StorageNamespaceProxy::close() |
84 { | 84 { |
85 m_storageNamespace->close(); | 85 // N/A to the chromium port. |
86 } | 86 } |
87 | 87 |
88 void StorageNamespaceProxy::clearOriginForDeletion(SecurityOrigin* origin) | 88 void StorageNamespaceProxy::clearOriginForDeletion(SecurityOrigin* origin) |
89 { | 89 { |
90 ASSERT_NOT_REACHED(); | 90 ASSERT_NOT_REACHED(); |
91 } | 91 } |
92 | 92 |
93 void StorageNamespaceProxy::clearAllOriginsForDeletion() | 93 void StorageNamespaceProxy::clearAllOriginsForDeletion() |
94 { | 94 { |
95 ASSERT_NOT_REACHED(); | 95 ASSERT_NOT_REACHED(); |
96 } | 96 } |
97 | 97 |
98 void StorageNamespaceProxy::sync() | 98 void StorageNamespaceProxy::sync() |
99 { | 99 { |
100 ASSERT_NOT_REACHED(); | 100 ASSERT_NOT_REACHED(); |
101 } | 101 } |
102 | 102 |
103 } // namespace WebCore | 103 } // namespace WebCore |
OLD | NEW |