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

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed)

Created:
6 years, 5 months ago by rpaquay
Modified:
6 years, 5 months ago
Reviewers:
Devlin, sky
CC:
chromium-reviews, skanuj+watch_chromium.org, felt, zea+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, tim+watch_chromium.org, extensions-reviews_chromium.org, melevin+watch_chromium.org, dominich, rlp+watch_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org, dbeam+watch-ntp_chromium.org, haitaol+watch_chromium.org, jfweitz+watch_chromium.org, estade+watch_chromium.org, Jered, maniscalco+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, tfarina, donnd+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. BUG=84556 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284381

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address code review feedback. #

Patch Set 3 : Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. #

Patch Set 4 : Address code review feedback. #

Patch Set 5 : Rebasing. #

Patch Set 6 : Fix header file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -195 lines) Patch
M chrome/browser/apps/drive/drive_app_provider.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/apps/drive/drive_app_provider.cc View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_service.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/apps/ephemeral_app_service.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/apps/shortcut_manager.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/apps/shortcut_manager.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/background/background_application_list_model_unittest.cc View 1 2 3 5 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/commands/command_service.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/commands/command_service.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative/rules_registry_service.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/storage/managed_value_store_cache.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/extensions/error_console/error_console.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/error_console/error_console.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller_unittest.cc View 1 2 3 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 3 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 7 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 9 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_storage_monitor.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_storage_monitor.cc View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/external_install_error.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/external_install_manager.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_install_manager.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/shared_module_service.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/shared_module_service.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/shared_module_service_unittest.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/search/hotword_service.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/extensions_helper.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_extension_helper.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_file_system_service.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/themes/theme_service_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_syncable_service.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_model_builder.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/extension_app_model_builder.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/extension_uninstaller.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/recommended_apps.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/recommended_apps.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_result.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_result.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_browsertest.mm View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.mm View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_enable_flow.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_enable_flow.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M extensions/browser/extension_registry.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M extensions/browser/extension_registry.cc View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M extensions/browser/extension_registry_observer.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/extension_registry_unittest.cc View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M extensions/browser/state_store.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M extensions/browser/state_store.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/test_extension_registry_observer.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M extensions/browser/test_extension_registry_observer.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A extensions/browser/uninstall_reason.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
rpaquay
This is a follow up to https://codereview.chromium.org/284103002/. There should be no behavior change (next CL ...
6 years, 5 months ago (2014-07-16 18:08:04 UTC) #1
Devlin
https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h File chrome/browser/chrome_notification_types.h (right): https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h#newcode422 chrome/browser/chrome_notification_types.h:422: // UnloadedExtensionInfo, and the source is a Profile. Is ...
6 years, 5 months ago (2014-07-16 20:05:43 UTC) #2
rpaquay
https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h File chrome/browser/chrome_notification_types.h (right): https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h#newcode422 chrome/browser/chrome_notification_types.h:422: // UnloadedExtensionInfo, and the source is a Profile. On ...
6 years, 5 months ago (2014-07-16 21:16:45 UTC) #3
Devlin
https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h File chrome/browser/chrome_notification_types.h (right): https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h#newcode422 chrome/browser/chrome_notification_types.h:422: // UnloadedExtensionInfo, and the source is a Profile. On ...
6 years, 5 months ago (2014-07-16 21:29:38 UTC) #4
rpaquay
https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h File chrome/browser/chrome_notification_types.h (right): https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h#newcode422 chrome/browser/chrome_notification_types.h:422: // UnloadedExtensionInfo, and the source is a Profile. On ...
6 years, 5 months ago (2014-07-16 22:14:35 UTC) #5
Devlin
https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h File chrome/browser/chrome_notification_types.h (right): https://codereview.chromium.org/398083002/diff/1/chrome/browser/chrome_notification_types.h#newcode422 chrome/browser/chrome_notification_types.h:422: // UnloadedExtensionInfo, and the source is a Profile. On ...
6 years, 5 months ago (2014-07-16 22:17:30 UTC) #6
rpaquay
PTAL. Note that this CL should still be a refactoring with no behavior change, i.e. ...
6 years, 5 months ago (2014-07-16 23:45:16 UTC) #7
Devlin
Two things: - It looks like most of the objects uninstalling the extensions don't include ...
6 years, 5 months ago (2014-07-17 20:22:05 UTC) #8
rpaquay
PTAL: Both issues addressed.
6 years, 5 months ago (2014-07-17 21:37:08 UTC) #9
Devlin
On 2014/07/17 21:37:08, rpaquay wrote: > PTAL: Both issues addressed. Awesome, thanks :) LGTM
6 years, 5 months ago (2014-07-17 21:48:41 UTC) #10
rpaquay
sky@: TBR for trivial changes under chrome/browser, except chrome/browser/extensions (already lgtm'ed).
6 years, 5 months ago (2014-07-20 17:22:56 UTC) #11
rpaquay
The CQ bit was checked by rpaquay@chromium.org
6 years, 5 months ago (2014-07-20 17:23:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/398083002/100001
6 years, 5 months ago (2014-07-20 17:23:32 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-20 21:46:42 UTC) #14
Message was sent while issue was closed.
Change committed as 284381

Powered by Google App Engine
This is Rietveld 408576698