Index: third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValue.h b/third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
index 86f456310f5d8b4b6e4cd565f1d1977bd381e742..44d5ef1713463664f1ae8ae0fbf93dd871a3e446 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
@@ -10,6 +10,7 @@ |
#include "modules/indexeddb/IDBKeyPath.h" |
#include "platform/SharedBuffer.h" |
#include "public/platform/WebVector.h" |
+#include "public/platform/modules/indexeddb/indexed_db.mojom-blink.h" |
#include "wtf/RefPtr.h" |
#include <memory> |
@@ -17,12 +18,11 @@ namespace blink { |
class BlobDataHandle; |
class WebBlobInfo; |
-struct WebIDBValue; |
class MODULES_EXPORT IDBValue final : public RefCounted<IDBValue> { |
public: |
static PassRefPtr<IDBValue> create(); |
- static PassRefPtr<IDBValue> create(const WebIDBValue&); |
+ static PassRefPtr<IDBValue> create(indexed_db::mojom::blink::ValuePtr); |
static PassRefPtr<IDBValue> create(const IDBValue*, IDBKey*, const IDBKeyPath&); |
~IDBValue(); |
@@ -35,9 +35,10 @@ public: |
private: |
IDBValue(); |
- IDBValue(const WebIDBValue&); |
+ IDBValue(const indexed_db::mojom::blink::ValuePtr); |
IDBValue(PassRefPtr<SharedBuffer>, const WebVector<WebBlobInfo>&, IDBKey*, const IDBKeyPath&); |
IDBValue(const IDBValue*, IDBKey*, const IDBKeyPath&); |
+ void setBlobData(const WebVector<WebBlobInfo>&); |
const RefPtr<SharedBuffer> m_data; |
const std::unique_ptr<Vector<RefPtr<BlobDataHandle>>> m_blobData; |