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 dc1df81ea28f2dd45a4f3b6f26d4e018fce78f3e..4e1171ed7a4a75acc56f7d6bd4bfbe1bf9066851 100644 |
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h |
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h |
@@ -29,6 +29,10 @@ class NTPUserDataLogger |
// session to UMA histogram. Called when the user navigates to a URL. |
void EmitThumbnailErrorRate(); |
+ // Logs the type of the suggestions that were shown on this NTP. Called when |
+ // the user navigates to a URL. |
+ void EmitSuggestionsType(); |
+ |
// Logs total number of mouseovers per NTP session to UMA histogram. Called |
// when an NTP tab is about to be deactivated (be it by switching tabs, losing |
// focus or closing the tab/shutting down Chrome), or when the user navigates |
@@ -72,6 +76,10 @@ class NTPUserDataLogger |
// thumbnail image and that caused a fallback to the secondary thumbnail. |
size_t number_of_fallback_thumbnails_used_; |
+ // True if at least one iframe came from a server-side suggestion. In |
+ // practice, either all the iframes are server-side suggestions or none are. |
+ bool server_side_suggestions_; |
+ |
// The URL of this New Tab Page - varies based on NTP version. |
GURL ntp_url_; |