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

Issue 1717433002: [USS] Break NonBlockingDataTypeController into UI specific one and non-UI specific one (Closed)

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

Description

Break NonBlockingDataTypeController into UI specific one and non-UI specific one. Also break non_blocking_data_type_controller_unittest into ui and non_ui. BUG=558000 Committed: https://crrev.com/17c8d2773c3744b185e0b82c09f45332fc4d1928 Cr-Commit-Position: refs/heads/master@{#377754}

Patch Set 1 : #

Patch Set 2 : update unittests #

Total comments: 6

Patch Set 3 : skym review #

Total comments: 20

Patch Set 4 : updated base on comments #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -802 lines) Patch
M components/components_tests.gyp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M components/sync_driver.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M components/sync_driver/BUILD.gn View 1 2 4 chunks +6 lines, -1 line 0 comments Download
M components/sync_driver/device_info_model_type_controller.h View 3 chunks +2 lines, -6 lines 0 comments Download
M components/sync_driver/device_info_model_type_controller.cc View 1 2 1 chunk +8 lines, -17 lines 0 comments Download
M components/sync_driver/non_blocking_data_type_controller.h View 1 2 3 4 5 4 chunks +24 lines, -14 lines 0 comments Download
M components/sync_driver/non_blocking_data_type_controller.cc View 1 2 3 5 chunks +27 lines, -24 lines 0 comments Download
D components/sync_driver/non_blocking_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +0 lines, -437 lines 0 comments Download
A components/sync_driver/non_ui_model_type_controller.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A components/sync_driver/non_ui_model_type_controller.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A + components/sync_driver/non_ui_model_type_controller_unittest.cc View 1 2 3 4 11 chunks +93 lines, -123 lines 0 comments Download
A components/sync_driver/ui_model_type_controller.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A components/sync_driver/ui_model_type_controller.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A + components/sync_driver/ui_model_type_controller_unittest.cc View 1 2 3 4 10 chunks +44 lines, -179 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Gang Wu
PTAL
4 years, 10 months ago (2016-02-23 18:04:44 UTC) #6
skym
https://codereview.chromium.org/1717433002/diff/80001/components/sync_driver/device_info_model_type_controller.cc File components/sync_driver/device_info_model_type_controller.cc (right): https://codereview.chromium.org/1717433002/diff/80001/components/sync_driver/device_info_model_type_controller.cc#newcode26 components/sync_driver/device_info_model_type_controller.cc:26: InitializeProcessor(); I don't understand why this is the right ...
4 years, 10 months ago (2016-02-23 19:01:01 UTC) #7
Gang Wu
updated https://codereview.chromium.org/1717433002/diff/80001/components/sync_driver/device_info_model_type_controller.cc File components/sync_driver/device_info_model_type_controller.cc (right): https://codereview.chromium.org/1717433002/diff/80001/components/sync_driver/device_info_model_type_controller.cc#newcode26 components/sync_driver/device_info_model_type_controller.cc:26: InitializeProcessor(); On 2016/02/23 19:01:00, skym wrote: > I ...
4 years, 10 months ago (2016-02-23 20:22:33 UTC) #8
skym
lgtm https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_blocking_data_type_controller.h File components/sync_driver/non_blocking_data_type_controller.h (right): https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_blocking_data_type_controller.h#newcode73 components/sync_driver/non_blocking_data_type_controller.h:73: // The error indicates whether the loading completed ...
4 years, 10 months ago (2016-02-23 20:35:01 UTC) #9
maxbogue
lgtm w/ nits https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_ui_model_type_controller.cc File components/sync_driver/non_ui_model_type_controller.cc (right): https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_ui_model_type_controller.cc#newcode24 components/sync_driver/non_ui_model_type_controller.cc:24: sync_client) {} Can this DCHECK that ...
4 years, 10 months ago (2016-02-24 00:02:38 UTC) #10
Gang Wu
updated and rebased https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_blocking_data_type_controller.h File components/sync_driver/non_blocking_data_type_controller.h (right): https://codereview.chromium.org/1717433002/diff/100001/components/sync_driver/non_blocking_data_type_controller.h#newcode73 components/sync_driver/non_blocking_data_type_controller.h:73: // The error indicates whether the ...
4 years, 10 months ago (2016-02-24 01:05:13 UTC) #12
pavely
lgtm https://codereview.chromium.org/1717433002/diff/160001/components/sync_driver/non_blocking_data_type_controller.h File components/sync_driver/non_blocking_data_type_controller.h (right): https://codereview.chromium.org/1717433002/diff/160001/components/sync_driver/non_blocking_data_type_controller.h#newcode81 components/sync_driver/non_blocking_data_type_controller.h:81: // The funtion will create SharedModelTypeProcessor on model ...
4 years, 9 months ago (2016-02-25 21:58:53 UTC) #14
Gang Wu
https://codereview.chromium.org/1717433002/diff/160001/components/sync_driver/non_blocking_data_type_controller.h File components/sync_driver/non_blocking_data_type_controller.h (right): https://codereview.chromium.org/1717433002/diff/160001/components/sync_driver/non_blocking_data_type_controller.h#newcode81 components/sync_driver/non_blocking_data_type_controller.h:81: // The funtion will create SharedModelTypeProcessor on model thread. ...
4 years, 9 months ago (2016-02-26 00:06:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1717433002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1717433002/180001
4 years, 9 months ago (2016-02-26 00:13:52 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 9 months ago (2016-02-26 01:24:45 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-02-26 01:26:07 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/17c8d2773c3744b185e0b82c09f45332fc4d1928
Cr-Commit-Position: refs/heads/master@{#377754}

Powered by Google App Engine
This is Rietveld 408576698