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

Issue 1380933002: Set exp id in the CP header if user is in Lo-Fi control. (Closed)

Created:
5 years, 2 months ago by tbansal1
Modified:
5 years, 2 months ago
Reviewers:
bengr, megjablon
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set exp id in the CP header if user is in Lo-Fi control. This will help us do performance analysis on the web pages. BUG=538208 Committed: https://crrev.com/5e0bd99c4011ab4592eb2ecefdae4430d08fdc41 Cr-Commit-Position: refs/heads/master@{#352095}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Rebased, addressed comment #

Messages

Total messages: 14 (4 generated)
tbansal1
ptal. thanks.
5 years, 2 months ago (2015-10-01 01:02:40 UTC) #2
megjablon
https://chromiumcodereview.appspot.com/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc (right): https://chromiumcodereview.appspot.com/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc#newcode174 components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc:174: bool regenerate = false; Do we need this? It's ...
5 years, 2 months ago (2015-10-01 18:54:44 UTC) #4
tbansal1
ptal. thanks. https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc (right): https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc#newcode174 components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc:174: bool regenerate = false; On 2015/10/01 18:54:44, ...
5 years, 2 months ago (2015-10-02 16:50:43 UTC) #5
megjablon
lgtm % nit https://codereview.chromium.org/1380933002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1380933002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode225 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:225: // if user is in Control ...
5 years, 2 months ago (2015-10-02 17:03:51 UTC) #6
tbansal1
https://codereview.chromium.org/1380933002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1380933002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode225 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:225: // if user is in Control group, and connection ...
5 years, 2 months ago (2015-10-02 17:35:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380933002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380933002/40001
5 years, 2 months ago (2015-10-02 18:51:48 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-02 19:00:07 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5e0bd99c4011ab4592eb2ecefdae4430d08fdc41 Cr-Commit-Position: refs/heads/master@{#352095}
5 years, 2 months ago (2015-10-02 19:01:11 UTC) #12
bengr
https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode224 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:224: // Returns true if the session is in Lo-Fi ...
5 years, 2 months ago (2015-10-02 19:34:29 UTC) #13
tbansal1
5 years, 2 months ago (2015-10-02 20:28:38 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_p...
File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
(right):

https://codereview.chromium.org/1380933002/diff/1/components/data_reduction_p...
components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:226:
bool IsInLoFiControlExperiment() const;
On 2015/10/02 19:34:29, bengr wrote:
> I don't like the name, probably because I don't like the function because it
> combines concerns. I think there should be two methods:
> IsInLoFiExperimentControlGroup() and
> IsLofiActive()

It will be:
IsInLoFiControlFieldTrial() && IsLofiActive() && !IsLofiActiveViaFlags()

I thought it would be better to keep this logic within config.cc, and not spread
it out to different files. wdyt?

Powered by Google App Engine
This is Rietveld 408576698