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

Side by Side Diff: chrome/browser/extensions/browser_context_keyed_service_factories.cc

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "chrome/common/features.h"
56 #include "components/spellcheck/spellcheck_build_features.h" 56 #include "components/spellcheck/spellcheck_build_features.h"
57 #include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h " 57 #include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h "
58 #include "ppapi/features/features.h"
58 59
59 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
60 #include "chrome/browser/chromeos/extensions/file_manager/event_router_factory.h " 61 #include "chrome/browser/chromeos/extensions/file_manager/event_router_factory.h "
61 #include "chrome/browser/chromeos/extensions/input_method_api.h" 62 #include "chrome/browser/chromeos/extensions/input_method_api.h"
62 #include "chrome/browser/chromeos/extensions/media_player_api.h" 63 #include "chrome/browser/chromeos/extensions/media_player_api.h"
63 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" 64 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
64 #include "chrome/browser/extensions/api/log_private/log_private_api.h" 65 #include "chrome/browser/extensions/api/log_private/log_private_api.h"
65 #elif defined(OS_LINUX) || defined(OS_WIN) 66 #elif defined(OS_LINUX) || defined(OS_WIN)
66 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" 67 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
67 #endif 68 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 #endif 120 #endif
120 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 121 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
121 extensions::MDnsAPI::GetFactoryInstance(); 122 extensions::MDnsAPI::GetFactoryInstance();
122 #endif 123 #endif
123 #if defined(OS_CHROMEOS) 124 #if defined(OS_CHROMEOS)
124 extensions::MediaPlayerAPI::GetFactoryInstance(); 125 extensions::MediaPlayerAPI::GetFactoryInstance();
125 #endif 126 #endif
126 extensions::MenuManagerFactory::GetInstance(); 127 extensions::MenuManagerFactory::GetInstance();
127 extensions::OmniboxAPI::GetFactoryInstance(); 128 extensions::OmniboxAPI::GetFactoryInstance();
128 extensions::PasswordsPrivateEventRouterFactory::GetInstance(); 129 extensions::PasswordsPrivateEventRouterFactory::GetInstance();
129 #if defined(ENABLE_PLUGINS) 130 #if BUILDFLAG(ENABLE_PLUGINS)
130 extensions::PluginManager::GetFactoryInstance(); 131 extensions::PluginManager::GetFactoryInstance();
131 #endif 132 #endif
132 extensions::PreferenceAPI::GetFactoryInstance(); 133 extensions::PreferenceAPI::GetFactoryInstance();
133 extensions::ProcessesAPI::GetFactoryInstance(); 134 extensions::ProcessesAPI::GetFactoryInstance();
134 extensions::ScreenlockPrivateEventRouter::GetFactoryInstance(); 135 extensions::ScreenlockPrivateEventRouter::GetFactoryInstance();
135 extensions::SessionsAPI::GetFactoryInstance(); 136 extensions::SessionsAPI::GetFactoryInstance();
136 extensions::SettingsPrivateEventRouterFactory::GetInstance(); 137 extensions::SettingsPrivateEventRouterFactory::GetInstance();
137 extensions::SettingsOverridesAPI::GetFactoryInstance(); 138 extensions::SettingsOverridesAPI::GetFactoryInstance();
138 extensions::SignedInDevicesManager::GetFactoryInstance(); 139 extensions::SignedInDevicesManager::GetFactoryInstance();
139 #if BUILDFLAG(ENABLE_SPELLCHECK) 140 #if BUILDFLAG(ENABLE_SPELLCHECK)
140 extensions::SpellcheckAPI::GetFactoryInstance(); 141 extensions::SpellcheckAPI::GetFactoryInstance();
141 #endif 142 #endif
142 extensions::StreamsPrivateAPI::GetFactoryInstance(); 143 extensions::StreamsPrivateAPI::GetFactoryInstance();
143 extensions::TabCaptureRegistry::GetFactoryInstance(); 144 extensions::TabCaptureRegistry::GetFactoryInstance();
144 extensions::TabsWindowsAPI::GetFactoryInstance(); 145 extensions::TabsWindowsAPI::GetFactoryInstance();
145 extensions::TtsAPI::GetFactoryInstance(); 146 extensions::TtsAPI::GetFactoryInstance();
146 extensions::WarningBadgeServiceFactory::GetInstance(); 147 extensions::WarningBadgeServiceFactory::GetInstance();
147 extensions::WebNavigationAPI::GetFactoryInstance(); 148 extensions::WebNavigationAPI::GetFactoryInstance();
148 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance(); 149 extensions::WebrtcAudioPrivateEventService::GetFactoryInstance();
149 #if defined(OS_CHROMEOS) 150 #if defined(OS_CHROMEOS)
150 file_manager::EventRouterFactory::GetInstance(); 151 file_manager::EventRouterFactory::GetInstance();
151 #endif 152 #endif
152 TokenCacheServiceFactory::GetInstance(); 153 TokenCacheServiceFactory::GetInstance();
153 ToolbarActionsModelFactory::GetInstance(); 154 ToolbarActionsModelFactory::GetInstance();
154 extensions::ExtensionGCMAppHandler::GetFactoryInstance(); 155 extensions::ExtensionGCMAppHandler::GetFactoryInstance();
155 } 156 }
156 157
157 } // namespace chrome_extensions 158 } // namespace chrome_extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/component_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698