Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / extensions / browser_context_keyed_service_factories.cc
blob934390d12b606f78604cdc90f3d54e421bfe0328
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
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h"
7 #include "chrome/browser/extensions/activity_log/activity_log.h"
8 #include "chrome/browser/extensions/api/activity_log_private/activity_log_private_api.h"
9 #include "chrome/browser/extensions/api/autofill_private/autofill_private_event_router_factory.h"
10 #include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h"
11 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h"
12 #include "chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h"
13 #include "chrome/browser/extensions/api/commands/command_service.h"
14 #include "chrome/browser/extensions/api/content_settings/content_settings_service.h"
15 #include "chrome/browser/extensions/api/cookies/cookies_api.h"
16 #include "chrome/browser/extensions/api/developer_private/developer_private_api.h"
17 #include "chrome/browser/extensions/api/dial/dial_api_factory.h"
18 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h"
19 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
20 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h"
21 #include "chrome/browser/extensions/api/font_settings/font_settings_api.h"
22 #include "chrome/browser/extensions/api/gcd_private/gcd_private_api.h"
23 #include "chrome/browser/extensions/api/history/history_api.h"
24 #include "chrome/browser/extensions/api/hotword_private/hotword_private_api.h"
25 #include "chrome/browser/extensions/api/identity/identity_api.h"
26 #include "chrome/browser/extensions/api/language_settings_private/language_settings_private_delegate_factory.h"
27 #include "chrome/browser/extensions/api/location/location_manager.h"
28 #include "chrome/browser/extensions/api/mdns/mdns_api.h"
29 #include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
30 #include "chrome/browser/extensions/api/passwords_private/passwords_private_event_router_factory.h"
31 #include "chrome/browser/extensions/api/preference/chrome_direct_setting_api.h"
32 #include "chrome/browser/extensions/api/preference/preference_api.h"
33 #include "chrome/browser/extensions/api/processes/processes_api.h"
34 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h"
35 #include "chrome/browser/extensions/api/search_engines_private/search_engines_private_event_router_factory.h"
36 #include "chrome/browser/extensions/api/sessions/sessions_api.h"
37 #include "chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h"
38 #include "chrome/browser/extensions/api/settings_private/settings_private_event_router_factory.h"
39 #include "chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.h"
40 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h"
41 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry.h"
42 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
43 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
44 #include "chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.h"
45 #include "chrome/browser/extensions/api/webstore/webstore_api.h"
46 #include "chrome/browser/extensions/extension_garbage_collector_factory.h"
47 #include "chrome/browser/extensions/extension_gcm_app_handler.h"
48 #include "chrome/browser/extensions/extension_storage_monitor_factory.h"
49 #include "chrome/browser/extensions/extension_system_factory.h"
50 #include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
51 #include "chrome/browser/extensions/install_tracker_factory.h"
52 #include "chrome/browser/extensions/install_verifier_factory.h"
53 #include "chrome/browser/extensions/menu_manager_factory.h"
54 #include "chrome/browser/extensions/plugin_manager.h"
55 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h"
56 #include "chrome/browser/extensions/warning_badge_service_factory.h"
57 #include "chrome/browser/speech/extension_api/tts_extension_api.h"
58 #include "chrome/browser/ui/toolbar/toolbar_actions_model_factory.h"
60 #if defined(OS_CHROMEOS)
61 #include "chrome/browser/chromeos/extensions/file_manager/event_router_factory.h"
62 #include "chrome/browser/chromeos/extensions/input_method_api.h"
63 #include "chrome/browser/chromeos/extensions/media_player_api.h"
64 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
65 #include "chrome/browser/extensions/api/log_private/log_private_api.h"
66 #endif
68 #if defined(ENABLE_SPELLCHECK)
69 #include "chrome/browser/extensions/api/spellcheck/spellcheck_api.h"
70 #endif
72 namespace chrome_extensions {
74 void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
75 extensions::ActivityLog::GetFactoryInstance();
76 extensions::ActivityLogAPI::GetFactoryInstance();
77 extensions::AutofillPrivateEventRouterFactory::GetInstance();
78 extensions::BookmarksAPI::GetFactoryInstance();
79 extensions::BookmarkManagerPrivateAPI::GetFactoryInstance();
80 extensions::BrailleDisplayPrivateAPI::GetFactoryInstance();
81 extensions::chromedirectsetting::ChromeDirectSettingAPI::GetFactoryInstance();
82 extensions::CommandService::GetFactoryInstance();
83 extensions::ContentSettingsService::GetFactoryInstance();
84 extensions::CookiesAPI::GetFactoryInstance();
85 extensions::DeveloperPrivateAPI::GetFactoryInstance();
86 extensions::DialAPIFactory::GetInstance();
87 extensions::EasyUnlockPrivateAPI::GetFactoryInstance();
88 extensions::ExtensionActionAPI::GetFactoryInstance();
89 extensions::ExtensionGarbageCollectorFactory::GetInstance();
90 extensions::ExtensionStorageMonitorFactory::GetInstance();
91 extensions::ExtensionSystemFactory::GetInstance();
92 extensions::ExtensionWebUIOverrideRegistrar::GetFactoryInstance();
93 extensions::FeedbackPrivateAPI::GetFactoryInstance();
94 extensions::FontSettingsAPI::GetFactoryInstance();
95 extensions::GcdPrivateAPI::GetFactoryInstance();
96 extensions::HistoryAPI::GetFactoryInstance();
97 extensions::HotwordPrivateEventService::GetFactoryInstance();
98 extensions::IdentityAPI::GetFactoryInstance();
99 extensions::InstallTrackerFactory::GetInstance();
100 extensions::InstallVerifierFactory::GetInstance();
101 #if defined(OS_CHROMEOS)
102 extensions::InputImeAPI::GetFactoryInstance();
103 extensions::InputMethodAPI::GetFactoryInstance();
104 #endif
105 extensions::LanguageSettingsPrivateDelegateFactory::GetInstance();
106 extensions::LocationManager::GetFactoryInstance();
107 #if defined(OS_CHROMEOS)
108 extensions::LogPrivateAPI::GetFactoryInstance();
109 #endif
110 extensions::MDnsAPI::GetFactoryInstance();
111 #if defined(OS_CHROMEOS)
112 extensions::MediaPlayerAPI::GetFactoryInstance();
113 #endif
114 extensions::MenuManagerFactory::GetInstance();
115 extensions::OmniboxAPI::GetFactoryInstance();
116 extensions::PasswordsPrivateEventRouterFactory::GetInstance();
117 #if defined(ENABLE_PLUGINS)
118 extensions::PluginManager::GetFactoryInstance();
119 #endif // defined(ENABLE_PLUGINS)
120 extensions::PreferenceAPI::GetFactoryInstance();
121 extensions::ProcessesAPI::GetFactoryInstance();
122 extensions::ScreenlockPrivateEventRouter::GetFactoryInstance();
123 extensions::SearchEnginesPrivateEventRouterFactory::GetInstance();
124 extensions::SessionsAPI::GetFactoryInstance();
125 extensions::SettingsPrivateEventRouterFactory::GetInstance();
126 extensions::SettingsOverridesAPI::GetFactoryInstance();
127 extensions::SignedInDevicesManager::GetFactoryInstance();
128 #if defined(ENABLE_SPELLCHECK)
129 extensions::SpellcheckAPI::GetFactoryInstance();
130 #endif
131 extensions::StreamsPrivateAPI::GetFactoryInstance();
132 extensions::TabCaptureRegistry::GetFactoryInstance();
133 extensions::TabsWindowsAPI::GetFactoryInstance();
134 extensions::TtsAPI::GetFactoryInstance();
135 extensions::WarningBadgeServiceFactory::GetInstance();
136 extensions::WebNavigationAPI::GetFactoryInstance();
137 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance();
138 extensions::WebstoreAPI::GetFactoryInstance();
139 #if defined(OS_CHROMEOS)
140 file_manager::EventRouterFactory::GetInstance();
141 #endif
142 TokenCacheServiceFactory::GetInstance();
143 ToolbarActionsModelFactory::GetInstance();
144 extensions::ExtensionGCMAppHandler::GetFactoryInstance();
147 } // namespace chrome_extensions