| 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 08d50a2c5ce8246f4f49130387eedcdc43d6a039..b07a5daf083d18c87c265ee82fd37dcf501a8fe0 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -82,7 +82,7 @@
|
| #include "content/browser/media/midi_host.h"
|
| #include "content/browser/memory/memory_message_filter.h"
|
| #include "content/browser/message_port_message_filter.h"
|
| -#include "content/browser/mime_registry_message_filter.h"
|
| +#include "content/browser/mime_registry_impl.h"
|
| #include "content/browser/mojo/constants.h"
|
| #include "content/browser/mojo/mojo_application_host.h"
|
| #include "content/browser/mojo/mojo_child_connection.h"
|
| @@ -931,7 +931,6 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| blob_storage_context.get(), StreamContext::GetFor(browser_context)));
|
| AddFilter(new BlobDispatcherHost(blob_storage_context.get()));
|
| AddFilter(new FileUtilitiesMessageFilter(GetID()));
|
| - AddFilter(new MimeRegistryMessageFilter());
|
| AddFilter(
|
| new DatabaseMessageFilter(storage_partition_impl_->GetDatabaseTracker()));
|
| #if defined(OS_MACOSX)
|
| @@ -1080,6 +1079,10 @@ void RenderProcessHostImpl::RegisterMojoServices() {
|
| base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService,
|
| base::Unretained(this)));
|
|
|
| + mojo_application_host_->service_registry()->AddService(
|
| + base::Bind(&MimeRegistryImpl::Create),
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
|
| +
|
| #if defined(OS_ANDROID)
|
| ServiceRegistrarAndroid::RegisterProcessHostServices(
|
| mojo_application_host_->service_registry_android());
|
|
|