diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2010-12-07 17:22:45 -0800 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2010-12-22 14:15:40 -0800 |
commit | 4576aa36e9a9671459299c7963ac95aa94beaea9 (patch) | |
tree | 3863574e050f168c0126ecb47c83319fab0972d8 /WebKit/chromium/public/WebIDBDatabase.h | |
parent | 55323ac613cc31553107b68603cb627264d22bb0 (diff) | |
download | external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.zip external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.gz external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.bz2 |
Merge WebKit at r73109: Initial merge by git.
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
Diffstat (limited to 'WebKit/chromium/public/WebIDBDatabase.h')
-rw-r--r-- | WebKit/chromium/public/WebIDBDatabase.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/WebKit/chromium/public/WebIDBDatabase.h b/WebKit/chromium/public/WebIDBDatabase.h index 19096cc..1588e23 100644 --- a/WebKit/chromium/public/WebIDBDatabase.h +++ b/WebKit/chromium/public/WebIDBDatabase.h @@ -47,9 +47,9 @@ public: WEBKIT_ASSERT_NOT_REACHED(); return WebString(); } + // FIXME: remove after roll. virtual WebString description() const { - WEBKIT_ASSERT_NOT_REACHED(); return WebString(); } virtual WebString version() const @@ -57,18 +57,16 @@ public: WEBKIT_ASSERT_NOT_REACHED(); return WebString(); } - virtual WebDOMStringList objectStores() const - { - WEBKIT_ASSERT_NOT_REACHED(); - return WebDOMStringList(); - } - + virtual WebDOMStringList objectStores() const { return objectStoreNames(); } // FIXME: Remove after roll. + virtual WebDOMStringList objectStoreNames() const { return objectStores(); } // FIXME: Assert not reached after roll. virtual WebIDBObjectStore* createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncrement, const WebIDBTransaction&, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); return 0; } - virtual void removeObjectStore(const WebString& name, const WebIDBTransaction&, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); } + virtual void deleteObjectStore(const WebString& name, const WebIDBTransaction& transaction, WebExceptionCode& ec) { removeObjectStore(name, transaction, ec); } + // FIXME: remove after roll. + virtual void removeObjectStore(const WebString& name, const WebIDBTransaction& transaction, WebExceptionCode& ec) { deleteObjectStore(name, transaction, ec); } virtual void setVersion(const WebString& version, WebIDBCallbacks* callbacks, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); } // Transfers ownership of the WebIDBTransaction to the caller. virtual WebIDBTransaction* transaction(const WebDOMStringList& names, unsigned short mode, unsigned long timeout, WebExceptionCode&) @@ -77,6 +75,9 @@ public: return 0; } virtual void close() { WEBKIT_ASSERT_NOT_REACHED(); } + +protected: + WebIDBDatabase() { } }; } // namespace WebKit |