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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.cc

Issue 2320213004: Port IndexedDB open() and database callbacks to Mojo. (Closed)
Patch Set: Make DatabaseClient an associated interface. Created 4 years, 3 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
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.h ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbdatabase_impl.cc
diff --git a/content/child/indexed_db/webidbdatabase_impl.cc b/content/child/indexed_db/webidbdatabase_impl.cc
index 2a4f8486bc5593027d2a6a6b5e551c71c96996e5..f1c58c7f9a8eb0b527201182c77a906eaff493de 100644
--- a/content/child/indexed_db/webidbdatabase_impl.cc
+++ b/content/child/indexed_db/webidbdatabase_impl.cc
@@ -25,7 +25,6 @@ using blink::WebBlobInfo;
using blink::WebIDBCallbacks;
using blink::WebIDBCursor;
using blink::WebIDBDatabase;
-using blink::WebIDBDatabaseCallbacks;
using blink::WebIDBMetadata;
using blink::WebIDBKey;
using blink::WebIDBKeyPath;
@@ -37,10 +36,8 @@ using blink::WebVector;
namespace content {
WebIDBDatabaseImpl::WebIDBDatabaseImpl(int32_t ipc_database_id,
- int32_t ipc_database_callbacks_id,
ThreadSafeSender* thread_safe_sender)
: ipc_database_id_(ipc_database_id),
- ipc_database_callbacks_id_(ipc_database_callbacks_id),
thread_safe_sender_(thread_safe_sender) {}
WebIDBDatabaseImpl::~WebIDBDatabaseImpl() {
@@ -80,21 +77,19 @@ void WebIDBDatabaseImpl::deleteObjectStore(long long transaction_id,
void WebIDBDatabaseImpl::createTransaction(
long long transaction_id,
- WebIDBDatabaseCallbacks* callbacks,
const WebVector<long long>& object_store_ids,
blink::WebIDBTransactionMode mode) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
dispatcher->RequestIDBDatabaseCreateTransaction(
- ipc_database_id_, transaction_id, callbacks, object_store_ids, mode);
+ ipc_database_id_, transaction_id, object_store_ids, mode);
}
void WebIDBDatabaseImpl::close() {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
dispatcher->RemoveIDBObservers(observer_ids_);
- dispatcher->RequestIDBDatabaseClose(ipc_database_id_,
- ipc_database_callbacks_id_);
+ dispatcher->RequestIDBDatabaseClose(ipc_database_id_);
}
void WebIDBDatabaseImpl::versionChangeIgnored() {
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.h ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698