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

Side by Side Diff: content/common/indexed_db/indexed_db_struct_traits.cc

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. Created 4 years 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698