Remove EWK_BRINGUPS for M120 #3
[platform/framework/web/chromium-efl.git] / chrome / app / notification_metrics.h
1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_APP_NOTIFICATION_METRICS_H_
6 #define CHROME_APP_NOTIFICATION_METRICS_H_
7
8 // Describes from which app the notification action came for. This enum is used
9 // in UMA. Do not delete or re-order entries. New entries should only be added
10 // at the end.
11 enum class NotificationActionSource {
12   // Action for the browser app, usually from a banner style notification.
13   kBrowser = 0,
14   // Action for the helper app, usually from an alert style notification.
15   kHelperApp = 1,
16   kMaxValue = kHelperApp,
17 };
18
19 // Logs to UMA that we got launched via the OS to handle a notification action.
20 void LogLaunchedViaNotificationAction(NotificationActionSource source);
21
22 #endif  // CHROME_APP_NOTIFICATION_METRICS_H_