Merge from Widevine repo of http://go/wvgerrit/47860 This CL updates the copyright notice to indicate that files shared with partners are shared under the Widevine Master License Agreement. bug: 77926774 test: comment change only Change-Id: I0423668111578b80fb39a932d763df2827e2dfc3
27 lines
644 B
C++
27 lines
644 B
C++
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine Master
|
|
// License Agreement.
|
|
//
|
|
// Clock - Platform independent interface for a time library
|
|
//
|
|
#ifndef WVCDM_CORE_CLOCK_H_
|
|
#define WVCDM_CORE_CLOCK_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace wvcdm {
|
|
|
|
// Provides time related information. The implementation is platform dependent.
|
|
class Clock {
|
|
public:
|
|
Clock() {}
|
|
virtual ~Clock() {}
|
|
|
|
// Provides the number of seconds since an epoch - 01/01/1970 00:00 UTC
|
|
virtual int64_t GetCurrentTime();
|
|
};
|
|
|
|
} // namespace wvcdm
|
|
|
|
#endif // WVCDM_CORE_CLOCK_H_
|