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 ecd4139d42d3e8efd3941311dd8cdde8d3e41bb6..44364df237ea4e7af237355718f7cfda55f04a99 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_browser_message_filter.h" |
+#include "content/browser/vibration/vibration_service_factory.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" |
@@ -710,6 +712,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
switches::kEnableMemoryBenchmarking)) |
channel_->AddFilter(new MemoryBenchmarkMessageFilter()); |
#endif |
+ channel_->AddFilter(new VibrationBrowserMessageFilter(NewVibrationService())); |
Peter Beverloo
2013/06/13 11:27:45
It seems odd for the message filter to own the vib
Michael van Ouwerkerk
2013/06/18 14:39:23
Most of the above code gets the dependencies from
|
} |
int RenderProcessHostImpl::GetNextRoutingID() { |