blob: ab76b3d4dee8ddc88f072d54cf5f428a94dc77a9 [file] [log] [blame]
// Copyright 2024 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/sync/model/conflict_resolution.h"
#include <string>
#include "base/metrics/histogram_functions.h"
namespace syncer {
void RecordModelTypeEntityConflictResolution(
ModelType model_type,
ConflictResolution resolution_type) {
base::UmaHistogramEnumeration(
std::string("Sync.ModelTypeEntityConflictResolution.") +
ModelTypeToHistogramSuffix(model_type),
resolution_type);
}
} // namespace syncer