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..37bca87a52c476211a100c355e8123528fc54d6b 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBValue.h |
@@ -5,6 +5,7 @@ |
#ifndef IDBValue_h |
#define IDBValue_h |
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
#include "modules/ModulesExport.h" |
#include "modules/indexeddb/IDBKey.h" |
#include "modules/indexeddb/IDBKeyPath.h" |
@@ -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; |