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 |