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

Issue 11345008: Remove content::NotificationObserver dependency from most Prefs code. (Closed)

Created:
8 years, 1 month ago by Jói
Modified:
8 years, 1 month ago
CC:
chromium-reviews, jam, sadrul, nkostylev+watch_chromium.org, dhollowa+watch_chromium.org, rpetterson, browser-components-watch_chromium.org, gideonwald, rginda+watch_chromium.org, stuartmorgan+watch_chromium.org, markusheintz_, stevenjb+watch_chromium.org, Shishir, yusukes+watch_chromium.org, cbentzel+watch_chromium.org, ben+watch_chromium.org, Ilya Sherman, achuith+watch_chromium.org, dominich, darin-cc_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, tim (not reviewing), dbeam+watch-ntp_chromium.org, Raghu Simha, melevin, oshima+watch_chromium.org, haitaol1, Jered, akalin, tfarina, samarth, sreeram, Aaron Boodman, Satish, David Black, dyu1, estade+watch_chromium.org, davemoore+watch_chromium.org, battre
Visibility:
Public.

Description

Remove content::NotificationObserver dependency from most Prefs code. Instead of using content::NotificationObserver, introduce specific type-safe observer classes and update users to use them. In a very large number of cases this was the users' only reason for being a content::NotificationObserver and they would have a lot of boiler-plate code such as a DCHECK on the notification type and unpacking of the generic NotificationDetails types, so this change removes a bunch of boilerplate and introduces more type safety. This is part of enabling more of the Prefs code to live in base/prefs/. TBR=ben@chromium.org,brettw@chromium.org BUG=155525 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165414

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address review comments. #

Total comments: 5

Patch Set 3 : Fix comment #

Patch Set 4 : Fix PrefNotifierImpl #

Total comments: 14

Patch Set 5 : Merge LKGR. #

Total comments: 24

Patch Set 6 : Merge LKGR. #

Patch Set 7 : Address review comments. #

Patch Set 8 : Merge to parent #

Patch Set 9 : Merge LKGR #

