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

Unified Diff: content/renderer/vr/vr_dispatcher.cc

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment Created 4 years, 9 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 | « content/renderer/vr/vr_dispatcher.h ('k') | content/renderer/vr/vr_type_converters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/vr/vr_dispatcher.cc
diff --git a/content/renderer/vr/vr_dispatcher.cc b/content/renderer/vr/vr_dispatcher.cc
index 07391761338fcac0679702d1de767aad56766bfc..acd893747f3d9e1965d2e2affc68a38b6eef907b 100644
--- a/content/renderer/vr/vr_dispatcher.cc
+++ b/content/renderer/vr/vr_dispatcher.cc
@@ -18,7 +18,7 @@ VRDispatcher::VRDispatcher(ServiceRegistry* service_registry)
VRDispatcher::~VRDispatcher() {
}
-VRServicePtr& VRDispatcher::GetVRServicePtr() {
+mojom::VRServicePtr& VRDispatcher::GetVRServicePtr() {
if (!vr_service_) {
service_registry_->ConnectToRemoteService(mojo::GetProxy(&vr_service_));
}
@@ -46,8 +46,9 @@ void VRDispatcher::resetSensor(unsigned int index) {
GetVRServicePtr()->ResetSensor(index);
}
-void VRDispatcher::OnGetDevices(int request_id,
- const mojo::Array<VRDeviceInfoPtr>& devices) {
+void VRDispatcher::OnGetDevices(
+ int request_id,
+ const mojo::Array<mojom::VRDeviceInfoPtr>& devices) {
blink::WebVector<blink::WebVRDevice> web_devices(devices.size());
blink::WebVRGetDevicesCallback* callback =
@@ -64,7 +65,7 @@ void VRDispatcher::OnGetDevices(int request_id,
}
void VRDispatcher::OnGetSensorState(blink::WebHMDSensorState* state,
- const VRSensorStatePtr& mojo_state) {
+ const mojom::VRSensorStatePtr& mojo_state) {
*state = mojo_state.To<blink::WebHMDSensorState>();
}
« no previous file with comments | « content/renderer/vr/vr_dispatcher.h ('k') | content/renderer/vr/vr_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698