OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "content/common/indexed_db/indexed_db_key_path.h" | 12 #include "content/common/indexed_db/indexed_db_key_path.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 struct IndexedDBIndexMetadata { | 16 struct IndexedDBIndexMetadata { |
17 IndexedDBIndexMetadata() {} | 17 IndexedDBIndexMetadata() {} |
18 IndexedDBIndexMetadata(const string16& name, | 18 IndexedDBIndexMetadata(const string16& name, |
19 int64 id, | 19 int64 id, |
20 const IndexedDBKeyPath& key_path, | 20 const IndexedDBKeyPath& key_path, |
21 bool unique, | 21 bool unique, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 int64 id; | 75 int64 id; |
76 string16 version; | 76 string16 version; |
77 int64 int_version; | 77 int64 int_version; |
78 int64 max_object_store_id; | 78 int64 max_object_store_id; |
79 | 79 |
80 ObjectStoreMap object_stores; | 80 ObjectStoreMap object_stores; |
81 }; | 81 }; |
82 } | 82 } |
83 | 83 |
84 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ | 84 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ |
OLD | NEW |