New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 659265 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Sync] Model type components should follow the sync_modeltype naming pattern

Project Member Reported by maxbogue@chromium.org, Oct 25 2016

Issue description

Specifically:

wifi_sync -> sync_wifi
syncable_prefs -> sync_preferences

Namespaces should be updated to match as well. Colin, do you think password_manager/sync should become sync_passwords, or should it continue living inside the password_manager component?
 
Cc: vabr@chromium.org
Since it's the only component with a sync/ subdir, it should move out into sync_passwords I think.

Comment 2 by vabr@chromium.org, Oct 26 2016

Cc: engedy@chromium.org
I'm fine with #1. If you feel like making it a component is an overkill, we can also just merge it with password_manager/core; there is unlikely to be other implementation of the functionality than sync. When we added the sync layer to password_manager, we were aiming at fine-grained dependency separation inside the component, which might not be what layers were supposed to be used for?

Also Cc-ing engedy@, who might have interesting input, because he did the code reviews when we created the sync layer.

Comment 3 by engedy@chromium.org, Oct 26 2016

I like #1 as well. It looks like it would trivial to move out password_manager/sync into sync_passwords without ugly cross-component dependencies. Doing so would create a component that is small, but would be consistent with other sync_* components.
Labels: Hotlist-CodeHealth

Comment 5 by vabr@chromium.org, Oct 27 2016

Cc: -vabr@chromium.org
(Feel free to add me back if there are more questions for me.)
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4

commit ea16ff4188c0dddbdbd42d08793b55ad77b81fa4
Author: maxbogue <maxbogue@chromium.org>
Date: Fri Oct 28 16:35:29 2016

[Sync] Rename syncable_prefs to sync_preferences.

Pretty mechanical CL:
- Moved files and ran mass-rename.py
- String-replaced "syncable_prefs" with "sync_preferences"
- String-replaced "SYNCABLE_PREFS_USE_POLICY" with "SYNC_PREFERENCES_USE_POLICY"
- Fixed a couple lints inside sync_preferences
- Ran formatter

BUG= 659265 
TBR=jam

