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

Side by Side Diff: chrome/browser/engagement/site_engagement_metrics.h

Issue 2633283002: Add a new histogram for EngagementScore to check whether it's zero (Closed)
Patch Set: Changed histogram.xml description and owner order. Also changed the method of counting zero. Created 3 years, 11 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 | « no previous file | chrome/browser/engagement/site_engagement_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_ 5 #ifndef CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_
6 #define CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_ 6 #define CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 FRIEND_TEST_ALL_PREFIXES(SiteEngagementHelperTest, 51 FRIEND_TEST_ALL_PREFIXES(SiteEngagementHelperTest,
52 MixedInputEngagementAccumulation); 52 MixedInputEngagementAccumulation);
53 static const char kTotalEngagementHistogram[]; 53 static const char kTotalEngagementHistogram[];
54 static const char kTotalOriginsHistogram[]; 54 static const char kTotalOriginsHistogram[];
55 static const char kMeanEngagementHistogram[]; 55 static const char kMeanEngagementHistogram[];
56 static const char kMedianEngagementHistogram[]; 56 static const char kMedianEngagementHistogram[];
57 static const char kEngagementPercentageForHTTPSHistogram[]; 57 static const char kEngagementPercentageForHTTPSHistogram[];
58 static const char kEngagementScoreHistogram[]; 58 static const char kEngagementScoreHistogram[];
59 static const char kEngagementScoreHistogramHTTP[]; 59 static const char kEngagementScoreHistogramHTTP[];
60 static const char kEngagementScoreHistogramHTTPS[]; 60 static const char kEngagementScoreHistogramHTTPS[];
61 static const char kEngagementScoreHistogramIsZero[];
61 static const char kOriginsWithMaxEngagementHistogram[]; 62 static const char kOriginsWithMaxEngagementHistogram[];
62 static const char kOriginsWithMaxDailyEngagementHistogram[]; 63 static const char kOriginsWithMaxDailyEngagementHistogram[];
63 static const char kPercentOriginsWithMaxEngagementHistogram[]; 64 static const char kPercentOriginsWithMaxEngagementHistogram[];
64 static const char kEngagementTypeHistogram[]; 65 static const char kEngagementTypeHistogram[];
65 static const char kEngagementBucketHistogramBase[]; 66 static const char kEngagementBucketHistogramBase[];
66 static const char kDaysSinceLastShortcutLaunchHistogram[]; 67 static const char kDaysSinceLastShortcutLaunchHistogram[];
67 static const char kScoreDecayedFromHistogram[]; 68 static const char kScoreDecayedFromHistogram[];
68 static const char kScoreDecayedToHistogram[]; 69 static const char kScoreDecayedToHistogram[];
69 70
70 static std::vector<std::string> GetEngagementBucketHistogramNames(); 71 static std::vector<std::string> GetEngagementBucketHistogramNames();
71 }; 72 };
72 73
73 #endif // CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_ 74 #endif // CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/engagement/site_engagement_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698