blob: 1c531fb7aba043d01f907aa7f63aa32c6fa5319e [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_UTILS_H_
#define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_UTILS_H_
namespace base {
class Time;
} // namespace base
namespace variations {
// Returns whether a seed fetched at |fetch_time| has expired.
bool HasSeedExpiredSinceTime(base::Time fetch_time);
bool HasSeedExpiredSinceTimeHelperForTesting(base::Time fetch_time,
base::Time build_time);
} // namespace variations
#endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_UTILS_H_