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

Issue 1463583003: Move adding Lo-Fi directives from DRPRequestOptions to ContentLoFiDecider (Closed)

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

Description

Move adding Lo-Fi directives from DRPRequestOptions to ContentLoFiDecider All Lo-Fi directives for the "Chrome-Proxy" header should be added by the ContentLoFiDecider. This includes "q=low" and "exp=lofi_active_control". BUG=539934 Committed: https://crrev.com/563061cf9adac13722ec27c88ed6806c99462678 Cr-Commit-Position: refs/heads/master@{#361386}

Patch Set 1 : #

Total comments: 20

Patch Set 2 : addressing comments #

Total comments: 10

Patch Set 3 : addressing tbansal comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -301 lines) Patch
M components/data_reduction_proxy/content/browser/content_lofi_decider.h View 1 2 chunks +8 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/content/browser/content_lofi_decider.cc View 1 2 2 chunks +57 lines, -1 line 0 comments Download
M components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc View 1 2 4 chunks +117 lines, -6 lines 1 comment Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h View 6 chunks +5 lines, -16 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc View 5 chunks +6 lines, -65 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc View 8 chunks +19 lines, -205 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/lofi_decider.h View 1 2 chunks +13 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
megjablon
5 years, 1 month ago (2015-11-20 18:10:21 UTC) #5
tbansal1
https://chromiumcodereview.appspot.com/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc File components/data_reduction_proxy/content/browser/content_lofi_decider.cc (right): https://chromiumcodereview.appspot.com/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc#newcode15 components/data_reduction_proxy/content/browser/content_lofi_decider.cc:15: const char kLoFiHeader[] = "q=low"; Is it possible to ...
5 years, 1 month ago (2015-11-20 21:56:58 UTC) #8
sclittle
I'll defer this review to tbansal, just added a quick comment. https://chromiumcodereview.appspot.com/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc File components/data_reduction_proxy/content/browser/content_lofi_decider.cc (right): ...
5 years, 1 month ago (2015-11-20 22:59:11 UTC) #9
megjablon
https://chromiumcodereview.appspot.com/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc File components/data_reduction_proxy/content/browser/content_lofi_decider.cc (right): https://chromiumcodereview.appspot.com/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc#newcode15 components/data_reduction_proxy/content/browser/content_lofi_decider.cc:15: const char kLoFiHeader[] = "q=low"; On 2015/11/20 21:56:58, tbansal1 ...
5 years, 1 month ago (2015-11-20 23:14:50 UTC) #10
tbansal1
https://codereview.chromium.org/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc File components/data_reduction_proxy/content/browser/content_lofi_decider.cc (right): https://codereview.chromium.org/1463583003/diff/60001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc#newcode47 components/data_reduction_proxy/content/browser/content_lofi_decider.cc:47: params::IsIncludedInLoFiEnabledFieldTrial(); On 2015/11/20 23:14:50, megjablon wrote: > On 2015/11/20 ...
5 years ago (2015-11-23 20:39:52 UTC) #11
megjablon
https://chromiumcodereview.appspot.com/1463583003/diff/80001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc File components/data_reduction_proxy/content/browser/content_lofi_decider.cc (right): https://chromiumcodereview.appspot.com/1463583003/diff/80001/components/data_reduction_proxy/content/browser/content_lofi_decider.cc#newcode24 components/data_reduction_proxy/content/browser/content_lofi_decider.cc:24: // trial "Control" group. Check that the user is ...
5 years ago (2015-11-23 20:53:55 UTC) #12
tbansal1
lgtm
5 years ago (2015-11-23 20:55:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463583003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463583003/100001
5 years ago (2015-11-24 17:57:58 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years ago (2015-11-24 18:22:20 UTC) #16
commit-bot: I haz the power
5 years ago (2015-11-24 18:23:22 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/563061cf9adac13722ec27c88ed6806c99462678
Cr-Commit-Position: refs/heads/master@{#361386}

Powered by Google App Engine
This is Rietveld 408576698