chromium/components/variations/metrics.cc

// Copyright 2017 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/metrics.h"

#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"

namespace variations {

#if BUILDFLAG(IS_ANDROID)
void RecordFirstRunSeedImportResult(FirstRunSeedImportResult result) {
  UMA_HISTOGRAM_ENUMERATION("Variations.FirstRunResult", result,
                            FirstRunSeedImportResult::ENUM_SIZE);
}
#endif  // BUILDFLAG(IS_ANDROID)

#if BUILDFLAG(IS_IOS)
void RecordFirstRunSeedImportResult(FirstRunSeedImportResult result) {
  // TODO(crbug.com/40235387): Merge with Android implementation after first run
  // seed import on iOS is fully implemented.
}
#endif  // BUILDFLAG(IS_IOS)

void RecordLoadSeedResult(LoadSeedResult state) {}

void RecordLoadSafeSeedResult(LoadSeedResult state) {}

void RecordStoreSeedResult(StoreSeedResult result) {}

void ReportUnsupportedSeedFormatError() {}

void RecordStoreSafeSeedResult(StoreSeedResult result) {}

void RecordSeedInstanceManipulations(const InstanceManipulations& im) {}

}  // namespace variations