Review-Url: https://codereview.chromium.org/2459823002
Cr-Commit-Position: refs/heads/master@{#428391}

[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/apps/drive/drive_app_mapping_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/autofill/content_autofill_driver_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/bookmarks/managed_bookmark_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/arc/arc_auth_service.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/arc/arc_auth_service.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/arc/arc_auth_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/customization/customization_document_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/events/event_rewriter_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/file_system_provider/registry_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/file_system_provider/service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/fileapi/external_file_url_request_job_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/first_run/first_run.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/input_method/input_method_syncer.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/input_method/input_method_syncer.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/power/power_prefs_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/preferences.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/preferences_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/content_settings/host_content_settings_map_factory.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/content_settings/host_content_settings_map_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/devtools/device/usb/android_rsa.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/devtools/devtools_ui_bindings.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/devtools/devtools_window.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/download/download_target_determiner_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/activity_log/activity_log.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/component_loader_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/extension_prefs_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/extension_service_test_base.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/extension_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/external_policy_loader_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/external_pref_loader.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/external_pref_loader.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/menu_manager_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/test_extension_prefs.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/test_extension_prefs.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/extensions/updater/extension_updater_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/font_family_cache_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/net/chrome_network_delegate_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/notifications/extension_welcome_notification.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/notifications/extension_welcome_notification.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/notifications/extension_welcome_notification_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/plugins/chrome_plugin_service_filter_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/plugins/plugin_info_message_filter_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/browser_prefs.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_command_line_pref_store_proxy_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_command_line_pref_store_ssl_manager_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_pref_model_associator_client.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_pref_service_factory.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_pref_service_factory.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/chrome_pref_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/pref_functional_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/pref_metrics_service.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/pref_metrics_service.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/pref_service_syncable_util.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/pref_service_syncable_util.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/proxy_policy_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/session_startup_pref_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/gaia_info_update_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/off_the_record_profile_impl.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/off_the_record_profile_impl.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/profile_destroyer_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/profile_impl.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/profile_impl.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/profile_info_cache_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/profiles/profile_list_desktop_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/search_engines/template_url_service_factory_test_util.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/search_engines/template_url_service_sync_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/search_engines/template_url_service_test_util.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/account_reconcilor_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/cross_device_promo_factory.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/cross_device_promo_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/local_auth_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/signin/signin_global_error_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/supervised_user/legacy/supervised_user_registration_utility_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/sync/chrome_sync_client.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/sync/test/integration/single_client_password_manager_setting_migrator_service_sync_test.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/sync/test/integration/two_client_password_manager_setting_migrator_service_sync_test.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/app_list/search/suggestions/suggestions_search_provider_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/app_list/speech_auth_helper_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/ash/chrome_launcher_prefs.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/ash/chrome_launcher_prefs.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/cocoa_profile_test.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller_unittest.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/toolbar/app_menu_model_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/webui/settings/people_handler_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/browser/ui/webui/signin/signin_supervised_user_import_handler_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/test/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/test/base/testing_profile.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/test/base/testing_profile.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/test/base/testing_profile_manager.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/chrome/test/base/testing_profile_manager.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/DEPS
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/profile_sync_service.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/profile_sync_service_autofill_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/profile_sync_service_startup_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/profile_sync_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/browser_sync/profile_sync_test_util.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/password_manager/sync/browser/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/password_manager/sync/browser/DEPS
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/password_manager/sync/browser/password_manager_setting_migrator_service.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/password_manager/sync/browser/password_manager_setting_migrator_service.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/password_manager/sync/browser/password_manager_setting_migrator_service_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/search_engines/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/search_engines/DEPS
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync/driver/DEPS
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync/driver/fake_sync_client.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync/driver/startup_controller_unittest.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/BUILD.gn
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/DEPS
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/OWNERS
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_model_associator.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_model_associator.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_model_associator_client.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_model_associator_unittest.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_mock_factory.cc
[add] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_mock_factory.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable_factory.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable_factory.h
[add] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable_observer.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/pref_service_syncable_unittest.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/synced_pref_change_registrar.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/synced_pref_change_registrar.h
[add] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/synced_pref_observer.h
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/testing_pref_service_syncable.cc
[rename] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/components/sync_preferences/testing_pref_service_syncable.h
[delete] https://crrev.com/aa8f338c7107e3d45279e4f62e6145478964ab1c/components/syncable_prefs/pref_service_mock_factory.h
[delete] https://crrev.com/aa8f338c7107e3d45279e4f62e6145478964ab1c/components/syncable_prefs/pref_service_syncable_observer.h
[delete] https://crrev.com/aa8f338c7107e3d45279e4f62e6145478964ab1c/components/syncable_prefs/synced_pref_observer.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/DEPS
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/BUILD.gn
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/chrome_browser_state.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/chrome_browser_state.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/chrome_browser_state_impl.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/chrome_browser_state_impl.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/off_the_record_chrome_browser_state_impl.cc
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/off_the_record_chrome_browser_state_impl.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/test_chrome_browser_state.h
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/test_chrome_browser_state.mm
[modify] https://crrev.com/ea16ff4188c0dddbdbd42d08793b55ad77b81fa4/ios/chrome/browser/browser_state/test_chrome_browse
Project Member

Comment 7 by bugdroid1@chromium.org, Nov 1 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/53381b6f53fe660efe59a76837af0ac51058e9b9

commit 53381b6f53fe660efe59a76837af0ac51058e9b9
Author: maxbogue <maxbogue@chromium.org>
Date: Tue Nov 01 17:17:47 2016

[Sync] Rename wifi_sync to sync_wifi.

All sync model type implementations that have their own component should
follow the sync_modeltype naming convention.

- Moved files and ran mass-rename.py
- Fixed namespaces
- Ran formatter

BUG= 659265 
TBR=zelidrag

Review-Url: https://codereview.chromium.org/2463463004
Cr-Commit-Position: refs/heads/master@{#429030}

[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/chromeos/BUILD.gn
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/DEPS
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/chrome_sync_client.cc
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/wifi_credentials_helper.cc
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/wifi_credentials_helper.h
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h
[modify] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/BUILD.gn
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/BUILD.gn
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/DEPS
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/OWNERS
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/network_state_helper_chromeos.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/network_state_helper_chromeos.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_config_delegate.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_config_delegate_chromeos.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_config_delegate_chromeos.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_config_delegate_chromeos_unittest.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_syncable_service.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_syncable_service.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_syncable_service_factory.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_syncable_service_factory.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_syncable_service_unittest.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_credential_unittest.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_security_class.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_security_class.h
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_security_class_chromeos.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_security_class_chromeos_unittest.cc
[rename] https://crrev.com/53381b6f53fe660efe59a76837af0ac51058e9b9/components/sync_wifi/wifi_security_class_unittest.cc

Actually, thinking on this further, I'm less convinced the passwords sync code should be its own component. sync_bookmarks and sync_sessions exist because that code is owned by the sync team. sync_preferences makes sense for layering because sync depends on prefs. I'm not exactly sure why sync_wifi is a thing outside the wifi component, and I'm not sure why the passwords sync code shouldn't be inside password_manager/core/.

I don't think we want to set a precedent for types to create a separate component for their sync code without need. There are many other types with sync code inside their component and I think it makes more sense to do it that way: the namespaces can match, and the new version of sync is going to be more tightly coupled to the model type code anyways.

Thoughts on this? Am I missing something?
Why are sync_sessions and sync_bookmarks different in the ownership model than e.g. passwords?
Cc: zea@chromium.org s...@chromium.org
+Nicolas (for context) and Sky (made sync_sessions in http://crrev.com/1387253004). Colin, you made sync_bookmarks (in http://crrev.com/1395563002) and said:

"The decision to create a standalone component rather than folding these files
into the bookmarks component is that it is undesirable to introduce a
sync-related dependency in the core bookmark component."

Essentially, I think it's because there were files sync had always owned before related to these types that needed to be moved into components/ and the existing sessions/ and bookmarks/ owners didn't want them, or we just wanted to keep ownership of those pieces.

There's no real reason the model type components shouldn't depend on sync AFAIK.
I see, thanks for the reminders. My concern is that I think we should be consistent. I had mistakenly remembered that we had previously discussed this and explicitly decided to move all components' sync-related code into sync_<foo>, but it looks like many components depend directly on //components/sync from their code code, and it's actually the sync_<foo> components that are the outliers. So merging passwords sync code into password_manager/core SGTM given that it doesn't change the pre-existing situation at all. I think that sync_sessions and sync_bookmarks might be their own components simply because the OWNERS didn't want that code in their components, which is kind of a sad reason to create this inconsistency.
Status: Fixed (was: Assigned)
True. sync_preferences actually needs to be its own component for layering reasons though. sync_wifi is probably the one that maybe shouldn't  be its own component. I'm going to close this bug though, as it's fulfilled its original purpose. If there are further cleanups related to this you still want done, feel free to file separate bugs against the relevant owners.

Sign in to add a comment