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

Side by Side Diff: content/browser/vr/vr_device_manager.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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/browser/vr/vr_device_manager.h" 5 #include "content/browser/vr/vr_device_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "build/build_config.h"
9 #include "third_party/WebKit/public/platform/modules/vr/WebVR.h" 10 #include "third_party/WebKit/public/platform/modules/vr/WebVR.h"
10 11
11 #if defined(OS_ANDROID) 12 #if defined(OS_ANDROID)
12 #include "content/browser/vr/android/cardboard/cardboard_vr_device_provider.h" 13 #include "content/browser/vr/android/cardboard/cardboard_vr_device_provider.h"
13 #endif 14 #endif
14 15
15 namespace content { 16 namespace content {
16 17
17 namespace { 18 namespace {
18 VRDeviceManager* g_vr_device_manager = nullptr; 19 VRDeviceManager* g_vr_device_manager = nullptr;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 142 }
142 } 143 }
143 144
144 void VRDeviceManager::ResetSensor(uint32_t index) { 145 void VRDeviceManager::ResetSensor(uint32_t index) {
145 VRDevice* device = GetDevice(index); 146 VRDevice* device = GetDevice(index);
146 if (device) 147 if (device)
147 device->ResetSensor(); 148 device->ResetSensor();
148 } 149 }
149 150
150 } // namespace content 151 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/vr/vr_device_manager.h ('k') | content/browser/vr/vr_device_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698