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

Side by Side Diff: content/common/indexed_db/indexed_db_key.h

Issue 2449953008: Port messages sent by WebIDBDatabaseImpl to Mojo. (Closed)
Patch Set: Address dcheng@'s comments. Created 4 years, 1 month 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 (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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698