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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // Create a new WebStorageArea object. Two subsequent calls with the same or
igin | 48 // Create a new WebStorageArea object. Two subsequent calls with the same or
igin |
49 // will return two different WebStorageArea objects that share the same back
ing store. | 49 // will return two different WebStorageArea objects that share the same back
ing store. |
50 // You should call delete on the returned object when you're finished. | 50 // You should call delete on the returned object when you're finished. |
51 virtual WebStorageArea* createStorageArea(const WebString& origin) = 0; | 51 virtual WebStorageArea* createStorageArea(const WebString& origin) = 0; |
52 | 52 |
53 // Copy a StorageNamespace. This only makes sense in the case of SessionStor
age. | 53 // Copy a StorageNamespace. This only makes sense in the case of SessionStor
age. |
54 virtual WebStorageNamespace* copy() = 0; | 54 virtual WebStorageNamespace* copy() = 0; |
55 | 55 |
56 // Returns true of the two instances represent the same storage namespace. | 56 // Returns true of the two instances represent the same storage namespace. |
57 virtual bool isSameNamespace(const WebStorageNamespace&) const { return fals
e; } | 57 virtual bool isSameNamespace(const WebStorageNamespace&) const { return fals
e; } |
| 58 |
| 59 // DEPRECATED |
| 60 virtual void close() { } |
58 }; | 61 }; |
59 | 62 |
60 } // namespace WebKit | 63 } // namespace WebKit |
61 | 64 |
62 #endif // WebStorageNamespace_h | 65 #endif // WebStorageNamespace_h |
OLD | NEW |