Changeset 143055 in webkit


Ignore:
Timestamp:
Feb 15, 2013 2:48:00 PM (11 years ago)
Author:
alecflett@chromium.org
Message:

IndexedDB: Stub out SharedBuffer version of get()
https://bugs.webkit.org/show_bug.cgi?id=108993

Reviewed by Darin Fisher.

All asynchronous get()-like calls go through WebIDBCallbacks,
so this includes both get() and cursor callbacks.

  • public/WebIDBCallbacks.h:

(WebKit::WebIDBCallbacks::onSuccess):
(WebKit::WebIDBCallbacks::onSuccessWithPrefetch):

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

Legend:

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

    r143047 r143055  
     12013-02-15  Alec Flett  <alecflett@chromium.org>
     2
     3        IndexedDB: Stub out SharedBuffer version of get()
     4        https://bugs.webkit.org/show_bug.cgi?id=108993
     5
     6        Reviewed by Darin Fisher.
     7
     8        All asynchronous get()-like calls go through WebIDBCallbacks,
     9        so this includes both get() and cursor callbacks.
     10
     11        * public/WebIDBCallbacks.h:
     12        (WebKit::WebIDBCallbacks::onSuccess):
     13        (WebKit::WebIDBCallbacks::onSuccessWithPrefetch):
     14
    1152013-02-15  Alec Flett  <alecflett@chromium.org>
    216
  • trunk/Source/WebKit/chromium/public/WebIDBCallbacks.h

    r141523 r143055  
    3333
    3434class WebDOMStringList;
     35class WebData;
    3536class WebIDBCursor;
    3637class WebIDBDatabase;
    3738class WebIDBDatabaseError;
     39class WebIDBIndex;
    3840class WebIDBKey;
    3941class WebIDBKeyPath;
    40 class WebIDBIndex;
    4142class WebSerializedScriptValue;
    4243struct WebIDBMetadata;
     
    5152    virtual void onSuccess(const WebDOMStringList&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5253    virtual void onSuccess(WebIDBCursor*, const WebIDBKey& key, const WebIDBKey& primaryKey, const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
     54    virtual void onSuccess(WebIDBCursor*, const WebIDBKey& key, const WebIDBKey& primaryKey, const WebData&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5355    virtual void onSuccess(WebIDBDatabase*) { WEBKIT_ASSERT_NOT_REACHED(); }
    5456    virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5557    virtual void onSuccess(const WebIDBKey&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5658    virtual void onSuccess(const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
     59    virtual void onSuccess(const WebData&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5760    virtual void onSuccess(const WebSerializedScriptValue&, const WebIDBKey&, const WebIDBKeyPath&) { WEBKIT_ASSERT_NOT_REACHED(); }
     61    virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath&) { WEBKIT_ASSERT_NOT_REACHED(); }
    5862    virtual void onSuccess(long long) { WEBKIT_ASSERT_NOT_REACHED(); }
    5963    virtual void onSuccess() { WEBKIT_ASSERT_NOT_REACHED(); }
    6064    virtual void onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, const WebSerializedScriptValue&) { WEBKIT_ASSERT_NOT_REACHED(); }
     65    virtual void onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, const WebData&) { WEBKIT_ASSERT_NOT_REACHED(); }
    6166    // FIXME: Remove the following overload once callers are updated:
    6267    virtual void onBlocked() { WEBKIT_ASSERT_NOT_REACHED(); }
    6368    virtual void onBlocked(long long oldVersion) { WEBKIT_ASSERT_NOT_REACHED(); }
    6469    virtual void onSuccessWithPrefetch(const WebVector<WebIDBKey>& keys, const WebVector<WebIDBKey>& primaryKeys, const WebVector<WebSerializedScriptValue>& values) { WEBKIT_ASSERT_NOT_REACHED(); }
     70    virtual void onSuccessWithPrefetch(const WebVector<WebIDBKey>& keys, const WebVector<WebIDBKey>& primaryKeys, const WebVector<WebData>& values) { WEBKIT_ASSERT_NOT_REACHED(); }
    6571    virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const WebIDBMetadata&) { WEBKIT_ASSERT_NOT_REACHED(); }
    6672};
Note: See TracChangeset for help on using the changeset viewer.