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

Issue 121293002: Add new prerender origin type for <link rel=next ...> launched prerenders. (Closed)

Created:
6 years, 12 months ago by gavinp
Modified:
6 years, 10 months ago
CC:
chromium-reviews, davidben+watch_chromium.org, cbentzel+watch_chromium.org, jar (doing other things), tburkard+watch_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, asvitkine+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Add new prerender origin type for <link rel=next ...> launched prerenders. By adding rel=next as an origin, we get histogram reporting on many of our existing histograms. The one tricky decision is that a prerender can have multiple rel types (both next and prerender), and that by origin we currently distinguish samedomain vs crossdomain. In this CL we treat a prerender with both next and prerender rel types as rel=prerender, and we do not distinguish cross vs same domain on rel=next prerenders. R=tburkard,davidben,isherman@chromium.org BUG=329963 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251139

Patch Set 1 #

Patch Set 2 : fix unit tests #

Total comments: 1

Patch Set 3 : rebase to trunk #

Patch Set 4 : rebase to upstream fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
M chrome/browser/prerender/prerender_histograms.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_link_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_origin.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_origin.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
gavinp
Timo, David, can you look this over before I invite in a histogram reviewer? I'm ...
6 years, 12 months ago (2013-12-26 19:47:17 UTC) #1
davidben
LGTM. Treating prerender/next as just prerender seems reasonable. I imagine "prerender next" will never actually ...
6 years, 11 months ago (2014-01-04 00:19:46 UTC) #2
gavinp
+isherman isherman: PTAL. Now rebased to trunk, and set downstream of https://codereview.chromium.org/98603015/ .
6 years, 10 months ago (2014-02-07 20:58:32 UTC) #3
Ilya Sherman
histograms lgtm
6 years, 10 months ago (2014-02-07 21:37:38 UTC) #4
gavinp
The CQ bit was checked by gavinp@chromium.org
6 years, 10 months ago (2014-02-13 13:51:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/121293002/430001
6 years, 10 months ago (2014-02-13 13:52:00 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 13:52:04 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/prerender/prerender_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-13 13:52:05 UTC) #8
gavinp
The CQ bit was checked by gavinp@chromium.org
6 years, 10 months ago (2014-02-13 17:07:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/121293002/700001
6 years, 10 months ago (2014-02-13 17:09:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/121293002/700001
6 years, 10 months ago (2014-02-13 19:50:18 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 21:53:39 UTC) #12
Message was sent while issue was closed.
Change committed as 251139

Powered by Google App Engine
This is Rietveld 408576698