OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ | 5 #ifndef CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ |
6 #define CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ | 6 #define CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time/time.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 class LocalTimeDelta; | 13 class LocalTimeDelta; |
14 class LocalTimeTicks; | 14 class LocalTimeTicks; |
15 class RemoteTimeDelta; | 15 class RemoteTimeDelta; |
16 class RemoteTimeTicks; | 16 class RemoteTimeTicks; |
17 | 17 |
18 // On Windows, TimeTicks are not consistent between processes. Often, the values | 18 // On Windows, TimeTicks are not consistent between processes. Often, the values |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 friend class InterProcessTimeTicksConverter; | 138 friend class InterProcessTimeTicksConverter; |
139 | 139 |
140 RemoteTimeTicks(int64 value) : value_(value) {} | 140 RemoteTimeTicks(int64 value) : value_(value) {} |
141 | 141 |
142 int64 value_; | 142 int64 value_; |
143 }; | 143 }; |
144 | 144 |
145 } // namespace content | 145 } // namespace content |
146 | 146 |
147 #endif // CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ | 147 #endif // CONTENT_COMMON_INTER_PROCESS_TIME_TICKS_CONVERTER_H_ |
OLD | NEW |