Changeset 95698 in webkit


Ignore:
Timestamp:
Sep 21, 2011 9:06:31 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Implement WebKit side of IDBFactory::getDatabaseNames
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):

Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r95677 r95698  
     12011-09-21  Joshua Bell  <jsbell@chromium.org>
     2
     3        Implement WebKit side of IDBFactory::getDatabaseNames
     4        https://bugs.webkit.org/show_bug.cgi?id=68037
     5
     6        Reviewed by Tony Chang.
     7
     8        Interface changes and stub implementations for
     9        new IndexedDB IDBFactory.getDatabaseNames. This is
     10        part one of a two-sided patch.
     11
     12        * public/WebIDBCallbacks.h:
     13        (WebKit::WebIDBCallbacks::onSuccess):
     14        * public/WebIDBFactory.h:
     15        (WebKit::WebIDBFactory::getDatabaseNames):
     16
    1172011-09-21  Robert Kroeger  <rjkroege@chromium.org>
    218
  • trunk/Source/WebKit/chromium/public/WebIDBCallbacks.h

    r93553 r95698  
    3131namespace WebKit {
    3232
     33class WebDOMStringList;
    3334class WebIDBCursor;
    3435class WebIDBDatabase;
     
    4748    // For the rest, pass ownership to the callee via a pointer.
    4849    virtual void onError(const WebIDBDatabaseError&) { WEBKIT_ASSERT_NOT_REACHED(); }
     50    virtual void onSuccess(const WebDOMStringList&) { WEBKIT_ASSERT_NOT_REACHED(); }
    4951    virtual void onSuccess(WebIDBCursor*) { WEBKIT_ASSERT_NOT_REACHED(); }
    5052    virtual void onSuccess(WebIDBDatabase*) { WEBKIT_ASSERT_NOT_REACHED(); }
  • trunk/Source/WebKit/chromium/public/WebIDBFactory.h

    r92322 r95698  
    5858    };
    5959
     60    virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType) { WEBKIT_ASSERT_NOT_REACHED(); }
     61
    6062    // The WebKit implementation of open ignores the WebFrame* parameter.
    6163    virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType) { WEBKIT_ASSERT_NOT_REACHED(); }
Note: See TracChangeset for help on using the changeset viewer.