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

Unified Diff: components/ntp_snippets/content_suggestions_metrics.h

Issue 2886723002: [Zine] Add a metric to record number of visible sections on NTP. (Closed)
Patch Set: clean rebase. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/content_suggestions_metrics.h
diff --git a/components/ntp_snippets/content_suggestions_metrics.h b/components/ntp_snippets/content_suggestions_metrics.h
index 3bfff0ec7a5c86af956bcfcdb6cf064414e8062d..e31b77136331b8a0fbeeb201672359419d0146ff 100644
--- a/components/ntp_snippets/content_suggestions_metrics.h
+++ b/components/ntp_snippets/content_suggestions_metrics.h
@@ -16,7 +16,8 @@ namespace ntp_snippets {
namespace metrics {
void OnPageShown(
- const std::vector<std::pair<Category, int>>& suggestions_per_category);
+ const std::vector<std::pair<Category, int>>& suggestions_per_category,
+ int visible_categories_count);
// Should only be called once per NTP for each suggestion.
void OnSuggestionShown(int global_position,

Powered by Google App Engine
This is Rietveld 408576698