blob: 55a5cfd3d406a1ba94768be8a910a353802fcc64 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace send_tab_to_self {
// Metrics for measuring notification interaction.
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
extern const char kNotificationStatusHistogram[];
enum class SendTabToSelfNotification {
// The user opened a tab from a notification.
kOpened = 0,
// The user closed a notification.
kDismissed = 1,
// A notification was shown from a remotely added entry.
kShown = 2,
// A notification was dismissed remotely.
kDismissedRemotely = 3,
// Update kMaxValue when new enums are added.
kMaxValue = kDismissedRemotely,
void RecordNotificationHistogram(SendTabToSelfNotification status);
} // namespace send_tab_to_self