#include "chrome/browser/ssl/daily_navigation_counter.h"
#include "base/i18n/time_formatting.h"
#include "base/time/clock.h"
#include "third_party/icu/source/i18n/unicode/timezone.h"
namespace {
std::string GetDateString(base::Time now) { … }
}
DailyNavigationCounter::DailyNavigationCounter(
base::Value::Dict* dict,
base::Clock* clock,
size_t rolling_window_duration_in_days,
size_t save_interval)
: … { … }
DailyNavigationCounter::~DailyNavigationCounter() = default;
size_t DailyNavigationCounter::GetTotal() const { … }
bool DailyNavigationCounter::Increment() { … }