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

Unified Diff: chrome/browser/android/ntp/most_visited_sites_bridge.cc

Issue 2429283003: Desktop NTP metrics: Use ntp_tiles::metrics:: functions (Closed)
Patch Set: review Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/ntp/most_visited_sites_bridge.cc
diff --git a/chrome/browser/android/ntp/most_visited_sites_bridge.cc b/chrome/browser/android/ntp/most_visited_sites_bridge.cc
index 63bbf35446ea317d78152e9924cc2554706e8e3d..1f6845cbd7ba870cc8a4f1ec477ae84a25de4095 100644
--- a/chrome/browser/android/ntp/most_visited_sites_bridge.cc
+++ b/chrome/browser/android/ntp/most_visited_sites_bridge.cc
@@ -234,9 +234,9 @@ void MostVisitedSitesBridge::RecordOpenedMostVisitedItem(
jint index,
jint tile_type,
jint source) {
- ntp_tiles::metrics::RecordClick(index,
- static_cast<MostVisitedTileType>(tile_type),
- static_cast<NTPTileSource>(source));
+ ntp_tiles::metrics::RecordTileClick(
+ index, static_cast<NTPTileSource>(source),
+ static_cast<MostVisitedTileType>(tile_type));
}
// static
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698