chromium/components/metrics/date_changed_helper.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/metrics/date_changed_helper.h"

#include "base/time/time.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"

namespace metrics {

namespace {

base::Time GetCurrentDate(base::Time now) {}

void UpdateStoredDate(PrefService* prefs,
                      const char* pref_name,
                      base::Time now) {}

bool IsStoredDateToday(PrefService* prefs,
                       const char* pref_name,
                       base::Time now) {}

}  // namespace

namespace date_changed_helper {

bool HasDateChangedSinceLastCall(PrefService* prefs, const char* pref_name) {}

void RegisterPref(PrefRegistrySimple* registry, const char* pref_name) {}

}  // namespace date_changed_helper

}  // namespace metrics