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

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

Issue 23874005: Ensure the 1993 NTP logs to UMA Most Visited tiles that use the fallback thumbnail instead of the p… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered asvitkine comments Created 7 years, 3 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 41cd59d5fe7b594f498876b8963b1ea18cd38341..dc1df81ea28f2dd45a4f3b6f26d4e018fce78f3e 100644
--- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
+++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
@@ -64,6 +64,14 @@ class NTPUserDataLogger
// of a thumbnail image.
size_t number_of_thumbnail_errors_;
+ // Total number of attempts made to load thumbnail images while providing a
+ // fallback thumbnail for this NTP session.
+ size_t number_of_fallback_thumbnails_requested_;
+
+ // Total number of errors that occurred while trying to load the primary
+ // thumbnail image and that caused a fallback to the secondary thumbnail.
+ size_t number_of_fallback_thumbnails_used_;
+
// The URL of this New Tab Page - varies based on NTP version.
GURL ntp_url_;
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_util.js ('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