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

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: TODO 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 f17ada84dadb535cc5aa1b2ed3b2615c8ec50d84..d2a5446a4d48fe252d9fdefebb821c073d144eea 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(

Powered by Google App Engine
This is Rietveld 408576698