diff options
author | newt <newt@chromium.org> | 2015-10-01 13:09:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-01 20:10:35 +0000 |
commit | 2a47ce7d25f4ccbe62d02e1dd90961cc526bc036 (patch) | |
tree | 6524a577f151ab374106f3e4e4edc28c7cf7a493 /chrome/chrome.gyp | |
parent | 36c3845d2d05a67241376b68cc6e40ab6d4848cb (diff) | |
download | chromium_src-2a47ce7d25f4ccbe62d02e1dd90961cc526bc036.zip chromium_src-2a47ce7d25f4ccbe62d02e1dd90961cc526bc036.tar.gz chromium_src-2a47ce7d25f4ccbe62d02e1dd90961cc526bc036.tar.bz2 |
Add UMA stats for which icon types are shown and clicked on the NTP.
This adds two new histograms (with suffixes):
NewTabPage.TileType.<source> - Records the type of each most visited
tile that's shown on the NTP. Valid values are IconReal, IconColor,
IconDefault, ThumbnailLocal, ThumbnailServer, ThumbnailDefault.
NewTabPage.TileTypeClicked.<source> - Records the type of each most
visited tile that the user clicks on. Same values as above.
In both cases <source> can be one of "client", "server8", "popular", or
another value indicating the source of the most visited suggestions.
This CL also refactors a fair amount to support this change:
- There's a new C++/Java shared enum called MostVisitedTileType, with
the same values as the new histograms.
- Each MostVisitedItem in Java stores its tile type.
- NewTabPage.IconsGray and related histograms are now recorded in
most_visited_sites.cc alongside NewTabPage.NumberOfGrayTiles, since
these histograms are equivalent (one is for the icon NTP; one for the
thumbnail NTP)
BUG=536294
Review URL: https://codereview.chromium.org/1373983003
Cr-Commit-Position: refs/heads/master@{#351869}
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index f6085e2..907f914 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -574,6 +574,7 @@ 'profile_account_management_metrics_java', 'content_setting_java', 'content_settings_type_java', + 'most_visited_tile_type_java', 'page_info_connection_type_java', 'resource_id_java', 'tab_load_status_java', |