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

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

Issue 18590006: Blob support for IDB [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: small cleanup Created 7 years 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/IDBCursor.h
diff --git a/Source/modules/indexeddb/IDBCursor.h b/Source/modules/indexeddb/IDBCursor.h
index 5e78efc7809fbc19a04edaf9c663467ab4eba861..fff1db58f7bbf48e4d041f2845f0dba489127e5d 100644
--- a/Source/modules/indexeddb/IDBCursor.h
+++ b/Source/modules/indexeddb/IDBCursor.h
@@ -39,6 +39,7 @@
namespace WebCore {
+class BlobInfo;
class DOMRequestState;
class ExceptionState;
class IDBAny;
@@ -77,7 +78,7 @@ public:
void continueFunction(PassRefPtr<IDBKey>, ExceptionState&);
void postSuccessHandlerCallback();
void close();
- void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value);
+ void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<BlobInfo> >);
jsbell 2013/12/20 19:13:54 We might be able to change this over to being an I
PassRefPtr<IDBKey> idbPrimaryKey() const { return m_primaryKey; }
IDBRequest* request() const { return m_request.get(); }
virtual bool isKeyCursor() const { return true; }
@@ -99,6 +100,7 @@ private:
void checkForReferenceCycle();
bool isDeleted() const;
+ void handleBlobAcks();
OwnPtr<blink::WebIDBCursor> m_backend;
RefPtr<IDBRequest> m_request;
@@ -112,6 +114,7 @@ private:
RefPtr<IDBKey> m_key;
RefPtr<IDBKey> m_primaryKey;
RefPtr<SharedBuffer> m_value;
+ OwnPtr<Vector<BlobInfo> > m_blobInfo;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698