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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 months 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 70d9b54d4a73da4079cdc2c6eeecd8e32633ebc9..d513a495c0bb0978a67f490b355de50cc21c27d5 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -197,10 +197,10 @@ class CONTENT_EXPORT IndexedDBDatabase
void DeleteObjectStoreAbortOperation(
const IndexedDBObjectStoreMetadata& object_store_metadata,
IndexedDBTransaction* transaction);
- void VersionChangeOperation(int64_t version,
- scoped_refptr<IndexedDBCallbacks> callbacks,
- std::unique_ptr<IndexedDBConnection> connection,
- IndexedDBTransaction* transaction);
+ void VersionChangeOperation(
+ const IndexedDBPendingConnection& pending_connection,
+ std::unique_ptr<IndexedDBConnection> connection,
+ IndexedDBTransaction* transaction);
void VersionChangeAbortOperation(int64_t previous_version,
IndexedDBTransaction* transaction);
void DeleteIndexOperation(int64_t object_store_id,
@@ -273,15 +273,11 @@ class CONTENT_EXPORT IndexedDBDatabase
bool IsOpenConnectionBlocked() const;
leveldb::Status OpenInternal();
void RunVersionChangeTransaction(
- scoped_refptr<IndexedDBCallbacks> callbacks,
- std::unique_ptr<IndexedDBConnection> connection,
- int64_t transaction_id,
- int64_t requested_version);
+ const IndexedDBPendingConnection& pending_connection,
+ std::unique_ptr<IndexedDBConnection> connection);
void RunVersionChangeTransactionFinal(
- scoped_refptr<IndexedDBCallbacks> callbacks,
- std::unique_ptr<IndexedDBConnection> connection,
- int64_t transaction_id,
- int64_t requested_version);
+ const IndexedDBPendingConnection& pending_connection,
+ std::unique_ptr<IndexedDBConnection> connection);
void ProcessPendingCalls();
bool IsDeleteDatabaseBlocked() const;

Powered by Google App Engine
This is Rietveld 408576698