Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2603553002: Ports VRService to be hosted in the device service.
Patch Set: Ports VRService to be hosted in the device service. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 229ef2de46b0675a62dea0a7bffbcbd01827c64c..0e77bf7d9e2b119be3efd9ea5c95953d63c1d720 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -123,10 +123,6 @@
#include "content/browser/frame_host/popup_menu_helper_mac.h"
#endif
-#if defined(ENABLE_WEBVR)
-#include "device/vr/vr_service_impl.h" // nogncheck
-#endif
-
using base::TimeDelta;
namespace content {
@@ -2267,10 +2263,6 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
process_->GetID(),
routing_id_));
-#if defined(ENABLE_WEBVR)
- GetInterfaceRegistry()->AddInterface<device::mojom::VRService>(
- base::Bind(&device::VRServiceImpl::Create));
-#endif
if (base::FeatureList::IsEnabled(features::kGenericSensor)) {
GetInterfaceRegistry()->AddInterface(
base::Bind(&device::SensorProviderImpl::Create,

Powered by Google App Engine
This is Rietveld 408576698