| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 blink::WebIDBKeyType type_; | 71 blink::WebIDBKeyType type_; |
| 72 std::vector<IndexedDBKey> array_; | 72 std::vector<IndexedDBKey> array_; |
| 73 std::string binary_; | 73 std::string binary_; |
| 74 base::string16 string_; | 74 base::string16 string_; |
| 75 double number_ = 0; | 75 double number_ = 0; |
| 76 | 76 |
| 77 size_t size_estimate_; | 77 size_t size_estimate_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 // An index id, and corresponding set of keys to insert. |
| 81 using IndexedDBIndexKeys = std::pair<int64_t, std::vector<IndexedDBKey>>; |
| 82 |
| 80 } // namespace content | 83 } // namespace content |
| 81 | 84 |
| 82 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ | 85 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ |
| OLD | NEW |