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

Side by Side Diff: content/renderer/device_sensors/device_sensor_event_pump.h

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
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_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_ 5 #ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_
6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_ 6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
9 #include "base/time/time.h" 10 #include "base/time/time.h"
10 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
11 #include "content/public/renderer/platform_event_observer.h" 12 #include "content/public/renderer/platform_event_observer.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 template <typename ListenerType> 16 template <typename ListenerType>
16 class CONTENT_EXPORT DeviceSensorEventPump 17 class CONTENT_EXPORT DeviceSensorEventPump
17 : NON_EXPORTED_BASE(public PlatformEventObserver<ListenerType>) { 18 : NON_EXPORTED_BASE(public PlatformEventObserver<ListenerType>) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int pump_delay_microseconds_; 94 int pump_delay_microseconds_;
94 PumpState state_; 95 PumpState state_;
95 base::RepeatingTimer timer_; 96 base::RepeatingTimer timer_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(DeviceSensorEventPump); 98 DISALLOW_COPY_AND_ASSIGN(DeviceSensorEventPump);
98 }; 99 };
99 100
100 } // namespace content 101 } // namespace content
101 102
102 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_ 103 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_SENSOR_EVENT_PUMP_H_
OLDNEW
« no previous file with comments | « content/renderer/device_sensors/device_orientation_event_pump_unittest.cc ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698