Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h |
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h |
index 4dc59a01a43276c9055053c95d939e60c9d27ed5..fa386e9b012523952771d18a9af986b92f6acd95 100644 |
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h |
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h |
@@ -30,6 +30,7 @@ |
#include "public/platform/WebString.h" |
#include "public/platform/WebVector.h" |
#include "public/platform/modules/indexeddb/WebIDBKeyPath.h" |
+#include "public/platform/modules/indexeddb/indexed_db.mojom-blink.h" |
namespace blink { |
@@ -52,26 +53,28 @@ struct WebIDBMetadata { |
struct ObjectStore { |
WebString name; |
- WebIDBKeyPath keyPath; |
+ indexed_db::mojom::blink::KeyPathPtr keyPath; |
bool autoIncrement; |
long long id; |
long long maxIndexId; |
WebVector<Index> indexes; |
ObjectStore() |
- : keyPath(WebIDBKeyPath::createNull()) |
- , autoIncrement(false) { } |
+ : autoIncrement(false) |
+ { |
+ } |
}; |
struct Index { |
WebString name; |
- WebIDBKeyPath keyPath; |
+ indexed_db::mojom::blink::KeyPathPtr keyPath; |
bool unique; |
bool multiEntry; |
long long id; |
Index() |
- : keyPath(WebIDBKeyPath::createNull()) |
- , unique(false) |
- , multiEntry(false) { } |
+ : unique(false) |
+ , multiEntry(false) |
+ { |
+ } |
}; |
}; |