OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/extension_service.h" | 5 #include "chrome/browser/extensions/extension_service.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "chrome/browser/accessibility/accessibility_extension_api.h" | 29 #include "chrome/browser/accessibility/accessibility_extension_api.h" |
30 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 30 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
31 #include "chrome/browser/browser_process.h" | 31 #include "chrome/browser/browser_process.h" |
32 #include "chrome/browser/devtools/devtools_window.h" | 32 #include "chrome/browser/devtools/devtools_window.h" |
33 #include "chrome/browser/extensions/api/app_runtime/app_runtime_api.h" | 33 #include "chrome/browser/extensions/api/app_runtime/app_runtime_api.h" |
34 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" | 34 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" |
35 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" | 35 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h
" |
36 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 36 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
37 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h" | 37 #include "chrome/browser/extensions/api/push_messaging/push_messaging_api.h" |
38 #include "chrome/browser/extensions/api/runtime/runtime_api.h" | 38 #include "chrome/browser/extensions/api/runtime/runtime_api.h" |
39 #include "chrome/browser/extensions/api/storage/settings_frontend.h" | |
40 #include "chrome/browser/extensions/app_notification_manager.h" | 39 #include "chrome/browser/extensions/app_notification_manager.h" |
41 #include "chrome/browser/extensions/app_sync_data.h" | 40 #include "chrome/browser/extensions/app_sync_data.h" |
42 #include "chrome/browser/extensions/browser_event_router.h" | 41 #include "chrome/browser/extensions/browser_event_router.h" |
43 #include "chrome/browser/extensions/component_loader.h" | 42 #include "chrome/browser/extensions/component_loader.h" |
44 #include "chrome/browser/extensions/crx_installer.h" | 43 #include "chrome/browser/extensions/crx_installer.h" |
45 #include "chrome/browser/extensions/data_deleter.h" | 44 #include "chrome/browser/extensions/data_deleter.h" |
46 #include "chrome/browser/extensions/extension_disabled_ui.h" | 45 #include "chrome/browser/extensions/extension_disabled_ui.h" |
47 #include "chrome/browser/extensions/extension_error_reporter.h" | 46 #include "chrome/browser/extensions/extension_error_reporter.h" |
48 #include "chrome/browser/extensions/extension_error_ui.h" | 47 #include "chrome/browser/extensions/extension_error_ui.h" |
49 #include "chrome/browser/extensions/extension_host.h" | 48 #include "chrome/browser/extensions/extension_host.h" |
50 #include "chrome/browser/extensions/extension_install_ui.h" | 49 #include "chrome/browser/extensions/extension_install_ui.h" |
51 #include "chrome/browser/extensions/extension_process_manager.h" | 50 #include "chrome/browser/extensions/extension_process_manager.h" |
52 #include "chrome/browser/extensions/extension_sorting.h" | 51 #include "chrome/browser/extensions/extension_sorting.h" |
53 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 52 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
54 #include "chrome/browser/extensions/extension_sync_data.h" | 53 #include "chrome/browser/extensions/extension_sync_data.h" |
55 #include "chrome/browser/extensions/extension_system.h" | 54 #include "chrome/browser/extensions/extension_system.h" |
56 #include "chrome/browser/extensions/extension_web_ui.h" | 55 #include "chrome/browser/extensions/extension_web_ui.h" |
57 #include "chrome/browser/extensions/external_install_ui.h" | 56 #include "chrome/browser/extensions/external_install_ui.h" |
58 #include "chrome/browser/extensions/external_provider_impl.h" | 57 #include "chrome/browser/extensions/external_provider_impl.h" |
59 #include "chrome/browser/extensions/external_provider_interface.h" | 58 #include "chrome/browser/extensions/external_provider_interface.h" |
60 #include "chrome/browser/extensions/installed_loader.h" | 59 #include "chrome/browser/extensions/installed_loader.h" |
61 #include "chrome/browser/extensions/lazy_background_task_queue.h" | 60 #include "chrome/browser/extensions/lazy_background_task_queue.h" |
62 #include "chrome/browser/extensions/management_policy.h" | 61 #include "chrome/browser/extensions/management_policy.h" |
63 #include "chrome/browser/extensions/pending_extension_manager.h" | 62 #include "chrome/browser/extensions/pending_extension_manager.h" |
64 #include "chrome/browser/extensions/permissions_updater.h" | 63 #include "chrome/browser/extensions/permissions_updater.h" |
65 #include "chrome/browser/extensions/platform_app_launcher.h" | 64 #include "chrome/browser/extensions/platform_app_launcher.h" |
| 65 #include "chrome/browser/extensions/settings/settings_frontend.h" |
66 #include "chrome/browser/extensions/shell_window_registry.h" | 66 #include "chrome/browser/extensions/shell_window_registry.h" |
67 #include "chrome/browser/extensions/unpacked_installer.h" | 67 #include "chrome/browser/extensions/unpacked_installer.h" |
68 #include "chrome/browser/extensions/updater/extension_updater.h" | 68 #include "chrome/browser/extensions/updater/extension_updater.h" |
69 #include "chrome/browser/net/chrome_url_request_context.h" | 69 #include "chrome/browser/net/chrome_url_request_context.h" |
70 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 70 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
71 #include "chrome/browser/prefs/pref_service.h" | 71 #include "chrome/browser/prefs/pref_service.h" |
72 #include "chrome/browser/profiles/profile.h" | 72 #include "chrome/browser/profiles/profile.h" |
73 #include "chrome/browser/profiles/profile_manager.h" | 73 #include "chrome/browser/profiles/profile_manager.h" |
74 #include "chrome/browser/themes/theme_service.h" | 74 #include "chrome/browser/themes/theme_service.h" |
75 #include "chrome/browser/themes/theme_service_factory.h" | 75 #include "chrome/browser/themes/theme_service_factory.h" |
(...skipping 3043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3119 scoped_refptr<const Extension> extension = GetInstalledExtension(*it); | 3119 scoped_refptr<const Extension> extension = GetInstalledExtension(*it); |
3120 DCHECK(extension); | 3120 DCHECK(extension); |
3121 if (!extension) | 3121 if (!extension) |
3122 continue; | 3122 continue; |
3123 blacklisted_extensions_.Insert(extension); | 3123 blacklisted_extensions_.Insert(extension); |
3124 UnloadExtension(*it, extension_misc::UNLOAD_REASON_BLACKLIST); | 3124 UnloadExtension(*it, extension_misc::UNLOAD_REASON_BLACKLIST); |
3125 } | 3125 } |
3126 | 3126 |
3127 IdentifyAlertableExtensions(); | 3127 IdentifyAlertableExtensions(); |
3128 } | 3128 } |
OLD | NEW |