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

Side by Side Diff: content/browser/device_sensors/data_fetcher_shared_memory_base.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 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 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" 5 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/location.h" 10 #include "base/location.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
11 #include "base/stl_util.h" 14 #include "base/stl_util.h"
12 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
13 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
14 #include "content/common/device_sensors/device_light_hardware_buffer.h" 17 #include "content/common/device_sensors/device_light_hardware_buffer.h"
15 #include "content/common/device_sensors/device_motion_hardware_buffer.h" 18 #include "content/common/device_sensors/device_motion_hardware_buffer.h"
16 #include "content/common/device_sensors/device_orientation_hardware_buffer.h" 19 #include "content/common/device_sensors/device_orientation_hardware_buffer.h"
17 20
18 namespace content { 21 namespace content {
19 22
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 247
245 base::MessageLoop* DataFetcherSharedMemoryBase::GetPollingMessageLoop() const { 248 base::MessageLoop* DataFetcherSharedMemoryBase::GetPollingMessageLoop() const {
246 return polling_thread_ ? polling_thread_->message_loop() : nullptr; 249 return polling_thread_ ? polling_thread_->message_loop() : nullptr;
247 } 250 }
248 251
249 bool DataFetcherSharedMemoryBase::IsPollingTimerRunningForTesting() const { 252 bool DataFetcherSharedMemoryBase::IsPollingTimerRunningForTesting() const {
250 return polling_thread_ ? polling_thread_->IsTimerRunning() : false; 253 return polling_thread_ ? polling_thread_->IsTimerRunning() : false;
251 } 254 }
252 255
253 } // namespace content 256 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698