OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROMECAST_BASE_TIME_CONVERSIONS_H_ |
| 6 #define CHROMECAST_BASE_TIME_CONVERSIONS_H_ |
| 7 |
| 8 #include "base/time/time.h" |
| 9 #include "chromecast/public/time_delta.h" |
| 10 |
| 11 namespace chromecast { |
| 12 |
| 13 // Convenience to convert between base::TimeDelta and chromecast::TimeDelta |
| 14 base::TimeDelta ToBaseTimeDelta(TimeDelta delta); |
| 15 TimeDelta FromBaseTimeDelta(base::TimeDelta delta); |
| 16 |
| 17 } // namespace chromecast |
| 18 |
| 19 #endif // CHROMECAST_BASE_TIME_CONVERSIONS_H_ |
OLD | NEW |