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

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

Issue 235933013: Add the backchannel for Blobs to be received into Blink from the database backend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix oilpan type merge Created 6 years, 8 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
« no previous file with comments | « Source/modules/indexeddb/IDBAny.cpp ('k') | Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBCursor.h
diff --git a/Source/modules/indexeddb/IDBCursor.h b/Source/modules/indexeddb/IDBCursor.h
index 5c72e233689c8266bc3bf85e7990ed58848be879..ac892736e61492a3cb7043b3ce743bfea8e10a7f 100644
--- a/Source/modules/indexeddb/IDBCursor.h
+++ b/Source/modules/indexeddb/IDBCursor.h
@@ -36,6 +36,12 @@
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
+namespace blink {
+
+class WebBlobInfo;
+
+} // namespace blink
+
namespace WebCore {
class ExceptionState;
@@ -86,7 +92,7 @@ public:
void postSuccessHandlerCallback();
bool isDeleted() const;
void close();
- void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value);
+ void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<blink::WebBlobInfo> >);
PassRefPtr<IDBKey> idbPrimaryKey() const { return m_primaryKey; }
IDBRequest* request() const { return m_request.get(); }
virtual bool isKeyCursor() const { return true; }
@@ -107,6 +113,7 @@ protected:
private:
PassRefPtr<IDBObjectStore> effectiveObjectStore() const;
+ void handleBlobAcks();
#if !ENABLE(OILPAN)
void checkForReferenceCycle();
@@ -124,6 +131,7 @@ private:
RefPtr<IDBKey> m_key;
RefPtr<IDBKey> m_primaryKey;
RefPtr<SharedBuffer> m_value;
+ OwnPtr<Vector<blink::WebBlobInfo> > m_blobInfo;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/indexeddb/IDBAny.cpp ('k') | Source/modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698