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

Unified Diff: content/browser/indexed_db/indexed_db_database.h

Issue 2449953008: Port messages sent by WebIDBDatabaseImpl to Mojo. (Closed)
Patch Set: Address more comments from dcheng@. 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 6169a7bc2dd8f3471ba809321589c230aa7ee06a..49cf2372f38e41df9118d84056c667a0660cd129 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -47,9 +47,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>;
@@ -175,11 +172,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);
« no previous file with comments | « content/browser/indexed_db/indexed_db_callbacks.cc ('k') | content/browser/indexed_db/indexed_db_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698