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 37aecf798e2d6747c0288fa95e2e6b7ea787fa36..c34c1859d433a0117754d0add92b63c6e37a7f5d 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -91,6 +91,8 @@ |
#include "content/browser/speech/speech_recognition_dispatcher_host.h" |
#include "content/browser/storage_partition_impl.h" |
#include "content/browser/tracing/trace_message_filter.h" |
+#include "content/browser/vibration/vibration_message_filter.h" |
+#include "content/browser/vibration/vibration_service.h" |
#include "content/browser/webui/web_ui_controller_factory_registry.h" |
#include "content/browser/worker_host/worker_message_filter.h" |
#include "content/browser/worker_host/worker_storage_partition.h" |
@@ -699,6 +701,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
switches::kEnableMemoryBenchmarking)) |
channel_->AddFilter(new MemoryBenchmarkMessageFilter()); |
#endif |
+ channel_->AddFilter(new VibrationMessageFilter(VibrationService::Create())); |
} |
int RenderProcessHostImpl::GetNextRoutingID() { |