Commit fc178c69 authored by jsbell@chromium.org's avatar jsbell@chromium.org

[chromium] IndexedDB: Delete unused WebKit API cursor accessors

https://bugs.webkit.org/show_bug.cgi?id=94134

Reviewed by Adam Barth.

Last bit of refactor work from http://webkit.org/b/92278 that ships the
cursor key/primaryKey/value to the front end via success messages, eliminating
the need for these accessors and the old success messages.

* public/WebIDBCallbacks.h:
* public/WebIDBCursor.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6e913b27
2012-08-15 Joshua Bell <jsbell@chromium.org>
[chromium] IndexedDB: Delete unused WebKit API cursor accessors
https://bugs.webkit.org/show_bug.cgi?id=94134
Reviewed by Adam Barth.
Last bit of refactor work from http://webkit.org/b/92278 that ships the
cursor key/primaryKey/value to the front end via success messages, eliminating
the need for these accessors and the old success messages.
* public/WebIDBCallbacks.h:
* public/WebIDBCursor.h:
2012-08-15 Anna Cavender <annacc@chromium.org>
Add the timestampOffset attribute to SourceBuffer.
......
......@@ -50,16 +50,12 @@ public:
// For the rest, pass ownership to the callee via a pointer.
virtual void onError(const WebIDBDatabaseError&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebDOMStringList&) { WEBKIT_ASSERT_NOT_REACHED(); }
// FIXME: Remove this no-op method when callers are updated.
virtual void onSuccess(WebIDBCursor*) { }
virtual void onSuccess(WebIDBCursor*, const WebIDBKey& key, const WebIDBKey& primaryKey, const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(WebIDBDatabase*) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebIDBKey&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(WebIDBTransaction*) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebSerializedScriptValue&, const WebIDBKey&, const WebIDBKeyPath&) { WEBKIT_ASSERT_NOT_REACHED(); }
// FIXME: Remove this no-op method when callers are updated.
virtual void onSuccessWithContinuation() { }
virtual void onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onBlocked() { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onBlocked(long long oldVersion) { WEBKIT_ASSERT_NOT_REACHED(); }
......
......@@ -47,23 +47,6 @@ public:
PrevNoDuplicate = 3,
};
// FIXME: Remove these methods when callers are updated.
virtual WebIDBKey key() const
{
WEBKIT_ASSERT_NOT_REACHED();
return WebIDBKey::createInvalid();
}
virtual WebIDBKey primaryKey() const
{
WEBKIT_ASSERT_NOT_REACHED();
return WebIDBKey::createInvalid();
}
virtual WebSerializedScriptValue value() const
{
WEBKIT_ASSERT_NOT_REACHED();
return WebSerializedScriptValue();
}
virtual void advance(unsigned long, WebIDBCallbacks*, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void continueFunction(const WebIDBKey&, WebIDBCallbacks*, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void deleteFunction(WebIDBCallbacks*, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment