Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome/browser/installable/installable_metrics.h

Issue 2778983005: Allow the app banner installability check to run on page load. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
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_BROWSER_INSTALLABLE_INSTALLABLE_METRICS_H_
6 #define CHROME_BROWSER_INSTALLABLE_INSTALLABLE_METRICS_H_
7
8 class InstallableMetrics {
9 public:
10 // This enum backs a UMA histogram and must be treated as append-only.
11 enum InstallabilityCheckStatus {
12 NOT_STARTED,
13 IN_PROGRESS_NON_PWA,
14 IN_PROGRESS_PWA,
15 COMPLETE_NON_PWA,
16 COMPLETE_PWA,
17 MAX,
18 };
19
20 static void RecordMenuOpenHistogram(InstallabilityCheckStatus status);
21 static void RecordMenuItemAddToHomescreenHistogram(
22 InstallabilityCheckStatus status);
23 };
24
25 #endif // CHROME_BROWSER_INSTALLABLE_INSTALLABLE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698