// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/task/common/lazy_now.h" #include <optional> #include "base/check.h" #include "base/time/tick_clock.h" namespace base { LazyNow::LazyNow(TimeTicks now) : … { … } LazyNow::LazyNow(std::optional<TimeTicks> now, const TickClock* tick_clock) : … { … } LazyNow::LazyNow(const TickClock* tick_clock) : … { … } LazyNow::LazyNow(LazyNow&& move_from) noexcept : … { … } TimeTicks LazyNow::Now() { … } } // namespace base