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

Issue 1455333004: Add "q=preview" directive on main frame requests on poor networks (Closed)

Created:
5 years, 1 month ago by megjablon
Modified:
5 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org, bengr
Base URL:
https://chromium.googlesource.com/chromium/src.git@deciderAddLoFiHeader
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add "q=preview" directive on main frame requests on poor networks Similar to Lo-Fi, when a bad connection is detected, Chrome should add the "q=preview" directive in the ChromeProxy header. However, this should only be added for main frame requests. BUG=558632 Committed: https://crrev.com/0a3af14a0cd39a7bc93c2b9c4993217f702e138a Cr-Commit-Position: refs/heads/master@{#361459}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : tbansal comments #

Total comments: 10

Patch Set 3 : thestig comments #

Total comments: 2

Patch Set 4 : limit flag channels #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -54 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/content/browser/content_lofi_decider.cc View 1 2 3 chunks +15 lines, -1 line 0 comments Download
M components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc View 1 7 chunks +61 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 2 chunks +11 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 2 4 chunks +13 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h View 1 2 1 chunk +10 lines, -9 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc View 1 2 4 chunks +36 lines, -31 lines 0 comments Download
M components/data_reduction_proxy/core/common/lofi_decider.h View 1 chunk +4 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (12 generated)
megjablon
5 years, 1 month ago (2015-11-20 23:25:32 UTC) #5
tbansal1
https://codereview.chromium.org/1455333004/diff/40001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc File components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/1455333004/diff/40001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc#newcode30 components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc:30: const char kPreview[] = "Preview"; May be change the ...
5 years, 1 month ago (2015-11-23 22:07:05 UTC) #6
megjablon
thestig: chrome/* https://chromiumcodereview.appspot.com/1455333004/diff/40001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc File components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc (right): https://chromiumcodereview.appspot.com/1455333004/diff/40001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc#newcode30 components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc:30: const char kPreview[] = "Preview"; On 2015/11/23 ...
5 years, 1 month ago (2015-11-24 01:30:41 UTC) #9
tbansal1
lgtm
5 years, 1 month ago (2015-11-24 01:45:19 UTC) #10
Lei Zhang
https://chromiumcodereview.appspot.com/1455333004/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/1455333004/diff/80001/chrome/browser/about_flags.cc#newcode1786 chrome/browser/about_flags.cc:1786: {"enable-data-reduction-proxy-lo-fi-preview", I think the bots are complaining about the ...
5 years, 1 month ago (2015-11-24 02:08:35 UTC) #11
megjablon
asvitkine: histograms.xml https://chromiumcodereview.appspot.com/1455333004/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/1455333004/diff/80001/chrome/browser/about_flags.cc#newcode1786 chrome/browser/about_flags.cc:1786: {"enable-data-reduction-proxy-lo-fi-preview", On 2015/11/24 02:08:35, Lei Zhang wrote: ...
5 years ago (2015-11-24 18:41:58 UTC) #14
Lei Zhang
lgtm
5 years ago (2015-11-24 18:47:08 UTC) #15
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/1455333004/diff/90012/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/1455333004/diff/90012/chrome/browser/about_flags.cc#newcode1791 chrome/browser/about_flags.cc:1791: data_reduction_proxy::switches::kEnableDataReductionProxyLoFiPreview)}, Given this is a new flag, I suggest ...
5 years ago (2015-11-24 18:57:07 UTC) #17
megjablon
https://chromiumcodereview.appspot.com/1455333004/diff/90012/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/1455333004/diff/90012/chrome/browser/about_flags.cc#newcode1791 chrome/browser/about_flags.cc:1791: data_reduction_proxy::switches::kEnableDataReductionProxyLoFiPreview)}, On 2015/11/24 18:57:06, Alexei Svitkine (slow) wrote: > ...
5 years ago (2015-11-24 19:38:12 UTC) #19
Alexei Svitkine (slow)
fair enough, lgtm
5 years ago (2015-11-24 19:45:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455333004/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455333004/130001
5 years ago (2015-11-24 20:18:55 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:130001)
5 years ago (2015-11-24 21:54:59 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-24 21:55:59 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0a3af14a0cd39a7bc93c2b9c4993217f702e138a
Cr-Commit-Position: refs/heads/master@{#361459}

Powered by Google App Engine
This is Rietveld 408576698