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

Issue 2875953003: [Soft fetches] Set-up different intervals for <Chrome started> events. (Closed)

Created:
3 years, 7 months ago by jkrcal
Modified:
3 years, 7 months ago
Reviewers:
markusheintz_
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Soft fetches] Set-up different intervals for <Chrome started> events. This CL creates different intervals for startup events. This allows: - iOS to compensate the missing persistent scheduler using startup soft fetches (setting the same intervals as for persistent fetches). - Android to replace most of the persistent fetches by startup soft fetches and hopefully save considerable traffic by that (setting the same intervals as they are now for persistent fetches and considerably enlarging the intervals for persistent fetches). BUG=721346 Review-Url: https://codereview.chromium.org/2875953003 Cr-Commit-Position: refs/heads/master@{#472088} Committed: https://chromium.googlesource.com/chromium/src/+/edce193983bdd176ced3394a88fb70935cf133b1

Patch Set 1 #

Total comments: 14

Patch Set 2 : Markus' comments #

Total comments: 6

Patch Set 3 : Markus's comments #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -88 lines) Patch
M components/ntp_snippets/pref_names.h View 1 2 1 chunk +17 lines, -13 lines 0 comments Download
M components/ntp_snippets/pref_names.cc View 1 1 chunk +14 lines, -7 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_scheduler_impl.h View 2 chunks +8 lines, -5 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc View 1 14 chunks +129 lines, -51 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_scheduler_impl_unittest.cc View 7 chunks +40 lines, -12 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
jkrcal
Markus, could you PTAL? (would like to get it in before FF)
3 years, 7 months ago (2017-05-11 13:23:06 UTC) #2
jkrcal
On 2017/05/11 13:23:06, jkrcal wrote: > Markus, could you PTAL? > (would like to get ...
3 years, 7 months ago (2017-05-15 08:29:38 UTC) #7
markusheintz_
https://codereview.chromium.org/2875953003/diff/1/components/ntp_snippets/pref_names.cc File components/ntp_snippets/pref_names.cc (right): https://codereview.chromium.org/2875953003/diff/1/components/ntp_snippets/pref_names.cc#newcode16 components/ntp_snippets/pref_names.cc:16: // For backwards compatibility, we do not rename I ...
3 years, 7 months ago (2017-05-15 09:35:47 UTC) #8
jkrcal
Thanks! PTAL, again. https://codereview.chromium.org/2875953003/diff/1/components/ntp_snippets/pref_names.cc File components/ntp_snippets/pref_names.cc (right): https://codereview.chromium.org/2875953003/diff/1/components/ntp_snippets/pref_names.cc#newcode16 components/ntp_snippets/pref_names.cc:16: // For backwards compatibility, we do ...
3 years, 7 months ago (2017-05-15 11:40:25 UTC) #9
markusheintz_
LGTM https://codereview.chromium.org/2875953003/diff/20001/components/ntp_snippets/pref_names.h File components/ntp_snippets/pref_names.h (right): https://codereview.chromium.org/2875953003/diff/20001/components/ntp_snippets/pref_names.h#newcode22 components/ntp_snippets/pref_names.h:22: ////////////////// Minimal interval between two successive background fetches. ...
3 years, 7 months ago (2017-05-16 12:04:57 UTC) #10
jkrcal
Thanks! https://codereview.chromium.org/2875953003/diff/20001/components/ntp_snippets/pref_names.h File components/ntp_snippets/pref_names.h (right): https://codereview.chromium.org/2875953003/diff/20001/components/ntp_snippets/pref_names.h#newcode22 components/ntp_snippets/pref_names.h:22: ////////////////// Minimal interval between two successive background fetches. ...
3 years, 7 months ago (2017-05-16 12:31:02 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/2875953003/40001
3 years, 7 months ago (2017-05-16 12:31:44 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 13:43:52 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/edce193983bdd176ced3394a88fb...

Powered by Google App Engine
This is Rietveld 408576698