
Bug: none Change-Id: I5f2b55cb3bd5a822c029169414f26fb185acd2c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4974871 Reviewed-by: Roger Tawa <rogerta@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Roger Tawa <rogerta@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1214821}
16 lines
364 B
C++
16 lines
364 B
C++
// Copyright 2019 The Chromium Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "rlz/lib/time_util.h"
|
|
|
|
#include "base/time/time.h"
|
|
|
|
namespace rlz_lib {
|
|
|
|
int64_t GetSystemTimeAsInt64() {
|
|
return (base::Time::Now() - base::Time::UnixEpoch()).InMicroseconds() * 10;
|
|
}
|
|
|
|
} // namespace rlz_lib
|