| 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 9306901ff16ce363f9bd8a3bcfaf08dd24fb714b..3341b9e255b754b7407a4d387344a0ae1fd91e64 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -44,6 +44,7 @@
|
| #include "content/browser/browser_main.h"
|
| #include "content/browser/browser_main_loop.h"
|
| #include "content/browser/child_process_security_policy_impl.h"
|
| +#include "content/browser/device_orientation/motion_message_filter.h"
|
| #include "content/browser/device_orientation/orientation_message_filter.h"
|
| #include "content/browser/dom_storage/dom_storage_context_impl.h"
|
| #include "content/browser/dom_storage/dom_storage_message_filter.h"
|
| @@ -510,6 +511,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| browser_context->GetRequestContext(),
|
| BrowserContext::GetFileSystemContext(browser_context),
|
| ChromeBlobStorageContext::GetFor(browser_context)));
|
| + channel_->AddFilter(new device_orientation::MotionMessageFilter());
|
| channel_->AddFilter(new device_orientation::OrientationMessageFilter());
|
| channel_->AddFilter(new FileUtilitiesMessageFilter(GetID()));
|
| channel_->AddFilter(new MimeRegistryMessageFilter());
|
| @@ -670,6 +672,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
| switches::kDisableDataTransferItems,
|
| switches::kDisableDatabases,
|
| switches::kDisableDesktopNotifications,
|
| + switches::kDisableDeviceMotion,
|
| switches::kDisableDeviceOrientation,
|
| switches::kDisableFileSystem,
|
| switches::kDisableGeolocation,
|
|
|