blob: abbbeadbfc07f0e114efcc290cd2e4df2b68539a [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/share/share_metrics.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
namespace share {
const char kAnyShareStarted[] = "Sharing.AnyShareStartedDesktop";
void LogShareSourceDesktop(ShareSourceDesktop source) {
UMA_HISTOGRAM_ENUMERATION(kAnyShareStarted, source);
}
void RecordSharingHubTimeToShow(base::TimeDelta time) {
UMA_HISTOGRAM_TIMES("Sharing.SharingHubDesktop.TimeToShow", time);
}
} // namespace share