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

Issue 2369063003: [Sync] Add an error integration test for USS. (Closed)

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

Description

[Sync] Add an error integration test for USS. Caught two bugs: - The NonBlockingDTC needs to report errors even if the type is running. - The DataTypeManagerImpl must do ProcessReconfigure asynchronously to give the ModelAssociationManager time to finish stopping the type. BUG=643269 Committed: https://crrev.com/dff5a0d6ec28d34867aa238e0b39aa0386004222 Cr-Commit-Position: refs/heads/master@{#421676}

Patch Set 1 #

Patch Set 2 : Rebase + fix DTMI. #

Patch Set 3 : Fix a DCHECK in DTMI. #

Total comments: 12

Patch Set 4 : Remove empty destructors. #

Total comments: 2

Patch Set 5 : Improve comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -11 lines) Patch
M chrome/browser/sync/test/integration/two_client_uss_sync_test.cc View 1 2 3 4 9 chunks +43 lines, -5 lines 0 comments Download
M components/sync/driver/data_type_manager_impl.cc View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M components/sync/driver/non_blocking_data_type_controller.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
maxbogue
PTAL!
4 years, 2 months ago (2016-09-27 18:45:45 UTC) #5
skym
I'm worried about adding PostTasks to make things work. I'd love an alternative solution, perhaps ...
4 years, 2 months ago (2016-09-27 20:24:45 UTC) #12
maxbogue
https://codereview.chromium.org/2369063003/diff/40001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc File chrome/browser/sync/test/integration/two_client_uss_sync_test.cc (right): https://codereview.chromium.org/2369063003/diff/40001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc#newcode191 chrome/browser/sync/test/integration/two_client_uss_sync_test.cc:191: ~PrefsNotRunningChecker() override {} On 2016/09/27 20:24:45, skym wrote: > ...
4 years, 2 months ago (2016-09-28 20:17:09 UTC) #15
skym
lgtm https://codereview.chromium.org/2369063003/diff/60001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc File chrome/browser/sync/test/integration/two_client_uss_sync_test.cc (right): https://codereview.chromium.org/2369063003/diff/60001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc#newcode331 chrome/browser/sync/test/integration/two_client_uss_sync_test.cc:331: // Queue an error in model 2 and ...
4 years, 2 months ago (2016-09-28 21:53:34 UTC) #18
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/2369063003/80001
4 years, 2 months ago (2016-09-28 22:32:54 UTC) #21
maxbogue
https://codereview.chromium.org/2369063003/diff/60001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc File chrome/browser/sync/test/integration/two_client_uss_sync_test.cc (right): https://codereview.chromium.org/2369063003/diff/60001/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc#newcode331 chrome/browser/sync/test/integration/two_client_uss_sync_test.cc:331: // Queue an error in model 2 and trigger ...
4 years, 2 months ago (2016-09-28 22:36:30 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-28 23:21:55 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 23:23:03 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dff5a0d6ec28d34867aa238e0b39aa0386004222
Cr-Commit-Position: refs/heads/master@{#421676}

Powered by Google App Engine
This is Rietveld 408576698