| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ | 5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ |
| 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ | 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ |
| 7 | 7 |
| 8 #include <list> | |
| 9 #include <map> | 8 #include <map> |
| 10 #include <set> | 9 #include <set> |
| 11 #include <string> | 10 #include <string> |
| 12 | 11 |
| 13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 15 | 14 |
| 16 namespace media { | 15 namespace media { |
| 17 namespace cast { | 16 namespace cast { |
| 18 namespace transport { | 17 namespace transport { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 base::TimeDelta recorded_delta = time_ticks - zero_time; | 136 base::TimeDelta recorded_delta = time_ticks - zero_time; |
| 138 // Timestamp is in 90 KHz for video. | 137 // Timestamp is in 90 KHz for video. |
| 139 return static_cast<uint32>(recorded_delta.InMilliseconds() * 90); | 138 return static_cast<uint32>(recorded_delta.InMilliseconds() * 90); |
| 140 } | 139 } |
| 141 | 140 |
| 142 } // namespace transport | 141 } // namespace transport |
| 143 } // namespace cast | 142 } // namespace cast |
| 144 } // namespace media | 143 } // namespace media |
| 145 | 144 |
| 146 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ | 145 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_DEFINES_H_ |
| OLD | NEW |