Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1828)

Unified Diff: Source/modules/indexeddb/IDBCallbacks.h

Issue 18590006: Blob support for IDB [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge fixes [builds, untested] Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/indexeddb/IDBCallbacks.h
diff --git a/Source/modules/indexeddb/IDBCallbacks.h b/Source/modules/indexeddb/IDBCallbacks.h
index 18821a89f18cbace0f7133416c0c31ae7111ea64..8aa448f33578c69bd3a63dc1a13f54221d53653f 100644
--- a/Source/modules/indexeddb/IDBCallbacks.h
+++ b/Source/modules/indexeddb/IDBCallbacks.h
@@ -51,13 +51,13 @@ public:
// From IDBFactory.webkitGetDatabaseNames()
virtual void onSuccess(const Vector<String>&) = 0;
// From IDBObjectStore/IDBIndex.openCursor(), IDBIndex.openKeyCursor()
- virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>) = 0;
+ virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>, const Vector<BlobInfo>&) = 0;
// From IDBObjectStore.add()/put(), IDBIndex.getKey()
virtual void onSuccess(PassRefPtr<IDBKey>) = 0;
// From IDBObjectStore/IDBIndex.get()/count(), and various methods that yield null/undefined.
- virtual void onSuccess(PassRefPtr<SharedBuffer>) = 0;
+ virtual void onSuccess(PassRefPtr<SharedBuffer>, const Vector<BlobInfo>&) = 0;
// From IDBObjectStore/IDBIndex.get() (with key injection)
- virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&) = 0;
+ virtual void onSuccess(PassRefPtr<SharedBuffer>, const Vector<BlobInfo>&, PassRefPtr<IDBKey>, const IDBKeyPath&) = 0;
// From IDBObjectStore/IDBIndex.count()
virtual void onSuccess(int64_t value) = 0;
@@ -65,7 +65,7 @@ public:
virtual void onSuccess() = 0;
// From IDBCursor.advance()/continue()
- virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>) = 0;
+ virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>, const Vector<BlobInfo>&) = 0;
// From IDBFactory.open()/deleteDatabase()
virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED(); }
// From IDBFactory.open()

Powered by Google App Engine
This is Rietveld 408576698