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

Issue 426093002: Adds support for thumbnail click pings for Most Visited (Closed)

Created:
6 years, 4 months ago by fserb
Modified:
6 years, 4 months ago
Reviewers:
Mathieu, Jered
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds support for thumbnail click pings for Most Visited We use sendBeacon when enabled, otherwise fallback to "a ping". BUG=398590 TEST=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287161

Patch Set 1 #

Patch Set 2 : Cleanup code to support generic ping URLs from same origin #

Patch Set 3 : Force the same origin for URL ping #

Patch Set 4 : Cleanup #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Total comments: 2

Patch Set 7 : Only ping for server suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M chrome/browser/resources/local_ntp/most_visited_util.js View 1 2 3 4 5 6 5 chunks +32 lines, -3 lines 0 comments Download
M chrome/browser/search/most_visited_iframe_source.cc View 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
fserb
6 years, 4 months ago (2014-07-29 21:11:58 UTC) #1
Mathieu
-samarth, +jered Not quite ready for review, please ping again when it is :)
6 years, 4 months ago (2014-07-29 21:18:52 UTC) #2
fserb
On 2014/07/29 21:18:52, Mathieu Perreault wrote: > -samarth, +jered > > Not quite ready for ...
6 years, 4 months ago (2014-07-29 21:42:52 UTC) #3
Mathieu
Have a look! https://codereview.chromium.org/426093002/diff/80001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/426093002/diff/80001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode65 chrome/browser/resources/local_ntp/most_visited_util.js:65: * @const You can simplify to ...
6 years, 4 months ago (2014-07-30 14:12:54 UTC) #4
fserb
thanks for the comments! :) https://codereview.chromium.org/426093002/diff/80001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/426093002/diff/80001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode65 chrome/browser/resources/local_ntp/most_visited_util.js:65: * @const On 2014/07/30 ...
6 years, 4 months ago (2014-07-31 18:18:47 UTC) #5
Mathieu
On 2014/07/31 18:18:47, fserb wrote: > thanks for the comments! :) > > https://codereview.chromium.org/426093002/diff/80001/chrome/browser/resources/local_ntp/most_visited_util.js > ...
6 years, 4 months ago (2014-07-31 18:22:23 UTC) #6
Mathieu
https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode129 chrome/browser/resources/local_ntp/most_visited_util.js:129: if (params.ping) { A possibility, while avoiding a separate ...
6 years, 4 months ago (2014-07-31 18:56:05 UTC) #7
Jered
https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js File chrome/browser/resources/local_ntp/most_visited_util.js (right): https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode129 chrome/browser/resources/local_ntp/most_visited_util.js:129: if (params.ping) { Can you provide a bit more ...
6 years, 4 months ago (2014-08-01 16:09:44 UTC) #8
Jered
On 2014/08/01 16:09:44, Jered wrote: > https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js > File chrome/browser/resources/local_ntp/most_visited_util.js (right): > > https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js#newcode129 > ...
6 years, 4 months ago (2014-08-01 16:12:22 UTC) #9
fserb
On 2014/08/01 16:12:22, Jered wrote: > On 2014/08/01 16:09:44, Jered wrote: > > > https://codereview.chromium.org/426093002/diff/100001/chrome/browser/resources/local_ntp/most_visited_util.js ...
6 years, 4 months ago (2014-08-01 18:17:24 UTC) #10
Jered
On 2014/08/01 18:17:24, fserb wrote: > On 2014/08/01 16:12:22, Jered wrote: > > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 18:22:19 UTC) #11
fserb
On 2014/08/01 18:22:19, Jered wrote: > On 2014/08/01 18:17:24, fserb wrote: > > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 18:29:10 UTC) #12
fserb
The CQ bit was checked by fserb@chromium.org
6 years, 4 months ago (2014-08-01 18:34:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fserb@chromium.org/426093002/120001
6 years, 4 months ago (2014-08-01 18:35:03 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-02 06:02:54 UTC) #15
Message was sent while issue was closed.
Change committed as 287161

Powered by Google App Engine
This is Rietveld 408576698