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

Issue 1536023002: [BackgroundSync] Add max sync event duration to BackgroundSyncParameters (Closed)

Created:
5 years ago by jkarlin
Modified:
4 years, 11 months ago
Reviewers:
iclelland, davidben
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, jam, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, jkarlin+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@sync_time2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BackgroundSync] Add max sync event duration to BackgroundSyncParameters Adds max sync event duration as a parameter to BackgroundSyncParameters and allows it to be overwritten via field trials. BUG=569001 Committed: https://crrev.com/f056423ad06d75eb45425e8e066a4150287cf568 Cr-Commit-Position: refs/heads/master@{#366987}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Address comments from PS1 #

Patch Set 4 : Rebase #

Patch Set 5 : Rename a constant to match the others #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -25 lines) Patch
M chrome/browser/background_sync/background_sync_controller_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/background_sync/background_sync_controller_impl.cc View 1 2 3 4 3 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/background_sync/background_sync_controller_impl_unittest.cc View 1 2 3 4 4 chunks +12 lines, -5 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
M content/browser/background_sync/background_sync_manager_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/background_sync_parameters.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/background_sync_parameters.cc View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (7 generated)
jkarlin
iclelland@ PTAL at everything davidben@ PTAL at content/public/ Thanks!
5 years ago (2015-12-18 14:58:22 UTC) #2
davidben
lgtm https://codereview.chromium.org/1536023002/diff/1/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc File chrome/browser/background_sync/background_sync_controller_impl_unittest.cc (left): https://codereview.chromium.org/1536023002/diff/1/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc#oldcode127 chrome/browser/background_sync/background_sync_controller_impl_unittest.cc:127: "8000000000000"; // something larger than int32. Did you ...
5 years ago (2015-12-19 00:28:25 UTC) #3
iclelland
lgtm with one issue. My only meta-comment is that we now have three finch-definable time ...
4 years, 12 months ago (2015-12-21 19:50:15 UTC) #4
jkarlin
> My only meta-comment is that we now have three finch-definable time values, > using ...
4 years, 11 months ago (2015-12-28 15:51:04 UTC) #5
jkarlin
Thanks all. https://codereview.chromium.org/1536023002/diff/1/chrome/browser/background_sync/background_sync_controller_impl.cc File chrome/browser/background_sync/background_sync_controller_impl.cc (right): https://codereview.chromium.org/1536023002/diff/1/chrome/browser/background_sync/background_sync_controller_impl.cc#newcode88 chrome/browser/background_sync/background_sync_controller_impl.cc:88: if (base::StringToInt64(field_params[kMaxSyncEventDuration], On 2015/12/21 19:50:15, iclelland wrote: ...
4 years, 11 months ago (2015-12-28 15:51:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536023002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536023002/60001
4 years, 11 months ago (2015-12-28 16:51:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536023002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536023002/80001
4 years, 11 months ago (2015-12-28 16:56:12 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2015-12-28 17:53:24 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2015-12-28 17:54:21 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f056423ad06d75eb45425e8e066a4150287cf568
Cr-Commit-Position: refs/heads/master@{#366987}

Powered by Google App Engine
This is Rietveld 408576698