Title: [95698] trunk/Source/WebKit/chromium
Revision
95698
Author
commit-qu...@webkit.org
Date
2011-09-21 21:06:31 -0700 (Wed, 21 Sep 2011)

Log Message

Implement WebKit side of IDBFactory::getDatabaseNames
https://bugs.webkit.org/show_bug.cgi?id=68037

Patch by Joshua Bell <jsb...@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):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (95697 => 95698)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-09-22 03:29:50 UTC (rev 95697)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-09-22 04:06:31 UTC (rev 95698)
@@ -1,3 +1,19 @@
+2011-09-21  Joshua Bell  <jsb...@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  <rjkro...@chromium.org>
 
         [chromium] Code cleanup in gesture recognizer unit tests

Modified: trunk/Source/WebKit/chromium/public/WebIDBCallbacks.h (95697 => 95698)


--- trunk/Source/WebKit/chromium/public/WebIDBCallbacks.h	2011-09-22 03:29:50 UTC (rev 95697)
+++ trunk/Source/WebKit/chromium/public/WebIDBCallbacks.h	2011-09-22 04:06:31 UTC (rev 95698)
@@ -30,6 +30,7 @@
 
 namespace WebKit {
 
+class WebDOMStringList;
 class WebIDBCursor;
 class WebIDBDatabase;
 class WebIDBDatabaseError;
@@ -46,6 +47,7 @@
     // 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(); }

Modified: trunk/Source/WebKit/chromium/public/WebIDBFactory.h (95697 => 95698)


--- trunk/Source/WebKit/chromium/public/WebIDBFactory.h	2011-09-22 03:29:50 UTC (rev 95697)
+++ trunk/Source/WebKit/chromium/public/WebIDBFactory.h	2011-09-22 04:06:31 UTC (rev 95698)
@@ -57,6 +57,8 @@
         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(); }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to