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 a C++ wrapping around the standalone functions of the Mojo 6 // C API, replacing the prefix of "Mojo" with a "mojo" namespace. 7 // 8 // Please see "mojo/public/c/system/functions.h" for complete documentation of 9 // the API. 10 11 #ifndef MOJO_PUBLIC_CPP_SYSTEM_FUNCTIONS_H_ 12 #define MOJO_PUBLIC_CPP_SYSTEM_FUNCTIONS_H_ 13 14 #include "mojo/public/c/system/functions.h" 15 16 namespace mojo { 17 18 // Returns the current |MojoTimeTicks| value. See |MojoGetTimeTicksNow()| for 19 // complete documentation. 20 inline MojoTimeTicks GetTimeTicksNow() { 21 return MojoGetTimeTicksNow(); 22 } 23 24 } // namespace mojo 25 26 #endif // MOJO_PUBLIC_CPP_SYSTEM_FUNCTIONS_H_ 27