| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index c4b72a3241682e420e1aee06434c9c44cbaf6003..effbeda888acc76040e0e8bb40004bf3343c2c54 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -71,6 +71,8 @@
|
| #include "content/browser/gpu/gpu_process_host.h"
|
| #include "content/browser/gpu/shader_disk_cache.h"
|
| #include "content/browser/histogram_message_filter.h"
|
| +#include "content/browser/indexed_db/database_factory_impl.h"
|
| +#include "content/browser/indexed_db/database_impl.h"
|
| #include "content/browser/indexed_db/indexed_db_context_impl.h"
|
| #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
|
| #include "content/browser/loader/resource_message_filter.h"
|
| @@ -929,10 +931,12 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| AddFilter(new ClipboardMessageFilter(blob_storage_context));
|
| AddFilter(new DOMStorageMessageFilter(
|
| storage_partition_impl_->GetDOMStorageContext()));
|
| +#if 0
|
| AddFilter(new IndexedDBDispatcherHost(
|
| GetID(), storage_partition_impl_->GetURLRequestContext(),
|
| storage_partition_impl_->GetIndexedDBContext(),
|
| blob_storage_context.get()));
|
| +#endif
|
|
|
| #if defined(ENABLE_WEBRTC)
|
| peer_connection_tracker_host_ =
|
| @@ -1091,6 +1095,19 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
|
| GetInterfaceRegistry()->AddInterface(
|
| base::Bind(&DeviceOrientationAbsoluteHost::Create), io_task_runner);
|
|
|
| + GetInterfaceRegistry()->AddInterface(base::Bind(
|
| + &::indexed_db::DatabaseFactoryImpl::Create,
|
| + base::Unretained(GetBrowserContext()),
|
| + base::RetainedRef(storage_partition_impl_->GetURLRequestContext())));
|
| +
|
| +#if 0
|
| + // Databases are created in the browser process and passed to the client.
|
| + // I don't think it's correct to add this to the registry.
|
| + GetInterfaceRegistry()->AddInterface(
|
| + base::Bind(&::indexed_db::DatabaseImpl::Create,
|
| + base::Unretained(GetBrowserContext())));
|
| +#endif
|
| +
|
| #if defined(OS_ANDROID)
|
| ServiceRegistrarAndroid::RegisterProcessHostServices(
|
| mojo_child_connection_->service_registry_android());
|
|
|