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

Side by Side Diff: content/browser/device_sensors/sensor_manager_android.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_
6 #define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ 6 #define CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_
7 7
8 #include <memory>
9
8 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
12 #include "content/browser/device_sensors/device_sensors_consts.h" 13 #include "content/browser/device_sensors/device_sensors_consts.h"
13 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
14 #include "content/common/device_sensors/device_light_hardware_buffer.h" 15 #include "content/common/device_sensors/device_light_hardware_buffer.h"
15 #include "content/common/device_sensors/device_motion_hardware_buffer.h" 16 #include "content/common/device_sensors/device_motion_hardware_buffer.h"
16 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" 17 #include "content/common/device_sensors/device_orientation_hardware_buffer.h"
17 18
18 namespace base { 19 namespace base {
19 template <typename T> 20 template <typename T>
20 struct DefaultSingletonTraits; 21 struct DefaultSingletonTraits;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 base::Lock orientation_absolute_buffer_lock_; 161 base::Lock orientation_absolute_buffer_lock_;
161 162
162 bool is_shutdown_; 163 bool is_shutdown_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(SensorManagerAndroid); 165 DISALLOW_COPY_AND_ASSIGN(SensorManagerAndroid);
165 }; 166 };
166 167
167 } // namespace content 168 } // namespace content
168 169
169 #endif // CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_ 170 #endif // CONTENT_BROWSER_DEVICE_SENSORS_SENSOR_MANAGER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698