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

Issue 195873020: [Sync] Move SyncPrefs into sync_driver component (Closed)

Created:
6 years, 9 months ago by Nicolas Zea
Modified:
6 years, 9 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, dbeam+watch-ntp_chromium.org, haitaol+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org, James Su, maniscalco+watch_chromium.org
Visibility:
Public.

Description

[Sync] Move SyncPrefs into sync_driver component This also moves all sync preferences out of the common pref_names file and into a sync_driver specific pref_names. To allow that, the dependency on history policy is moved into the typed_url_data_type_controller, and a dependency on the deprecated acknowledged types pref is removed from ntp_resource_cache. BUG=339726 R=blundell@chromium.org, mnissler@chromium.org, rlarocque@chromium.org TBR=atwilson@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258415

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comment, fix integration tests #

Patch Set 3 : Fix browser_tests #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Fix android #

Patch Set 7 : Rebase...again #

Patch Set 8 : Rerererebase #

Patch Set 9 : Rerererebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -1296 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autocomplete/base_search_provider.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/preferences_private/preferences_private_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -11 lines 0 comments Download
M chrome/browser/extensions/external_component_loader.cc View 6 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/extensions/pending_enables.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/pending_enables.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.h View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_mock.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 7 4 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 3 4 7 15 chunks +27 lines, -18 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 8 chunks +16 lines, -14 lines 0 comments Download
M chrome/browser/sync/sessions2/sessions_sync_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/startup_controller.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/sync/startup_controller.cc View 1 2 3 4 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/startup_controller_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_policy_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_policy_handler_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
D chrome/browser/sync/sync_prefs.h View 1 chunk +0 lines, -177 lines 0 comments Download
D chrome/browser/sync/sync_prefs.cc View 1 2 3 4 1 chunk +0 lines, -495 lines 0 comments Download
D chrome/browser/sync/sync_prefs_unittest.cc View 1 chunk +0 lines, -238 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc View 1 6 chunks +22 lines, -17 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 2 3 4 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 4 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 7 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 7 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 3 4 7 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 3 chunks +1 line, -43 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -86 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync_driver/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
A components/sync_driver/pref_names.h View 1 chunk +66 lines, -0 lines 0 comments Download
A components/sync_driver/pref_names.cc View 1 chunk +100 lines, -0 lines 0 comments Download
A + components/sync_driver/sync_prefs.h View 6 chunks +8 lines, -12 lines 0 comments Download
A + components/sync_driver/sync_prefs.cc View 1 2 3 4 10 chunks +26 lines, -47 lines 0 comments Download
A + components/sync_driver/sync_prefs_unittest.cc View 6 chunks +76 lines, -21 lines 0 comments Download

Messages

Total messages: 43 (0 generated)
Nicolas Zea
PTAL. SyncPrefs and the typed url datatype controller are the only ones with non-cleanup only ...
6 years, 9 months ago (2014-03-14 23:47:40 UTC) #1
rlarocque
lgtm
6 years, 9 months ago (2014-03-17 20:32:22 UTC) #2
Nicolas Zea
+Colin for components gypi and deps changes +Mattias for dependency on user_prefs
6 years, 9 months ago (2014-03-17 20:46:49 UTC) #3
Mattias Nissler (ping if slow)
prefs LGTM
6 years, 9 months ago (2014-03-18 08:56:49 UTC) #4
blundell
components_tests.gyp and components/sync_driver/DEPS LGTM with nits Let me know if you wanted me to look ...
6 years, 9 months ago (2014-03-18 09:43:26 UTC) #5
Nicolas Zea
Done. +TBR Scott and Drew for the SyncPrefs movement/namespace change, committing via commitbot https://codereview.chromium.org/195873020/diff/1/components/sync_driver/DEPS File ...
6 years, 9 months ago (2014-03-18 20:03:00 UTC) #6
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-18 20:03:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/20001
6 years, 9 months ago (2014-03-18 20:04:29 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 20:14:39 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-18 20:14:39 UTC) #10
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-18 21:46:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/40001
6 years, 9 months ago (2014-03-18 21:57:31 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 21:58:55 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/autocomplete/base_search_provider.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-18 21:58:56 UTC) #14
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-18 22:21:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/60001
6 years, 9 months ago (2014-03-18 22:24:38 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 23:02:58 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=284001
6 years, 9 months ago (2014-03-18 23:02:59 UTC) #18
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-19 20:59:41 UTC) #19
Nicolas Zea
The CQ bit was unchecked by zea@chromium.org
6 years, 9 months ago (2014-03-19 21:00:40 UTC) #20
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-19 21:09:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/100001
6 years, 9 months ago (2014-03-19 21:09:13 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 21:09:59 UTC) #23
commit-bot: I haz the power
Failed to apply patch for chrome/browser/sync/profile_sync_service_startup_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-19 21:09:59 UTC) #24
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-19 21:11:53 UTC) #25
Nicolas Zea
The CQ bit was unchecked by zea@chromium.org
6 years, 9 months ago (2014-03-19 21:12:12 UTC) #26
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-19 21:41:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/120001
6 years, 9 months ago (2014-03-19 21:43:36 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 22:58:47 UTC) #29
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=162570
6 years, 9 months ago (2014-03-19 22:58:47 UTC) #30
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-19 23:26:46 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/140001
6 years, 9 months ago (2014-03-19 23:28:55 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 00:27:59 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-20 00:28:00 UTC) #34
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-20 01:03:48 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/160001
6 years, 9 months ago (2014-03-20 01:04:32 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 01:08:30 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-20 01:08:30 UTC) #38
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-20 19:43:08 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/195873020/180001
6 years, 9 months ago (2014-03-20 19:44:31 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 19:49:43 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-20 19:49:44 UTC) #42
Nicolas Zea
6 years, 9 months ago (2014-03-20 21:33:52 UTC) #43
Message was sent while issue was closed.
Committed patchset #9 manually as r258415 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698