chromium/components/variations/service/variations_service_utils.cc

// 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.

#include "components/variations/service/variations_service_utils.h"

#include <string>

#include "base/build_time.h"
#include "base/time/time.h"
#include "components/country_codes/country_codes.h"
#include "components/variations/service/variations_service.h"

namespace variations {
namespace {

// Maximum age permitted for a variations seed, in days.
const int kMaxSeedAgeDays =;

// Helper function for "HasSeedExpiredSinceTime" that exposes |build_time| and
// makes it overridable by tests.
bool HasSeedExpiredSinceTimeHelper(base::Time fetch_time,
                                   base::Time build_time) {}

}  // namespace

bool HasSeedExpiredSinceTime(base::Time fetch_time) {}

bool HasSeedExpiredSinceTimeHelperForTesting(base::Time fetch_time,
                                             base::Time build_time) {}

std::string GetCurrentCountryCode(const VariationsService* variations) {}

}  // namespace variations