https://bugs.webkit.org/show_bug.cgi?id=68037
Patch by Joshua Bell <jsbell@chromium.org> on 2011-09-21
Reviewed by Tony Chang.
Interface changes and stub implementations for
new IndexedDB IDBFactory.getDatabaseNames. This is
part one of a two-sided patch.
* public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onSuccess):
* public/WebIDBFactory.h:
(WebKit::WebIDBFactory::getDatabaseNames):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95698
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-21 Joshua Bell <jsbell@chromium.org>
+
+ Implement WebKit side of IDBFactory::getDatabaseNames
+ https://bugs.webkit.org/show_bug.cgi?id=68037
+
+ Reviewed by Tony Chang.
+
+ Interface changes and stub implementations for
+ new IndexedDB IDBFactory.getDatabaseNames. This is
+ part one of a two-sided patch.
+
+ * public/WebIDBCallbacks.h:
+ (WebKit::WebIDBCallbacks::onSuccess):
+ * public/WebIDBFactory.h:
+ (WebKit::WebIDBFactory::getDatabaseNames):
+
2011-09-21 Robert Kroeger <rjkroege@chromium.org>
[chromium] Code cleanup in gesture recognizer unit tests
namespace WebKit {
+class WebDOMStringList;
class WebIDBCursor;
class WebIDBDatabase;
class WebIDBDatabaseError;
// For classes that follow the PImpl pattern, pass a const reference.
// 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(); }
virtual void onSuccess(WebIDBCursor*) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(WebIDBDatabase*) { WEBKIT_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebIDBKey&) { WEBKIT_ASSERT_NOT_REACHED(); }
SQLiteBackingStore
};
+ virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType) { WEBKIT_ASSERT_NOT_REACHED(); }
+
// The WebKit implementation of open ignores the WebFrame* parameter.
virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType) { WEBKIT_ASSERT_NOT_REACHED(); }