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

Unified Diff: components/ntp_snippets/content_suggestions_metrics.h

Issue 2668063004: [NTP::SectionOrder] Track category index after it has been moved up. (Closed)
Patch Set: tschumann@ comment. Created 3 years, 10 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 12e2b46136e03bc8bf3545bdeb833d6054d0af3c..6a79e5e8601eaf18b5c2c481d8317aff308f9525 100644
--- a/components/ntp_snippets/content_suggestions_metrics.h
+++ b/components/ntp_snippets/content_suggestions_metrics.h
@@ -49,6 +49,8 @@ void OnSuggestionDismissed(int global_position,
void OnSuggestionTargetVisited(Category category, base::TimeDelta visit_time);
+void OnCategoryMovedUp(int new_index);
+
// Should only be called once per NTP for each "more" button.
void OnMoreButtonShown(Category category, int position);

Powered by Google App Engine
This is Rietveld 408576698