| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/common/indexed_db/indexed_db_param_traits.h" | |
| 6 #include "content/common/indexed_db/indexed_db_struct_traits.h" | 5 #include "content/common/indexed_db/indexed_db_struct_traits.h" |
| 7 #include "mojo/common/common_custom_types_struct_traits.h" | 6 #include "mojo/common/common_custom_types_struct_traits.h" |
| 8 | 7 |
| 9 using content::IndexedDBKey; | 8 using content::IndexedDBKey; |
| 10 using content::IndexedDBKeyPath; | 9 using content::IndexedDBKeyPath; |
| 11 using content::IndexedDBKeyRange; | 10 using content::IndexedDBKeyRange; |
| 12 | 11 |
| 13 namespace mojo { | 12 namespace mojo { |
| 14 | 13 |
| 15 // static | 14 // static |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 DCHECK(!base::ContainsKey(out->object_stores, object_store.id())); | 231 DCHECK(!base::ContainsKey(out->object_stores, object_store.id())); |
| 233 if (!StructTraits<indexed_db::mojom::ObjectStoreMetadataDataView, | 232 if (!StructTraits<indexed_db::mojom::ObjectStoreMetadataDataView, |
| 234 content::IndexedDBObjectStoreMetadata>:: | 233 content::IndexedDBObjectStoreMetadata>:: |
| 235 Read(object_store, &out->object_stores[object_store.id()])) | 234 Read(object_store, &out->object_stores[object_store.id()])) |
| 236 return false; | 235 return false; |
| 237 } | 236 } |
| 238 return true; | 237 return true; |
| 239 } | 238 } |
| 240 | 239 |
| 241 } // namespace mojo | 240 } // namespace mojo |
| OLD | NEW |