#include "extensions/test/logging_timer.h"
#include <map>
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/time/tick_clock.h"
namespace extensions {
namespace {
const base::TickClock* g_clock_for_testing = …;
class TimeTracker { … };
base::TimeTicks GetNow() { … }
TimeTracker& GetTimeTracker() { … }
}
LoggingTimer::LoggingTimer(const char* key) : … { … }
LoggingTimer::~LoggingTimer() { … }
base::TimeDelta LoggingTimer::GetTrackedTime(const char* key) { … }
void LoggingTimer::Print() { … }
void LoggingTimer::set_clock_for_testing(const base::TickClock* clock) { … }
}