OLD | NEW |
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 CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ | 5 #ifndef CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ |
6 #define CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ | 6 #define CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/observer_list_threadsafe.h" | 10 #include "base/observer_list_threadsafe.h" |
10 #include "chromeos/accelerometer/accelerometer_types.h" | 11 #include "chromeos/accelerometer/accelerometer_types.h" |
11 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 template <typename T> | 15 template <typename T> |
15 struct DefaultSingletonTraits; | 16 struct DefaultSingletonTraits; |
16 | 17 |
17 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Initialize. It will determine accelerometer configuration, read the data, | 59 // Initialize. It will determine accelerometer configuration, read the data, |
59 // and notify observers. | 60 // and notify observers. |
60 scoped_refptr<AccelerometerFileReader> accelerometer_file_reader_; | 61 scoped_refptr<AccelerometerFileReader> accelerometer_file_reader_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(AccelerometerReader); | 63 DISALLOW_COPY_AND_ASSIGN(AccelerometerReader); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace chromeos | 66 } // namespace chromeos |
66 | 67 |
67 #endif // CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ | 68 #endif // CHROMEOS_ACCELEROMETER_ACCELEROMETER_READER_H_ |
OLD | NEW |