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

Unified Diff: content/browser/indexed_db/indexed_db_index_writer.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_index_writer.h
diff --git a/content/browser/indexed_db/indexed_db_index_writer.h b/content/browser/indexed_db/indexed_db_index_writer.h
index b532fa600945a9f362e38380f1a3e85654760a3c..bf9c4e881095725ea4df5728f3ee48cba73fbda8 100644
--- a/content/browser/indexed_db/indexed_db_index_writer.h
+++ b/content/browser/indexed_db/indexed_db_index_writer.h
@@ -27,7 +27,7 @@ class IndexWriter {
explicit IndexWriter(const IndexedDBIndexMetadata& index_metadata);
IndexWriter(const IndexedDBIndexMetadata& index_metadata,
- const IndexedDBDatabase::IndexKeys& index_keys);
+ const IndexedDBIndexKeys& index_keys);
bool VerifyIndexKeys(IndexedDBBackingStore* store,
IndexedDBBackingStore::Transaction* transaction,
@@ -57,22 +57,21 @@ class IndexWriter {
bool* allowed) const WARN_UNUSED_RESULT;
const IndexedDBIndexMetadata index_metadata_;
- IndexedDBDatabase::IndexKeys index_keys_;
+ IndexedDBIndexKeys index_keys_;
DISALLOW_COPY_AND_ASSIGN(IndexWriter);
};
-bool MakeIndexWriters(
- IndexedDBTransaction* transaction,
- IndexedDBBackingStore* store,
- int64_t database_id,
- const IndexedDBObjectStoreMetadata& metadata,
- const IndexedDBKey& primary_key,
- bool key_was_generated,
- const std::vector<IndexedDBDatabase::IndexKeys>& index_keys,
- std::vector<std::unique_ptr<IndexWriter>>* index_writers,
- base::string16* error_message,
- bool* completed) WARN_UNUSED_RESULT;
+bool MakeIndexWriters(IndexedDBTransaction* transaction,
+ IndexedDBBackingStore* store,
+ int64_t database_id,
+ const IndexedDBObjectStoreMetadata& metadata,
+ const IndexedDBKey& primary_key,
+ bool key_was_generated,
+ const std::vector<IndexedDBIndexKeys>& index_keys,
+ std::vector<std::unique_ptr<IndexWriter>>* index_writers,
+ base::string16* error_message,
+ bool* completed) WARN_UNUSED_RESULT;
} // namespace content
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/browser/indexed_db/indexed_db_index_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698