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

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

Issue 2167643003: Refactored VRService interaction and added VRServiceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed issues that showed up on an Android compile Created 4 years, 5 months 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
« no previous file with comments | « no previous file | device/vr/BUILD.gn » ('j') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4aceaf571b422a133f722bdcda44dd6ceb9b7b1b..3690caf3c674c12ddd7189f44218675434fec097 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -99,7 +99,7 @@
#if defined(ENABLE_WEBVR)
#include "base/command_line.h"
#include "content/public/common/content_switches.h"
-#include "device/vr/vr_device_manager.h" // nogncheck
+#include "device/vr/vr_service_impl.h" // nogncheck
#endif
using base::TimeDelta;
@@ -2071,7 +2071,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
if (browser_command_line.HasSwitch(switches::kEnableWebVR)) {
GetInterfaceRegistry()->AddInterface<device::VRService>(
- base::Bind(&device::VRDeviceManager::BindRequest));
+ base::Bind(&device::VRServiceImpl::BindRequest));
}
#endif
« no previous file with comments | « no previous file | device/vr/BUILD.gn » ('j') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698