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 2667243003: Adding a parameter for previews NQE triggering threshold (Closed)

Created:
3 years, 10 months ago by RyanSturm
Modified:
3 years, 10 months ago
Reviewers:
tbansal1
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding a parameter for previews NQE triggering threshold This paramater allows triggering previews at different EffectiveConnectionTypes. Currently, previews are triggered only on SLOW_2G, but in the future we may wish to change it to 2G without needing to wait for release cycles. This change also adds some basic testing around all of the previews params. BUG=687757 Review-Url: https://codereview.chromium.org/2667243003 Cr-Commit-Position: refs/heads/master@{#447693} Committed: https://chromium.googlesource.com/chromium/src/+/34be2d9f24b8c8b4056eba4d477321762bb783df

Patch Set 1 #

Total comments: 4

Patch Set 2 : tbansal comments #

Patch Set 3 : ios-sim fix #

Patch Set 4 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -3 lines) Patch
M components/previews/core/previews_experiments.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/previews/core/previews_experiments.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M components/previews/core/previews_experiments_unittest.cc View 1 2 3 2 chunks +144 lines, -2 lines 0 comments Download
M components/previews/core/previews_io_data.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (25 generated)
RyanSturm
tbansal: PTAL
3 years, 10 months ago (2017-02-02 00:05:58 UTC) #4
tbansal1
lgtm % nits. Thanks for doing this. https://codereview.chromium.org/2667243003/diff/1/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2667243003/diff/1/components/previews/core/previews_experiments.cc#newcode170 components/previews/core/previews_experiments.cc:170: if (!base::StringToInt(param_value, ...
3 years, 10 months ago (2017-02-02 00:13:40 UTC) #5
RyanSturm
https://codereview.chromium.org/2667243003/diff/1/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2667243003/diff/1/components/previews/core/previews_experiments.cc#newcode170 components/previews/core/previews_experiments.cc:170: if (!base::StringToInt(param_value, &effective_type_value)) { On 2017/02/02 00:13:40, tbansal1 wrote: ...
3 years, 10 months ago (2017-02-02 00:22:28 UTC) #10
tbansal1
lgtm.
3 years, 10 months ago (2017-02-02 00:25:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2667243003/100001
3 years, 10 months ago (2017-02-02 02:21:02 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 03:26:17 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/34be2d9f24b8c8b4056eba4d4773...

Powered by Google App Engine
This is Rietveld 408576698