// 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 "chrome/browser/resource_coordinator/usage_clock.h" #include "chrome/browser/resource_coordinator/time.h" namespace resource_coordinator { UsageClock::UsageClock() : … { … } UsageClock::~UsageClock() { … } base::TimeDelta UsageClock::GetTotalUsageTime() const { … } bool UsageClock::IsInUse() const { … } void UsageClock::OnSessionStarted(base::TimeTicks session_start) { … } void UsageClock::OnSessionEnded(base::TimeDelta session_length, base::TimeTicks session_end) { … } } // namespace resource_coordinator