| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/browser_context_keyed_service_factories.h" | 5 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "chrome/browser/extensions/activity_log/activity_log.h" | 8 #include "chrome/browser/extensions/activity_log/activity_log.h" |
| 9 #include "chrome/browser/extensions/api/activity_log_private/activity_log_privat
e_api.h" | 9 #include "chrome/browser/extensions/api/activity_log_private/activity_log_privat
e_api.h" |
| 10 #include "chrome/browser/extensions/api/autofill_private/autofill_private_event_
router_factory.h" | 10 #include "chrome/browser/extensions/api/autofill_private/autofill_private_event_
router_factory.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "chrome/browser/extensions/extension_system_factory.h" | 45 #include "chrome/browser/extensions/extension_system_factory.h" |
| 46 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" | 46 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" |
| 47 #include "chrome/browser/extensions/install_tracker_factory.h" | 47 #include "chrome/browser/extensions/install_tracker_factory.h" |
| 48 #include "chrome/browser/extensions/install_verifier_factory.h" | 48 #include "chrome/browser/extensions/install_verifier_factory.h" |
| 49 #include "chrome/browser/extensions/menu_manager_factory.h" | 49 #include "chrome/browser/extensions/menu_manager_factory.h" |
| 50 #include "chrome/browser/extensions/plugin_manager.h" | 50 #include "chrome/browser/extensions/plugin_manager.h" |
| 51 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" | 51 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" |
| 52 #include "chrome/browser/extensions/warning_badge_service_factory.h" | 52 #include "chrome/browser/extensions/warning_badge_service_factory.h" |
| 53 #include "chrome/browser/speech/extension_api/tts_extension_api.h" | 53 #include "chrome/browser/speech/extension_api/tts_extension_api.h" |
| 54 #include "chrome/browser/ui/toolbar/toolbar_actions_model_factory.h" | 54 #include "chrome/browser/ui/toolbar/toolbar_actions_model_factory.h" |
| 55 #include "chrome/common/features.h" |
| 55 #include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h
" | 56 #include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h
" |
| 56 | 57 |
| 57 #if defined(OS_CHROMEOS) | 58 #if defined(OS_CHROMEOS) |
| 58 #include "chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
" | 59 #include "chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
" |
| 59 #include "chrome/browser/chromeos/extensions/input_method_api.h" | 60 #include "chrome/browser/chromeos/extensions/input_method_api.h" |
| 60 #include "chrome/browser/chromeos/extensions/media_player_api.h" | 61 #include "chrome/browser/chromeos/extensions/media_player_api.h" |
| 61 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" | 62 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" |
| 62 #include "chrome/browser/extensions/api/log_private/log_private_api.h" | 63 #include "chrome/browser/extensions/api/log_private/log_private_api.h" |
| 63 #elif defined(OS_LINUX) || defined(OS_WIN) | 64 #elif defined(OS_LINUX) || defined(OS_WIN) |
| 64 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" | 65 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" |
| 65 #endif | 66 #endif |
| 66 | 67 |
| 67 #if defined(ENABLE_SERVICE_DISCOVERY) | 68 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
| 68 #include "chrome/browser/extensions/api/gcd_private/gcd_private_api.h" | 69 #include "chrome/browser/extensions/api/gcd_private/gcd_private_api.h" |
| 69 #include "chrome/browser/extensions/api/mdns/mdns_api.h" | 70 #include "chrome/browser/extensions/api/mdns/mdns_api.h" |
| 70 #endif | 71 #endif |
| 71 | 72 |
| 72 #if defined(ENABLE_SPELLCHECK) | 73 #if defined(ENABLE_SPELLCHECK) |
| 73 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" | 74 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h" |
| 74 #endif | 75 #endif |
| 75 | 76 |
| 76 namespace chrome_extensions { | 77 namespace chrome_extensions { |
| 77 | 78 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 90 extensions::DeveloperPrivateAPI::GetFactoryInstance(); | 91 extensions::DeveloperPrivateAPI::GetFactoryInstance(); |
| 91 extensions::DialAPIFactory::GetInstance(); | 92 extensions::DialAPIFactory::GetInstance(); |
| 92 extensions::EasyUnlockPrivateAPI::GetFactoryInstance(); | 93 extensions::EasyUnlockPrivateAPI::GetFactoryInstance(); |
| 93 extensions::ExtensionActionAPI::GetFactoryInstance(); | 94 extensions::ExtensionActionAPI::GetFactoryInstance(); |
| 94 extensions::ExtensionGarbageCollectorFactory::GetInstance(); | 95 extensions::ExtensionGarbageCollectorFactory::GetInstance(); |
| 95 extensions::ExtensionStorageMonitorFactory::GetInstance(); | 96 extensions::ExtensionStorageMonitorFactory::GetInstance(); |
| 96 extensions::ExtensionSystemFactory::GetInstance(); | 97 extensions::ExtensionSystemFactory::GetInstance(); |
| 97 extensions::ExtensionWebUIOverrideRegistrar::GetFactoryInstance(); | 98 extensions::ExtensionWebUIOverrideRegistrar::GetFactoryInstance(); |
| 98 extensions::FeedbackPrivateAPI::GetFactoryInstance(); | 99 extensions::FeedbackPrivateAPI::GetFactoryInstance(); |
| 99 extensions::FontSettingsAPI::GetFactoryInstance(); | 100 extensions::FontSettingsAPI::GetFactoryInstance(); |
| 100 #if defined(ENABLE_SERVICE_DISCOVERY) | 101 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
| 101 extensions::GcdPrivateAPI::GetFactoryInstance(); | 102 extensions::GcdPrivateAPI::GetFactoryInstance(); |
| 102 #endif | 103 #endif |
| 103 extensions::HistoryAPI::GetFactoryInstance(); | 104 extensions::HistoryAPI::GetFactoryInstance(); |
| 104 extensions::HotwordPrivateEventService::GetFactoryInstance(); | 105 extensions::HotwordPrivateEventService::GetFactoryInstance(); |
| 105 extensions::IdentityAPI::GetFactoryInstance(); | 106 extensions::IdentityAPI::GetFactoryInstance(); |
| 106 extensions::InstallTrackerFactory::GetInstance(); | 107 extensions::InstallTrackerFactory::GetInstance(); |
| 107 extensions::InstallVerifierFactory::GetInstance(); | 108 extensions::InstallVerifierFactory::GetInstance(); |
| 108 #if defined(OS_CHROMEOS) | 109 #if defined(OS_CHROMEOS) |
| 109 extensions::InputImeAPI::GetFactoryInstance(); | 110 extensions::InputImeAPI::GetFactoryInstance(); |
| 110 extensions::InputMethodAPI::GetFactoryInstance(); | 111 extensions::InputMethodAPI::GetFactoryInstance(); |
| 111 #elif defined(OS_LINUX) || defined(OS_WIN) | 112 #elif defined(OS_LINUX) || defined(OS_WIN) |
| 112 extensions::InputImeAPI::GetFactoryInstance(); | 113 extensions::InputImeAPI::GetFactoryInstance(); |
| 113 #endif | 114 #endif |
| 114 extensions::LanguageSettingsPrivateDelegateFactory::GetInstance(); | 115 extensions::LanguageSettingsPrivateDelegateFactory::GetInstance(); |
| 115 #if defined(OS_CHROMEOS) | 116 #if defined(OS_CHROMEOS) |
| 116 extensions::LogPrivateAPI::GetFactoryInstance(); | 117 extensions::LogPrivateAPI::GetFactoryInstance(); |
| 117 #endif | 118 #endif |
| 118 #if defined(ENABLE_SERVICE_DISCOVERY) | 119 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
| 119 extensions::MDnsAPI::GetFactoryInstance(); | 120 extensions::MDnsAPI::GetFactoryInstance(); |
| 120 #endif | 121 #endif |
| 121 #if defined(OS_CHROMEOS) | 122 #if defined(OS_CHROMEOS) |
| 122 extensions::MediaPlayerAPI::GetFactoryInstance(); | 123 extensions::MediaPlayerAPI::GetFactoryInstance(); |
| 123 #endif | 124 #endif |
| 124 extensions::MenuManagerFactory::GetInstance(); | 125 extensions::MenuManagerFactory::GetInstance(); |
| 125 extensions::OmniboxAPI::GetFactoryInstance(); | 126 extensions::OmniboxAPI::GetFactoryInstance(); |
| 126 extensions::PasswordsPrivateEventRouterFactory::GetInstance(); | 127 extensions::PasswordsPrivateEventRouterFactory::GetInstance(); |
| 127 #if defined(ENABLE_PLUGINS) | 128 #if defined(ENABLE_PLUGINS) |
| 128 extensions::PluginManager::GetFactoryInstance(); | 129 extensions::PluginManager::GetFactoryInstance(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 146 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance(); | 147 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance(); |
| 147 #if defined(OS_CHROMEOS) | 148 #if defined(OS_CHROMEOS) |
| 148 file_manager::EventRouterFactory::GetInstance(); | 149 file_manager::EventRouterFactory::GetInstance(); |
| 149 #endif | 150 #endif |
| 150 TokenCacheServiceFactory::GetInstance(); | 151 TokenCacheServiceFactory::GetInstance(); |
| 151 ToolbarActionsModelFactory::GetInstance(); | 152 ToolbarActionsModelFactory::GetInstance(); |
| 152 extensions::ExtensionGCMAppHandler::GetFactoryInstance(); | 153 extensions::ExtensionGCMAppHandler::GetFactoryInstance(); |
| 153 } | 154 } |
| 154 | 155 |
| 155 } // namespace chrome_extensions | 156 } // namespace chrome_extensions |
| OLD | NEW |