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

Issue 9958116: Adds the NewTabPage.SuggestedSitesAction stat. (Closed)

Created:
8 years, 8 months ago by macourteau
Modified:
8 years, 8 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, arv (Not doing code reviews), rudygalfi
Visibility:
Public.

Description

Adds the NewTabPage.SuggestedSitesAction stat. BUG=118427 TEST=With the "NTP Suggestions page" flag enabled, go to the NTP and switch between panes (e.g. Apps and Suggested), then click on a link in the Suggestd pane. Go back to the NTP and type a URL in the Omnibox. Open a new tab and close it. Then, go to about:histograms and verify that there are data points at least for values 1, 11, 12 and 13 in the NewTabPage.SuggestedSitesAction stat. Other values are OK, as long as these are present. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132249

Patch Set 1 #

Patch Set 2 : Removed static variable that required an exit-time destructor. #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -2 lines) Patch
M chrome/browser/resources/ntp4/suggestions_page.js View 1 2 3 4 5 4 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_page_handler.h View 1 2 3 4 5 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/suggestions_page_handler.cc View 1 2 3 4 5 4 chunks +72 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
macourteau
8 years, 8 months ago (2012-04-03 15:18:51 UTC) #1
Evan Stade
http://codereview.chromium.org/9958116/diff/5/chrome/browser/resources/ntp4/suggestions_page.js File chrome/browser/resources/ntp4/suggestions_page.js (right): http://codereview.chromium.org/9958116/diff/5/chrome/browser/resources/ntp4/suggestions_page.js#newcode137 chrome/browser/resources/ntp4/suggestions_page.js:137: chrome.send('suggestedSitesAction', [1]); you need an enum, don't just toss ...
8 years, 8 months ago (2012-04-03 22:52:33 UTC) #2
rudygalfi
The goal of suggestions is to be highly predictive. If the user is choosing not ...
8 years, 8 months ago (2012-04-04 16:26:51 UTC) #3
macourteau
http://codereview.chromium.org/9958116/diff/5/chrome/browser/resources/ntp4/suggestions_page.js File chrome/browser/resources/ntp4/suggestions_page.js (right): http://codereview.chromium.org/9958116/diff/5/chrome/browser/resources/ntp4/suggestions_page.js#newcode137 chrome/browser/resources/ntp4/suggestions_page.js:137: chrome.send('suggestedSitesAction', [1]); On 2012/04/03 22:52:33, Evan Stade wrote: > ...
8 years, 8 months ago (2012-04-04 19:41:09 UTC) #4
Evan Stade
https://chromiumcodereview.appspot.com/9958116/diff/9001/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc File chrome/browser/ui/webui/ntp/suggestions_page_handler.cc (right): https://chromiumcodereview.appspot.com/9958116/diff/9001/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode46 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:46: SUGGESTED_SITES_ACTION_CLICKED_SUGGESTED_TILE, comments for these. I'm also still a bit ...
8 years, 8 months ago (2012-04-04 20:33:35 UTC) #5
macourteau
re: logging Omnibox navigation: that's probably the most frequent exit point from suggestions, and we ...
8 years, 8 months ago (2012-04-04 21:00:36 UTC) #6
Evan Stade
if this is what you want, why don't you create a histogram of all PageTransition ...
8 years, 8 months ago (2012-04-09 19:46:32 UTC) #7
macourteau
On 2012/04/09 19:46:32, Evan Stade wrote: > if this is what you want, why don't ...
8 years, 8 months ago (2012-04-11 20:06:19 UTC) #8
Evan Stade
http://codereview.chromium.org/9958116/diff/25004/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc File chrome/browser/ui/webui/ntp/suggestions_page_handler.cc (right): http://codereview.chromium.org/9958116/diff/25004/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode79 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:79: content::PageTransitionStripQualifier(entry->GetTransitionType()); 2 more spaces indent http://codereview.chromium.org/9958116/diff/25004/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode82 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:82: UMA_HISTOGRAM_ENUMERATION("NewTabPage.SuggestedSitesAction", action_id, ...
8 years, 8 months ago (2012-04-12 03:30:53 UTC) #9
macourteau
http://codereview.chromium.org/9958116/diff/25004/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc File chrome/browser/ui/webui/ntp/suggestions_page_handler.cc (right): http://codereview.chromium.org/9958116/diff/25004/chrome/browser/ui/webui/ntp/suggestions_page_handler.cc#newcode79 chrome/browser/ui/webui/ntp/suggestions_page_handler.cc:79: content::PageTransitionStripQualifier(entry->GetTransitionType()); On 2012/04/12 03:30:53, Evan Stade wrote: > 2 ...
8 years, 8 months ago (2012-04-12 13:59:43 UTC) #10
Evan Stade
this code LGTM, but I will point out that to analyze this UMA you will ...
8 years, 8 months ago (2012-04-13 16:59:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/macourteau@chromium.org/9958116/31001
8 years, 8 months ago (2012-04-13 17:53:02 UTC) #12
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 19:53:28 UTC) #13
Change committed as 132249

Powered by Google App Engine
This is Rietveld 408576698