Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / extensions / browser / browser_context_keyed_service_factories.cc
blobe6cd44d7482d3dc9c1e795d56a8abcd565a97854
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 "extensions/browser/browser_context_keyed_service_factories.h"
7 #include "extensions/browser/api/api_resource_manager.h"
8 #include "extensions/browser/api/management/management_api.h"
9 #include "extensions/browser/api/runtime/runtime_api.h"
10 #include "extensions/browser/api/serial/serial_connection.h"
11 #include "extensions/browser/api/socket/socket.h"
12 #include "extensions/browser/api/socket/tcp_socket.h"
13 #include "extensions/browser/api/socket/udp_socket.h"
14 #include "extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h"
15 #include "extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h"
16 #include "extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h"
17 #include "extensions/browser/api/storage/storage_frontend.h"
18 #include "extensions/browser/api/system_info/system_info_api.h"
19 #include "extensions/browser/extension_prefs_factory.h"
20 #include "extensions/browser/process_manager_factory.h"
21 #include "extensions/browser/renderer_startup_helper.h"
23 namespace extensions {
25 void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
26 ApiResourceManager<
27 extensions::ResumableTCPServerSocket>::GetFactoryInstance();
28 ApiResourceManager<extensions::ResumableTCPSocket>::GetFactoryInstance();
29 ApiResourceManager<extensions::ResumableUDPSocket>::GetFactoryInstance();
30 ApiResourceManager<extensions::SerialConnection>::GetFactoryInstance();
31 ApiResourceManager<extensions::Socket>::GetFactoryInstance();
32 core_api::TCPServerSocketEventDispatcher::GetFactoryInstance();
33 core_api::TCPSocketEventDispatcher::GetFactoryInstance();
34 core_api::UDPSocketEventDispatcher::GetFactoryInstance();
35 extensions::ManagementAPI::GetFactoryInstance();
36 ExtensionPrefsFactory::GetInstance();
37 ProcessManagerFactory::GetInstance();
38 RendererStartupHelperFactory::GetInstance();
39 RuntimeAPI::GetFactoryInstance();
40 StorageFrontend::GetFactoryInstance();
41 SystemInfoAPI::GetFactoryInstance();
44 } // namespace extensions