// 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 "components/send_tab_to_self/metrics_util.h" #include "base/metrics/histogram_functions.h" #include "base/strings/strcat.h" namespace send_tab_to_self { namespace { // Status of received STTS notifications. // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. // Keep in sync with SendTabToSelfNotificationStatus in enums.xml. enum class NotificationStatus { … }; } // namespace void RecordNotificationShown() { … } void RecordNotificationDismissed() { … } void RecordNotificationOpened() { … } void RecordNotificationTimedOut() { … } void RecordNotificationDismissReasonUnknown() { … } void RecordNotificationThrottled() { … } } // namespace send_tab_to_self