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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h

Issue 2117373002: Cleanup: Change LogMostVisitedImpression|Navigation APIs to take an enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ntp_uma_cleanup
Patch Set: rebase Created 4 years, 5 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: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
diff --git a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
index 40bd851b0725bf627e5560d52076c562c7396350..27f858d3d51aa9932a7b69c727177a54bc06638d 100644
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
@@ -41,11 +41,11 @@ class NTPUserDataLogger
// this event happened.
void LogEvent(NTPLoggingEventType event, base::TimeDelta time);
- // Logs an impression on one of the Most Visited tiles by a given provider.
- void LogMostVisitedImpression(int position, const base::string16& provider);
+ // Logs an impression on one of the NTP tiles by a given source.
+ void LogMostVisitedImpression(int position, NTPLoggingTileSource tile_source);
- // Logs a navigation on one of the Most Visited tiles by a given provider.
- void LogMostVisitedNavigation(int position, const base::string16& provider);
+ // Logs a navigation on one of the NTP tiles by a given source.
+ void LogMostVisitedNavigation(int position, NTPLoggingTileSource tile_source);
// content::WebContentsObserver override
void NavigationEntryCommitted(
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | 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