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 a0be459aaa9be7b3c69a69b5be173627d230c28e..0cc0811085b72ab1209587dd2d79c8f0b2288f08 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/IDBKey.h" |
#include "modules/indexeddb/IDBKeyPath.h" |
#include "platform/SharedBuffer.h" |
+#include "platform/wtf/PassRefPtr.h" |
#include "platform/wtf/RefPtr.h" |
#include "public/platform/WebVector.h" |
@@ -37,6 +38,8 @@ class MODULES_EXPORT IDBValue final : public RefCounted<IDBValue> { |
const IDBKeyPath& KeyPath() const { return key_path_; } |
private: |
+ friend class IDBValueUnwrapper; |
+ |
IDBValue(); |
IDBValue(const WebIDBValue&, v8::Isolate*); |
IDBValue(PassRefPtr<SharedBuffer>, |
@@ -45,6 +48,11 @@ class MODULES_EXPORT IDBValue final : public RefCounted<IDBValue> { |
const IDBKeyPath&); |
IDBValue(const IDBValue*, IDBKey*, const IDBKeyPath&); |
+ // Used by IDBValueUnwrapper. |
+ IDBValue(PassRefPtr<SharedBuffer> unwrapped_data, |
+ std::unique_ptr<Vector<RefPtr<BlobDataHandle>>>, |
+ std::unique_ptr<Vector<WebBlobInfo>>); |
+ |
// Keep this private to prevent new refs because we manually bookkeep the |
// memory to V8. |
const RefPtr<SharedBuffer> data_; |