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

Issue 1460723004: [Sync] Remove the last datatype-specific deps from sync_driver. (Closed)

Created:
5 years, 1 month ago by maxbogue
Modified:
5 years ago
CC:
chromium-reviews, tim+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, zea+watch_chromium.org, bondd+autofillwatch_chromium.org, rouslan+autofill_chromium.org, blundell+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, maxbogue+watch_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Remove the last datatype-specific deps from sync_driver. The ref-counted dependencies being injected by SyncClient are now injected directly into the DTC's via the components factory. BUG=543199 TBR=sdefresne Committed: https://crrev.com/be7410fa028a9f086c8f5cedd623a6d57567799d Cr-Commit-Position: refs/heads/master@{#364465}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Try fixing memory leak. #

Patch Set 4 : Try again. #

Patch Set 5 : Fix memory leak. #

Patch Set 6 : Add comments. #

Patch Set 7 : Fix iOS. #

Total comments: 11

Patch Set 8 : Delete outdated comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -132 lines) Patch
M chrome/browser/sync/chrome_sync_client.h View 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/sync/chrome_sync_client.cc View 1 2 3 4 5 6 5 chunks +11 lines, -21 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_wallet_data_type_controller.h View 1 2 3 4 5 3 chunks +14 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_wallet_data_type_controller.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_data_type_controller.h View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_data_type_controller.cc View 2 chunks +7 lines, -8 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_data_type_controller_unittest.cc View 1 2 3 4 4 chunks +8 lines, -9 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_data_type_controller.h View 1 2 3 4 5 3 chunks +9 lines, -2 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_data_type_controller.cc View 1 2 3 4 5 3 chunks +9 lines, -13 lines 0 comments Download
M components/browser_sync.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_sync/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_sync/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_sync/browser/profile_sync_components_factory_impl.h View 1 2 3 4 5 6 7 3 chunks +13 lines, -1 line 0 comments Download
M components/browser_sync/browser/profile_sync_components_factory_impl.cc View 9 chunks +15 lines, -7 lines 0 comments Download
M components/password_manager/sync/browser/password_data_type_controller.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/password_manager/sync/browser/password_data_type_controller.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/sync_driver/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync_driver/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync_driver/fake_sync_client.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync_driver/fake_sync_client.cc View 3 chunks +0 lines, -12 lines 0 comments Download
M components/sync_driver/sync_client.h View 4 chunks +0 lines, -8 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.h View 1 2 3 4 5 6 3 chunks +8 lines, -2 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.cc View 1 2 3 4 5 6 5 chunks +12 lines, -22 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
maxbogue
Nicolas, PTAL!
5 years ago (2015-12-07 21:21:46 UTC) #2
vabr (Chromium)
Autofill and password_manager components LGTM, with multiple instances of an optional nit, which you are ...
5 years ago (2015-12-08 10:14:28 UTC) #4
maxbogue
https://codereview.chromium.org/1460723004/diff/120001/components/autofill/core/browser/autofill_wallet_data_type_controller.h File components/autofill/core/browser/autofill_wallet_data_type_controller.h (right): https://codereview.chromium.org/1460723004/diff/120001/components/autofill/core/browser/autofill_wallet_data_type_controller.h#newcode29 components/autofill/core/browser/autofill_wallet_data_type_controller.h:29: const scoped_refptr<autofill::AutofillWebDataService>& web_data_service); On 2015/12/08 10:14:28, vabr (Chromium) wrote: ...
5 years ago (2015-12-08 19:08:05 UTC) #5
Nicolas Zea
nice, LGTM https://codereview.chromium.org/1460723004/diff/120001/components/browser_sync/browser/profile_sync_components_factory_impl.h File components/browser_sync/browser/profile_sync_components_factory_impl.h (right): https://codereview.chromium.org/1460723004/diff/120001/components/browser_sync/browser/profile_sync_components_factory_impl.h#newcode118 components/browser_sync/browser/profile_sync_components_factory_impl.h:118: // Members that must be fetched on ...
5 years ago (2015-12-08 21:54:03 UTC) #6
maxbogue
+sdefresne for ios/*, PTAL.
5 years ago (2015-12-09 00:56:19 UTC) #8
vabr (Chromium)
https://codereview.chromium.org/1460723004/diff/120001/components/password_manager/sync/browser/password_data_type_controller.h File components/password_manager/sync/browser/password_data_type_controller.h (right): https://codereview.chromium.org/1460723004/diff/120001/components/password_manager/sync/browser/password_data_type_controller.h#newcode34 components/password_manager/sync/browser/password_data_type_controller.h:34: const scoped_refptr<password_manager::PasswordStore>& password_store); On 2015/12/08 19:08:05, maxbogue wrote: > ...
5 years ago (2015-12-09 09:07:15 UTC) #9
maxbogue
https://codereview.chromium.org/1460723004/diff/120001/components/browser_sync/browser/profile_sync_components_factory_impl.h File components/browser_sync/browser/profile_sync_components_factory_impl.h (right): https://codereview.chromium.org/1460723004/diff/120001/components/browser_sync/browser/profile_sync_components_factory_impl.h#newcode118 components/browser_sync/browser/profile_sync_components_factory_impl.h:118: // Members that must be fetched on the UI ...
5 years ago (2015-12-09 18:20:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460723004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460723004/140001
5 years ago (2015-12-10 18:59:40 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-12-10 20:43:51 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-10 20:45:08 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/be7410fa028a9f086c8f5cedd623a6d57567799d
Cr-Commit-Position: refs/heads/master@{#364465}

Powered by Google App Engine
This is Rietveld 408576698