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 COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ | 5 #ifndef COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ |
6 #define COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ | 6 #define COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
11 | 12 |
12 class PrefRegistrySimple; | 13 class PrefRegistrySimple; |
13 class PrefService; | 14 class PrefService; |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class TickClock; | 17 class TickClock; |
17 } | 18 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 base::ThreadChecker thread_checker_; | 72 base::ThreadChecker thread_checker_; |
72 | 73 |
73 bool received_network_time_; | 74 bool received_network_time_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(NetworkTimeTracker); | 76 DISALLOW_COPY_AND_ASSIGN(NetworkTimeTracker); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace network_time | 79 } // namespace network_time |
79 | 80 |
80 #endif // COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ | 81 #endif // COMPONENTS_NETWORK_TIME_NETWORK_TIME_TRACKER_H_ |
OLD | NEW |