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

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

Issue 2778983005: Allow the app banner installability check to run on page load. (Closed)
Patch Set: Address comments 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
« no previous file with comments | « chrome/browser/installable/installable_metrics.h ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/installable/installable_metrics.h"
6
7 #include "base/metrics/histogram_macros.h"
8
9 void InstallableMetrics::RecordMenuOpenHistogram(
10 InstallabilityCheckStatus status) {
11 UMA_HISTOGRAM_ENUMERATION("Webapp.InstallabilityCheckStatus.MenuOpen", status,
12 InstallabilityCheckStatus::COUNT);
13 }
14
15 void InstallableMetrics::RecordMenuItemAddToHomescreenHistogram(
16 InstallabilityCheckStatus status) {
17 UMA_HISTOGRAM_ENUMERATION(
18 "Webapp.InstallabilityCheckStatus.MenuItemAddToHomescreen", status,
19 InstallabilityCheckStatus::COUNT);
20 }
OLDNEW
« no previous file with comments | « chrome/browser/installable/installable_metrics.h ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698