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

Issue 2537563002: Making offline previews freshness configurable (Closed)

Created:
4 years ago by RyanSturm
Modified:
4 years ago
Reviewers:
jianli, tbansal1
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Making offline previews freshness configurable This makes the freshness (e.g. the amount of time since download that the page may be shown as a preview) of offline previews controllable as a field trial param. This also sets the default back to 7 days, which was changed during the offline page refactor that moved the code from the UI thread to the IO thread. BUG=669093 Committed: https://crrev.com/e42c5acc8c61a87e6a72352d2428b3f477bd73c1 Cr-Commit-Position: refs/heads/master@{#435251}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M chrome/browser/android/offline_pages/offline_page_request_job.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/previews/core/previews_experiments.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/previews/core/previews_experiments.cc View 2 chunks +14 lines, -0 lines 4 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (15 generated)
RyanSturm
jainli, tbansal: PTAL I plan to merge this to M56
4 years ago (2016-11-29 17:51:09 UTC) #11
tbansal1
lgtm % minor nit. https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc#newcode167 components/previews/core/previews_experiments.cc:167: return base::TimeDelta::FromDays(duration); nit: Add: DCHECK_LE(0, ...
4 years ago (2016-11-29 18:05:38 UTC) #12
RyanSturm
https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc#newcode167 components/previews/core/previews_experiments.cc:167: return base::TimeDelta::FromDays(duration); On 2016/11/29 18:05:38, tbansal1 wrote: > nit: ...
4 years ago (2016-11-29 18:22:19 UTC) #13
jianli
lgtm https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc#newcode165 components/previews/core/previews_experiments.cc:165: return base::TimeDelta::FromDays(7); nit: Would it be simpler to ...
4 years ago (2016-11-29 22:28:44 UTC) #14
RyanSturm
Thanks for the review. https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc File components/previews/core/previews_experiments.cc (right): https://codereview.chromium.org/2537563002/diff/20001/components/previews/core/previews_experiments.cc#newcode165 components/previews/core/previews_experiments.cc:165: return base::TimeDelta::FromDays(7); On 2016/11/29 22:28:43, ...
4 years ago (2016-11-29 22:43:01 UTC) #15
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/2537563002/20001
4 years ago (2016-11-29 22:44:27 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-30 00:46:46 UTC) #19
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/2537563002/20001
4 years ago (2016-11-30 14:05:08 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years ago (2016-11-30 14:10:52 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-30 14:13:09 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e42c5acc8c61a87e6a72352d2428b3f477bd73c1
Cr-Commit-Position: refs/heads/master@{#435251}

Powered by Google App Engine
This is Rietveld 408576698