OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // This file provides C++ wrappers for the C API in | |
6 // "mojo/public/c/include/mojo/system/time.h". | |
7 | |
8 #ifndef MOJO_PUBLIC_CPP_SYSTEM_TIME_H_ | |
9 #define MOJO_PUBLIC_CPP_SYSTEM_TIME_H_ | |
10 | |
11 #include <mojo/system/time.h> | |
12 | |
13 namespace mojo { | |
14 | |
15 // Returns the current |MojoTimeTicks| value. See |MojoGetTimeTicksNow()| for | |
16 // complete documentation. | |
17 inline MojoTimeTicks GetTimeTicksNow() { | |
18 return MojoGetTimeTicksNow(); | |
19 } | |
20 | |
21 } // namespace mojo | |
22 | |
23 #endif // MOJO_PUBLIC_CPP_SYSTEM_TIME_H_ | |
OLD | NEW |