#include "chrome/browser/resource_coordinator/time.h"
#include "base/check.h"
#include "base/logging.h"
#include "base/time/clock.h"
#include "base/time/tick_clock.h"
namespace resource_coordinator {
namespace {
const base::TickClock* g_tick_clock_for_testing = …;
const base::Clock* g_clock_for_testing = …;
}
base::TimeTicks NowTicks() { … }
base::Time Now() { … }
const base::TickClock* GetTickClock() { … }
ScopedSetClocksForTesting::ScopedSetClocksForTesting(
const base::Clock* clock,
const base::TickClock* tick_clock) { … }
ScopedSetClocksForTesting::~ScopedSetClocksForTesting() { … }
}