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

Issue 6811003: [Sync] Make generic non-frontend thread datatype controller. (Closed)

Created:
9 years, 8 months ago by Nicolas Zea
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Sync] Make generic non-frontend thread datatype controller. Refactor Autofill/Password/Typed URL datatypes to use it. Add generic unit tests to cover the the various thready issues. BUG=77964 TEST=NonFrontendDatatypeController* unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81454

Patch Set 1 #

Patch Set 2 : Fix autofill #

Total comments: 18

Patch Set 3 : Feedback #

Patch Set 4 : Todos and fix ProfileSyncFactory #

Patch Set 5 : Copyrights #

Patch Set 6 : Fix comments #

Patch Set 7 : Fix failure triggering stop #

Patch Set 8 : Copy paste :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1316 lines, -898 lines) Patch
M chrome/browser/profiles/profile_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.h View 1 2 2 chunks +26 lines, -74 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.cc View 1 2 2 chunks +75 lines, -241 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.h View 1 2 1 chunk +7 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/autofill_profile_data_type_controller.cc View 1 2 2 chunks +35 lines, -20 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller.h View 1 2 3 3 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller.cc View 1 2 3 4 5 6 7 3 chunks +35 lines, -23 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_mock.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc View 5 chunks +14 lines, -6 lines 0 comments Download
A chrome/browser/sync/glue/non_frontend_data_type_controller.h View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/non_frontend_data_type_controller.cc View 1 2 3 4 5 6 1 chunk +279 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/non_frontend_data_type_controller_mock.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/non_frontend_data_type_controller_mock.cc View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc View 1 2 1 chunk +397 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/password_data_type_controller.h View 1 2 1 chunk +15 lines, -58 lines 0 comments Download
M chrome/browser/sync/glue/password_data_type_controller.cc View 1 2 2 chunks +45 lines, -172 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.h View 1 2 4 chunks +22 lines, -61 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.cc View 1 2 4 chunks +69 lines, -194 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory.h View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 3 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_mock.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
Looking into integration test issues still, but figure I'd put it out for review since ...
9 years, 8 months ago (2011-04-07 17:03:33 UTC) #1
tim (not reviewing)
mostly just some naming / style things thus far http://codereview.chromium.org/6811003/diff/3001/chrome/browser/sync/glue/autofill_data_type_controller.h File chrome/browser/sync/glue/autofill_data_type_controller.h (right): http://codereview.chromium.org/6811003/diff/3001/chrome/browser/sync/glue/autofill_data_type_controller.h#newcode13 chrome/browser/sync/glue/autofill_data_type_controller.h:13: ...
9 years, 8 months ago (2011-04-07 22:04:25 UTC) #2
Nicolas Zea
Feedback incorporated, please take another look. http://codereview.chromium.org/6811003/diff/3001/chrome/browser/sync/glue/autofill_data_type_controller.h File chrome/browser/sync/glue/autofill_data_type_controller.h (right): http://codereview.chromium.org/6811003/diff/3001/chrome/browser/sync/glue/autofill_data_type_controller.h#newcode13 chrome/browser/sync/glue/autofill_data_type_controller.h:13: #include "chrome/browser/sync/glue/non_frontend_data_type_controller.h" On ...
9 years, 8 months ago (2011-04-08 16:53:42 UTC) #3
tim (not reviewing)
I just think UI* is more familiar to folks coming to write a new implementation ...
9 years, 8 months ago (2011-04-08 17:56:08 UTC) #4
Nicolas Zea
Added todo's re name change, and made some changes to profile_impl and profile_sync_factory to decouple ...
9 years, 8 months ago (2011-04-08 18:59:47 UTC) #5
Nicolas Zea
ping? I just want to make sure the profile_impl/profile_sync_factory changes are okay before I commit.
9 years, 8 months ago (2011-04-11 21:13:54 UTC) #6
tim (not reviewing)
9 years, 8 months ago (2011-04-13 18:40:46 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698