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

Side by Side Diff: content/renderer/vr/vr_dispatcher.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « content/renderer/vr/vr_dispatcher.h ('k') | content/renderer/web_ui_extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/vr/vr_dispatcher.h" 5 #include "content/renderer/vr/vr_dispatcher.h"
6 6
7 #include <stddef.h>
8
7 #include "content/public/common/service_registry.h" 9 #include "content/public/common/service_registry.h"
8 #include "content/renderer/vr/vr_type_converters.h" 10 #include "content/renderer/vr/vr_type_converters.h"
9 11
10 namespace content { 12 namespace content {
11 13
12 VRDispatcher::VRDispatcher(ServiceRegistry* service_registry) 14 VRDispatcher::VRDispatcher(ServiceRegistry* service_registry)
13 : service_registry_(service_registry) { 15 : service_registry_(service_registry) {
14 } 16 }
15 17
16 VRDispatcher::~VRDispatcher() { 18 VRDispatcher::~VRDispatcher() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 callback->onSuccess(web_devices); 62 callback->onSuccess(web_devices);
61 pending_requests_.Remove(request_id); 63 pending_requests_.Remove(request_id);
62 } 64 }
63 65
64 void VRDispatcher::OnGetSensorState(blink::WebHMDSensorState* state, 66 void VRDispatcher::OnGetSensorState(blink::WebHMDSensorState* state,
65 const VRSensorStatePtr& mojo_state) { 67 const VRSensorStatePtr& mojo_state) {
66 *state = mojo_state.To<blink::WebHMDSensorState>(); 68 *state = mojo_state.To<blink::WebHMDSensorState>();
67 } 69 }
68 70
69 } // namespace content 71 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/vr/vr_dispatcher.h ('k') | content/renderer/web_ui_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698