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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBValue.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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
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;

Powered by Google App Engine
This is Rietveld 408576698