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

Issue 2389443003: [Sync] Remove special cased sessions default commit (Closed)

Created:
4 years, 2 months ago by Nicolas Zea
Modified:
4 years, 2 months ago
Reviewers:
maxbogue
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Remove special cased sessions default commit The session commit delay is always overridden in production. As such, the default only affects test, where it makes it much more likely to time out. Remove it and re-enable the disabled sessions integration tests. BUG=263369, 232313 Committed: https://crrev.com/fee75a0f89047e1888df2746dee671c2ca0dd43b Cr-Commit-Position: refs/heads/master@{#422668}

Patch Set 1 #

Patch Set 2 : Fix test #

Patch Set 3 : Updating custom nudge delay for favicons as well: #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -26 lines) Patch
M chrome/browser/sync/test/integration/two_client_sessions_sync_test.cc View 5 chunks +5 lines, -18 lines 0 comments Download
M components/sync/engine_impl/cycle/nudge_tracker.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M components/sync/engine_impl/cycle/nudge_tracker_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/engine_impl/syncer_proto_util.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Nicolas Zea
PTAL
4 years, 2 months ago (2016-10-03 23:29:49 UTC) #10
maxbogue
You're saying that sessions_commit_delay_seconds is always set by the server? https://cs.chromium.org/chromium/src/components/sync/protocol/client_commands.proto?l=30 If that's the case ...
4 years, 2 months ago (2016-10-03 23:45:06 UTC) #11
maxbogue
Actually one followup: it doesn't matter that the FAVICON_ types aren't getting overwritten?
4 years, 2 months ago (2016-10-03 23:46:59 UTC) #12
Nicolas Zea
Good catch! You're right, favicon tracking in particular would be problematic, and is a hole ...
4 years, 2 months ago (2016-10-03 23:59:32 UTC) #14
maxbogue
Awesome, lgtm!
4 years, 2 months ago (2016-10-04 00:12:32 UTC) #16
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/2389443003/40001
4 years, 2 months ago (2016-10-04 00:13:57 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-04 02:03:37 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 02:05:10 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fee75a0f89047e1888df2746dee671c2ca0dd43b
Cr-Commit-Position: refs/heads/master@{#422668}

Powered by Google App Engine
This is Rietveld 408576698