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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.cc

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_dispatcher_host.cc
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
index aac0dd9381135acfa6393bc6c5ccbd0fa173b308..2c04517fdf11a718ffb520a4d271577e57fcb5ca 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -26,7 +26,6 @@
#include "content/browser/indexed_db/indexed_db_pending_connection.h"
#include "content/browser/indexed_db/indexed_db_value.h"
#include "content/browser/renderer_host/render_message_filter.h"
-#include "content/common/indexed_db/indexed_db_messages.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/user_metrics.h"
#include "content/public/common/content_switches.h"
@@ -52,6 +51,7 @@ bool IsValidOrigin(const url::Origin& origin) {
} // namespace
+#if 0
IndexedDBDispatcherHost::IndexedDBDispatcherHost(
int ipc_process_id,
net::URLRequestContextGetter* request_context_getter,
@@ -356,8 +356,11 @@ void IndexedDBDispatcherHost::OnIDBFactoryOpen(
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks =
new IndexedDBDatabaseCallbacks(
this, params.ipc_thread_id, params.ipc_database_callbacks_id);
+ scoped_refptr<IndexedDBOpenRequestObserver> open_observer =
+ new IndexedDBOpenRequestObserver();
IndexedDBPendingConnection connection(callbacks,
database_callbacks,
+ open_observer,
ipc_process_id_,
host_transaction_id,
params.version);
@@ -1075,4 +1078,6 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed(
parent_->DestroyObject(&map_, ipc_object_id);
}
+#endif
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698