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

Issue 1024223002: [Sync] Split model association into multiple UI tasks (Closed)

Created:
5 years, 9 months ago by Nicolas Zea
Modified:
5 years, 9 months ago
Reviewers:
pavely
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Split model association into multiple UI tasks UI datatypes perform model association synchronously without any chance of intervening tasks. This change posts the association task for each datatype, allowing other work to intervene, both reducing jank as well as allowing OOM warnings to be processed on platforms that support them. BUG=458406 Committed: https://crrev.com/3f4a998b6547fc32939f74fad8ecca1539705f7b Cr-Commit-Position: refs/heads/master@{#321859}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -29 lines) Patch
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller.h View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller.cc View 5 chunks +13 lines, -18 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_mock.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/ui_data_type_controller.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M components/sync_driver/ui_data_type_controller_unittest.cc View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Nicolas Zea
+Pavel, PTAL
5 years, 9 months ago (2015-03-20 21:34:21 UTC) #2
pavely
lgtm with comment about unittest. https://codereview.chromium.org/1024223002/diff/1/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc File chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc (right): https://codereview.chromium.org/1024223002/diff/1/chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc#newcode192 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc:192: EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); PumpLoop() here ...
5 years, 9 months ago (2015-03-20 23:35:25 UTC) #3
Nicolas Zea
New patchset fixing the tests (hopefully). PTAL https://codereview.chromium.org/1024223002/diff/1/components/sync_driver/ui_data_type_controller_unittest.cc File components/sync_driver/ui_data_type_controller_unittest.cc (right): https://codereview.chromium.org/1024223002/diff/1/components/sync_driver/ui_data_type_controller_unittest.cc#newcode138 components/sync_driver/ui_data_type_controller_unittest.cc:138: Start(); On ...
5 years, 9 months ago (2015-03-23 20:20:33 UTC) #4
pavely
lgtm https://codereview.chromium.org/1024223002/diff/1/components/sync_driver/ui_data_type_controller_unittest.cc File components/sync_driver/ui_data_type_controller_unittest.cc (right): https://codereview.chromium.org/1024223002/diff/1/components/sync_driver/ui_data_type_controller_unittest.cc#newcode138 components/sync_driver/ui_data_type_controller_unittest.cc:138: Start(); On 2015/03/23 20:20:33, Nicolas Zea wrote: > ...
5 years, 9 months ago (2015-03-23 20:26:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024223002/20001
5 years, 9 months ago (2015-03-23 20:29:28 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-23 21:35:22 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 21:36:05 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3f4a998b6547fc32939f74fad8ecca1539705f7b
Cr-Commit-Position: refs/heads/master@{#321859}

Powered by Google App Engine
This is Rietveld 408576698