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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBMetadata.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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/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)
+ {
+ }
};
};

Powered by Google App Engine
This is Rietveld 408576698