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

Unified Diff: content/browser/indexed_db/indexed_db_database.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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index 8427563aba4fcc944770c8e6e5363e18384e8188..c4a03b843c79e852458409a08d060c069b0f895e 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -49,9 +49,6 @@ struct IndexedDBValue;
class CONTENT_EXPORT IndexedDBDatabase
: NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) {
public:
- // An index and corresponding set of keys
- using IndexKeys = std::pair<int64_t, std::vector<IndexedDBKey>>;
-
// Identifier is pair of (origin, database name).
using Identifier = std::pair<url::Origin, base::string16>;
@@ -177,11 +174,11 @@ class CONTENT_EXPORT IndexedDBDatabase
std::unique_ptr<IndexedDBKey> key,
blink::WebIDBPutMode mode,
scoped_refptr<IndexedDBCallbacks> callbacks,
- const std::vector<IndexKeys>& index_keys);
+ const std::vector<IndexedDBIndexKeys>& index_keys);
void SetIndexKeys(int64_t transaction_id,
int64_t object_store_id,
std::unique_ptr<IndexedDBKey> primary_key,
- const std::vector<IndexKeys>& index_keys);
+ const std::vector<IndexedDBIndexKeys>& index_keys);
void SetIndexesReady(int64_t transaction_id,
int64_t object_store_id,
const std::vector<int64_t>& index_ids);

Powered by Google App Engine
This is Rietveld 408576698