| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // TODO(jsbell): These can probably be collapsed into 0. | 61 // TODO(jsbell): These can probably be collapsed into 0. |
| 62 enum { NO_VERSION = -1, DEFAULT_VERSION = 0 }; | 62 enum { NO_VERSION = -1, DEFAULT_VERSION = 0 }; |
| 63 | 63 |
| 64 IndexedDBDatabaseMetadata(); | 64 IndexedDBDatabaseMetadata(); |
| 65 IndexedDBDatabaseMetadata(const base::string16& name, | 65 IndexedDBDatabaseMetadata(const base::string16& name, |
| 66 int64_t id, | 66 int64_t id, |
| 67 int64_t version, | 67 int64_t version, |
| 68 int64_t max_object_store_id); | 68 int64_t max_object_store_id); |
| 69 IndexedDBDatabaseMetadata(const IndexedDBDatabaseMetadata& other); | 69 IndexedDBDatabaseMetadata(const IndexedDBDatabaseMetadata& other); |
| 70 ~IndexedDBDatabaseMetadata(); | 70 ~IndexedDBDatabaseMetadata(); |
| 71 IndexedDBDatabaseMetadata& operator=(IndexedDBDatabaseMetadata& other); | 71 IndexedDBDatabaseMetadata& operator=(const IndexedDBDatabaseMetadata& other); |
| 72 | 72 |
| 73 base::string16 name; | 73 base::string16 name; |
| 74 int64_t id; | 74 int64_t id; |
| 75 int64_t version; | 75 int64_t version; |
| 76 int64_t max_object_store_id; | 76 int64_t max_object_store_id; |
| 77 | 77 |
| 78 std::map<int64_t, IndexedDBObjectStoreMetadata> object_stores; | 78 std::map<int64_t, IndexedDBObjectStoreMetadata> object_stores; |
| 79 }; | 79 }; |
| 80 } // namespace content | 80 } // namespace content |
| 81 | 81 |
| 82 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ | 82 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_METADATA_H_ |
| OLD | NEW |