Patch Set 10 : Merge to head for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1437 lines, -1516 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M base/prefs/public/pref_change_registrar.h View 1 3 chunks +4 lines, -10 lines 0 comments Download
M base/prefs/public/pref_change_registrar.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M base/prefs/public/pref_change_registrar_unittest.cc View 6 chunks +21 lines, -16 lines 0 comments Download
A base/prefs/public/pref_observer.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M base/prefs/public/pref_service_base.h View 3 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/api/prefs/pref_member.h View 1 2 3 4 5 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/api/prefs/pref_member.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/api/prefs/pref_member_unittest.cc View 1 2 3 4 1 chunk +5 lines, -9 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/background/background_mode_manager.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -14 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.h View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/audio/audio_handler.h View 4 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/audio/audio_handler.cc View 1 2 3 4 2 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system.h View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_sync_client.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_sync_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_event_router.h View 4 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_event_router.cc View 1 2 3 4 5 6 7 8 9 1 chunk +25 lines, -29 lines 0 comments Download
M chrome/browser/chromeos/input_method/browser_state_monitor.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/input_method/browser_state_monitor_unittest.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 1 2 3 4 1 chunk +17 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 4 chunks +21 lines, -20 lines 0 comments Download
M chrome/browser/content_settings/content_settings_default_provider.h View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_default_provider.cc View 1 2 3 4 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.h View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 1 2 3 4 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.h View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 1 2 3 4 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 4 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/content_settings/cookie_settings.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/content_settings/cookie_settings.cc View 1 2 3 4 1 chunk +7 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/font_settings/font_settings_api.h View 1 2 3 4 5 6 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/font_settings/font_settings_api.cc View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/managed_mode/managed_mode_api.h View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/managed_mode/managed_mode_api.cc View 1 2 3 4 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_api.h View 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_api.cc View 1 2 3 4 2 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/extensions/component_loader.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 4 2 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/extensions/external_policy_loader.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/extensions/external_policy_loader.cc View 1 2 3 4 1 chunk +14 lines, -19 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.h View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.cc View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 3 4 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 4 1 chunk +21 lines, -29 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.h View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/net/net_pref_observer.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/net/net_pref_observer.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/net/pref_proxy_config_tracker_impl.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/net/pref_proxy_config_tracker_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/net/ssl_config_service_manager_pref.cc View 1 2 3 4 5 6 7 chunks +30 lines, -37 lines 0 comments Download
M chrome/browser/notifications/notification_ui_manager_impl.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_ui_manager_impl.cc View 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/browser/plugins/plugin_prefs.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/plugins/plugin_prefs.cc View 1 chunk +6 lines, -13 lines 0 comments Download
M chrome/browser/plugins/plugin_status_pref_setter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_status_pref_setter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud_policy_refresh_scheduler.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/policy/cloud_policy_refresh_scheduler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/policy/cloud_policy_subsystem.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/policy/cloud_policy_subsystem.cc View 1 chunk +6 lines, -13 lines 0 comments Download
M chrome/browser/policy/url_blacklist_manager.h View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/policy/url_blacklist_manager.cc View 1 chunk +4 lines, -8 lines 0 comments Download
A chrome/browser/prefs/DEPS View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_notifier_impl.h View 1 3 chunks +20 lines, -14 lines 0 comments Download
M chrome/browser/prefs/pref_notifier_impl.cc View 1 2 3 5 chunks +31 lines, -30 lines 0 comments Download
M chrome/browser/prefs/pref_notifier_impl_unittest.cc View 1 9 chunks +41 lines, -27 lines 0 comments Download
M chrome/browser/prefs/pref_observer_mock.h View 3 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/prefs/pref_observer_mock.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 3 4 4 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 1 2 3 4 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/prefs/pref_value_store.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/prefs/scoped_user_pref_update_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_proxy_service.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/printing/print_view_manager.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service.cc View 1 chunk +4 lines, -11 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 4 chunks +22 lines, -30 lines 0 comments Download
M chrome/browser/protector/base_prefs_change.h View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/protector/base_prefs_change.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/protector/protected_prefs_watcher.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/protector/protected_prefs_watcher.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_tab_observer.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_tab_observer.cc View 1 chunk +10 lines, -20 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -21 lines 0 comments Download
M chrome/browser/signin/signin_manager.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_preferences.h View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_preferences.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_profile.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_profile.cc View 1 chunk +13 lines, -20 lines 0 comments Download
M chrome/browser/sync/credential_cache_service_win.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/sync/credential_cache_service_win.cc View 1 2 3 4 2 chunks +16 lines, -18 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.h View 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.cc View 1 2 3 2 chunks +15 lines, -23 lines 0 comments Download
M chrome/browser/sync/sync_prefs.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/sync/sync_prefs.cc View 1 chunk +6 lines, -17 lines 0 comments Download
M chrome/browser/translate/translate_manager.h View 1 2 3 4 5 6 6 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 3 4 5 6 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 7 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/ui/alternate_error_tab_observer.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/alternate_error_tab_observer.cc View 1 chunk +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/apps_model_builder.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/apps_model_builder.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 chunk +14 lines, -14 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +14 lines, -17 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 4 2 chunks +26 lines, -23 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.h View 4 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 chunk +4 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm View 1 2 3 4 5 6 3 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 6 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/ui/gesture_prefs_observer_factory_aura.cc View 4 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h View 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/browser_toolbar_gtk.h View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/browser_toolbar_gtk.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 5 6 1 chunk +16 lines, -20 lines 0 comments Download
M chrome/browser/ui/gtk/global_menu_bar.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/global_menu_bar.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_theme_service.h View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_theme_service.cc View 1 2 3 4 5 6 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 2 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/tabs/browser_tab_strip_controller.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/toolbar_view.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/views/toolbar_view.cc View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.h View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.h View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 1 chunk +24 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 chunk +13 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.h View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 2 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.h View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 1 chunk +11 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/options/font_settings_handler.h View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/font_settings_handler.cc View 1 chunk +17 lines, -21 lines 0 comments Download
M chrome/browser/ui/webui/options/media_galleries_handler.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/media_galleries_handler.cc View 1 2 3 4 1 chunk +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.h View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.cc View 1 2 3 4 5 6 1 chunk +4 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.h View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/options/startup_pages_handler.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/startup_pages_handler.cc View 1 chunk +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.cc View 1 chunk +8 lines, -13 lines 0 comments Download
M chrome/common/DEPS View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_notification_types.h View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
Jói
Hi Mattias, This one is pretty big, but most of it can be split up ...
8 years, 1 month ago (2012-10-29 21:19:22 UTC) #1
Mattias Nissler (ping if slow)
One quick comment I want to get out before we dive into details :) http://codereview.chromium.org/11345008/diff/1/base/prefs/public/pref_observer.h ...
8 years, 1 month ago (2012-10-30 09:09:29 UTC) #2
Jói
> Any reason to not use base::Callback<void(PrefServiceBase*, const > std::string&) for this purpose? Having a ...
8 years, 1 month ago (2012-10-30 09:19:00 UTC) #3
Mattias Nissler (ping if slow)
On 2012/10/30 09:19:00, Jói wrote: > > Any reason to not use base::Callback<void(PrefServiceBase*, const > ...
8 years, 1 month ago (2012-10-30 09:33:04 UTC) #4
Jói
I would suggest doing this: a) Leave the PrefObserver interface in place. b) Have an ...
8 years, 1 month ago (2012-10-30 09:47:35 UTC) #5
Jói
Here are two examples that I found given a quick search; I'm not sure if ...
8 years, 1 month ago (2012-10-30 09:57:59 UTC) #6
Mattias Nissler (ping if slow)
On Tue, Oct 30, 2012 at 10:46 AM, Jói Sigurðsson <joi@chromium.org> wrote: > I would ...
8 years, 1 month ago (2012-10-30 10:00:32 UTC) #7
Mattias Nissler (ping if slow)
On Tue, Oct 30, 2012 at 10:57 AM, Jói Sigurðsson <joi@chromium.org> wrote: > Here are ...
8 years, 1 month ago (2012-10-30 10:06:56 UTC) #8
Jói
Honestly, I think having a PrefObserver class for users to inherit from, so that there ...
8 years, 1 month ago (2012-10-30 10:24:34 UTC) #9
Jói
Hi again, TL;DR: I am willing to work on the Callback-based interface if you wish, ...
8 years, 1 month ago (2012-10-30 11:32:36 UTC) #10
Mattias Nissler (ping if slow)
I only looked at the main changes in chrome/browser/prefs and base/prefs and a couple of ...
8 years, 1 month ago (2012-10-30 13:37:05 UTC) #11
Jói
Thanks Mattias. As discussed off-line, I plan to switch to the Callback-based interface and send ...
8 years, 1 month ago (2012-10-30 13:46:35 UTC) #12
Jói
Also: I will send a preview of the intended interface changes before switching all the ...
8 years, 1 month ago (2012-10-30 13:46:58 UTC) #13
Mattias Nissler (ping if slow)
On Tue, Oct 30, 2012 at 2:46 PM, Jói Sigurðsson <joi@chromium.org> wrote: > Also: I ...
8 years, 1 month ago (2012-10-30 14:22:17 UTC) #14
Jói
Looking at this some more, I am back to thinking it would be best to ...
8 years, 1 month ago (2012-10-30 14:51:39 UTC) #15
jam
For the record, I had a draft written yesterday saying that these-single method interfaces would ...
8 years, 1 month ago (2012-10-30 15:15:04 UTC) #16
Jói
Thanks for the input John. After discussing with Mattias, I also agree that switching to ...
8 years, 1 month ago (2012-10-30 15:20:37 UTC) #17
jam
On Tue, Oct 30, 2012 at 8:19 AM, Jói Sigurðsson <joi@chromium.org> wrote: > Thanks for ...
8 years, 1 month ago (2012-10-30 15:34:06 UTC) #18
Jói
Yep, that's the plan. In the follow-ups, we would leave the PrefObserver approach of getting ...
8 years, 1 month ago (2012-10-30 15:37:05 UTC) #19
Mattias Nissler (ping if slow)
On Tue, Oct 30, 2012 at 4:36 PM, Jói Sigurðsson <joi@chromium.org> wrote: > Yep, that's ...
8 years, 1 month ago (2012-10-30 15:58:28 UTC) #20
Jói
Thanks Mattias. I'd like to go ahead with the current change, just extracting the stuff ...
8 years, 1 month ago (2012-10-30 16:02:45 UTC) #21
Mattias Nissler (ping if slow)
Fine with me, let me review the CL. On Tue, Oct 30, 2012 at 5:02 ...
8 years, 1 month ago (2012-10-30 16:04:39 UTC) #22
jam
On Tue, Oct 30, 2012 at 9:02 AM, Jói Sigurðsson <joi@chromium.org> wrote: > Thanks Mattias. ...
8 years, 1 month ago (2012-10-30 16:09:01 UTC) #23
Jói
That makes sense. Mattias, if you're up for looking through the usage updates so that ...
8 years, 1 month ago (2012-10-30 16:10:38 UTC) #24
Mattias Nissler (ping if slow)
On Tue, Oct 30, 2012 at 5:09 PM, Jói Sigurðsson <joi@chromium.org> wrote: > That makes ...
8 years, 1 month ago (2012-10-30 16:15:51 UTC) #25
jam
http://codereview.chromium.org/11345008/diff/8002/base/prefs/public/pref_observer.h File base/prefs/public/pref_observer.h (right): http://codereview.chromium.org/11345008/diff/8002/base/prefs/public/pref_observer.h#newcode15 base/prefs/public/pref_observer.h:15: virtual void OnPreferenceChanged(PrefServiceBase* service, nit: so do do we ...
8 years, 1 month ago (2012-10-30 16:17:40 UTC) #26
Jói
I was planning to remove it in the follow-ups, i.e. when we get rid of ...
8 years, 1 month ago (2012-10-30 16:23:04 UTC) #27
Jói
> I can do that, but not today ;) Happy to take a look at ...
8 years, 1 month ago (2012-10-30 16:23:22 UTC) #28
jam
On Tue, Oct 30, 2012 at 9:22 AM, Jói Sigurðsson <joi@chromium.org> wrote: > I was ...
8 years, 1 month ago (2012-10-30 16:30:34 UTC) #29
Mattias Nissler (ping if slow)
base/prefs, chrome/browser/prefs LGTM, but I didn't look at the rest of the code yet. Regarding ...
8 years, 1 month ago (2012-10-30 16:32:33 UTC) #30
Jói
Thanks Mattias, answers below. http://codereview.chromium.org/11345008/diff/8002/base/prefs/public/pref_observer.h File base/prefs/public/pref_observer.h (right): http://codereview.chromium.org/11345008/diff/8002/base/prefs/public/pref_observer.h#newcode15 base/prefs/public/pref_observer.h:15: virtual void OnPreferenceChanged(PrefServiceBase* service, On ...
8 years, 1 month ago (2012-10-30 16:37:58 UTC) #31
Mattias Nissler (ping if slow)
Did a full pass, mostly looks good. Halfway through the review, I switched to a ...
8 years, 1 month ago (2012-10-31 13:29:35 UTC) #32
Jói
Thanks Mattias. Sorry about the new patch, to void merge hell I'm trying to merge ...
8 years, 1 month ago (2012-10-31 13:33:01 UTC) #33
Jói
PTAL, I've addressed your review comments. You can look at the diff from patch set ...
8 years, 1 month ago (2012-10-31 14:56:25 UTC) #34
Mattias Nissler (ping if slow)
LGTM
8 years, 1 month ago (2012-10-31 15:13:01 UTC) #35
Jói
TBRs to OWNERS for usage updates (full change reviewed by mnissler@ who is an OWNER ...
8 years, 1 month ago (2012-11-01 14:34:22 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/11345008/31023
8 years, 1 month ago (2012-11-01 15:03:34 UTC) #37
commit-bot: I haz the power
Change committed as 165414
8 years, 1 month ago (2012-11-01 17:24:24 UTC) #38
Ben Goodger (Google)
8 years, 1 month ago (2012-11-01 17:24:31 UTC) #39
cool! lgtm.

Powered by Google App Engine
This is Rietveld 408576698