#include "components/metrics/structured/test/test_key_data_provider.h"
#include "base/check.h"
#include "base/time/time.h"
#include "components/metrics/structured/key_data_provider_file.h"
#include "components/metrics/structured/structured_metrics_validator.h"
namespace metrics::structured {
TestKeyDataProvider::TestKeyDataProvider(const base::FilePath& device_key_path)
: … { … }
TestKeyDataProvider::TestKeyDataProvider(const base::FilePath& device_key_path,
const base::FilePath& profile_key_path)
: … { … }
TestKeyDataProvider::~TestKeyDataProvider() { … }
std::optional<uint64_t> TestKeyDataProvider::GetId(
const std::string& project_name) { … }
std::optional<uint64_t> TestKeyDataProvider::GetSecondaryId(
const std::string& project_name) { … }
KeyData* TestKeyDataProvider::GetKeyData(const std::string& project_name) { … }
bool TestKeyDataProvider::IsReady() { … }
void TestKeyDataProvider::OnProfileAdded(const base::FilePath& profile_path) { … }
void TestKeyDataProvider::Purge() { … }
void TestKeyDataProvider::OnKeyReady() { … }
}