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 MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ | 5 #ifndef MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ |
6 #define MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ | 6 #define MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <map> | 11 #include <map> |
9 | 12 |
10 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/threading/thread_checker.h" |
11 #include "base/time/time.h" | 15 #include "base/time/time.h" |
12 #include "base/threading/thread_checker.h" | |
13 #include "media/cast/common/mod_util.h" | 16 #include "media/cast/common/mod_util.h" |
14 #include "media/cast/logging/logging_defines.h" | 17 #include "media/cast/logging/logging_defines.h" |
15 #include "media/cast/logging/receiver_time_offset_estimator.h" | 18 #include "media/cast/logging/receiver_time_offset_estimator.h" |
16 | 19 |
17 namespace media { | 20 namespace media { |
18 namespace cast { | 21 namespace cast { |
19 | 22 |
20 | 23 |
21 // This should be large enough so that we can collect all 3 events before | 24 // This should be large enough so that we can collect all 3 events before |
22 // the entry gets removed from the map. | 25 // the entry gets removed from the map. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 BoundCalculator lower_bound_; | 94 BoundCalculator lower_bound_; |
92 | 95 |
93 base::ThreadChecker thread_checker_; | 96 base::ThreadChecker thread_checker_; |
94 DISALLOW_COPY_AND_ASSIGN(ReceiverTimeOffsetEstimatorImpl); | 97 DISALLOW_COPY_AND_ASSIGN(ReceiverTimeOffsetEstimatorImpl); |
95 }; | 98 }; |
96 | 99 |
97 } // namespace cast | 100 } // namespace cast |
98 } // namespace media | 101 } // namespace media |
99 | 102 |
100 #endif // MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ | 103 #endif // MEDIA_CAST_LOGGING_RECEIVER_TIME_OFFSET_ESTIMATOR_IMPL_H_ |
OLD | NEW |