• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
2 // reserved. Use of this source code is governed by a BSD-style license that
3 // can be found in the LICENSE file.
4 
5 #ifndef CEF_LIBCEF_COMMON_TIME_UTIL_H_
6 #define CEF_LIBCEF_COMMON_TIME_UTIL_H_
7 #pragma once
8 
9 #include "base/time/time.h"
10 #include "include/internal/cef_time.h"
11 
12 // Converts cef_time_t to/from a base::Time object.
13 void cef_time_to_basetime(const cef_time_t& cef_time, base::Time& time);
14 void cef_time_from_basetime(const base::Time& time, cef_time_t& cef_time);
15 
16 #endif  // CEF_LIBCEF_COMMON_TIME_UTIL_H_
17