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

Side by Side Diff: chromeos/accelerometer/accelerometer_reader.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « no previous file | chromeos/audio/cras_audio_handler_unittest.cc » ('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 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 "chromeos/accelerometer/accelerometer_reader.h" 5 #include "chromeos/accelerometer/accelerometer_reader.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/files/file_enumerator.h" 14 #include "base/files/file_enumerator.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/singleton.h" 18 #include "base/memory/singleton.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
22 #include "base/strings/stringprintf.h" 22 #include "base/strings/stringprintf.h"
23 #include "base/sys_info.h" 23 #include "base/sys_info.h"
24 #include "base/task_runner.h" 24 #include "base/task_runner.h"
25 #include "base/task_runner_util.h" 25 #include "base/task_runner_util.h"
26 #include "base/thread_task_runner_handle.h"
27 #include "base/threading/platform_thread.h" 26 #include "base/threading/platform_thread.h"
28 #include "base/threading/sequenced_worker_pool.h" 27 #include "base/threading/sequenced_worker_pool.h"
28 #include "base/threading/thread_task_runner_handle.h"
29 29
30 namespace chromeos { 30 namespace chromeos {
31 31
32 namespace { 32 namespace {
33 33
34 // Paths to access necessary data from the accelerometer device. 34 // Paths to access necessary data from the accelerometer device.
35 const base::FilePath::CharType kAccelerometerTriggerPath[] = 35 const base::FilePath::CharType kAccelerometerTriggerPath[] =
36 FILE_PATH_LITERAL("/sys/bus/iio/devices/trigger0/trigger_now"); 36 FILE_PATH_LITERAL("/sys/bus/iio/devices/trigger0/trigger_now");
37 const base::FilePath::CharType kAccelerometerDevicePath[] = 37 const base::FilePath::CharType kAccelerometerDevicePath[] =
38 FILE_PATH_LITERAL("/dev/cros-ec-accel"); 38 FILE_PATH_LITERAL("/dev/cros-ec-accel");
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 } 501 }
502 502
503 AccelerometerReader::AccelerometerReader() 503 AccelerometerReader::AccelerometerReader()
504 : accelerometer_file_reader_(new AccelerometerFileReader()) { 504 : accelerometer_file_reader_(new AccelerometerFileReader()) {
505 } 505 }
506 506
507 AccelerometerReader::~AccelerometerReader() { 507 AccelerometerReader::~AccelerometerReader() {
508 } 508 }
509 509
510 } // namespace chromeos 510 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chromeos/audio/cras_audio_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698