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

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

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Address last nits and fix leaks in unit tests. Created 4 years, 2 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 def4a5f3ea287c9d08f05d52c04846a9d3c40886..7166d00a3e1d0b8a7aa66f72df5869139fc2766b 100644
--- a/content/child/indexed_db/webidbdatabase_impl.cc
+++ b/content/child/indexed_db/webidbdatabase_impl.cc
@@ -37,10 +37,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() {
@@ -99,8 +97,7 @@ 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