| Index: content/common/indexed_db/indexed_db_struct_traits.cc
|
| diff --git a/content/common/indexed_db/indexed_db_struct_traits.cc b/content/common/indexed_db/indexed_db_struct_traits.cc
|
| index 1ea67de8b3edab5013d68e61f36741e92b2467f6..d304b0fca01ca16533b41aa0abd07d4a706dd222 100644
|
| --- a/content/common/indexed_db/indexed_db_struct_traits.cc
|
| +++ b/content/common/indexed_db/indexed_db_struct_traits.cc
|
| @@ -8,6 +8,16 @@
|
|
|
| namespace mojo {
|
|
|
| +// static
|
| +bool StructTraits<indexed_db::mojom::IndexKeysDataView,
|
| + content::IndexedDBIndexKeys>::
|
| + Read(indexed_db::mojom::IndexKeysDataView data,
|
| + content::IndexedDBIndexKeys* out) {
|
| + out->first = data.index_id();
|
| + return data.ReadIndexKeys(&out->second);
|
| +}
|
| +
|
| +// static
|
| bool StructTraits<indexed_db::mojom::IndexMetadataDataView,
|
| content::IndexedDBIndexMetadata>::
|
| Read(indexed_db::mojom::IndexMetadataDataView data,
|
| @@ -22,6 +32,7 @@ bool StructTraits<indexed_db::mojom::IndexMetadataDataView,
|
| return true;
|
| }
|
|
|
| +// static
|
| bool StructTraits<indexed_db::mojom::ObjectStoreMetadataDataView,
|
| content::IndexedDBObjectStoreMetadata>::
|
| Read(indexed_db::mojom::ObjectStoreMetadataDataView data,
|
| @@ -48,6 +59,7 @@ bool StructTraits<indexed_db::mojom::ObjectStoreMetadataDataView,
|
| return true;
|
| }
|
|
|
| +// static
|
| bool StructTraits<indexed_db::mojom::DatabaseMetadataDataView,
|
| content::IndexedDBDatabaseMetadata>::
|
| Read(indexed_db::mojom::DatabaseMetadataDataView data,
|
|
|