123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)// found in the LICENSE file.
423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/browser_context_keyed_service_factories.h"
623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/api_resource_manager.h"
8010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)#include "extensions/browser/api/runtime/runtime_api.h"
9116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "extensions/browser/api/serial/serial_connection.h"
1023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/socket/socket.h"
1123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/socket/tcp_socket.h"
1223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/socket/udp_socket.h"
1323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h"
1423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h"
1523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h"
1623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/api/storage/storage_frontend.h"
171320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci#include "extensions/browser/api/system_info/system_info_api.h"
1823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/extension_prefs_factory.h"
1923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "extensions/browser/renderer_startup_helper.h"
2023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
2123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)namespace extensions {
2223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
2323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
2423730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  ApiResourceManager<
2523730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)      extensions::ResumableTCPServerSocket>::GetFactoryInstance();
2623730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  ApiResourceManager<extensions::ResumableTCPSocket>::GetFactoryInstance();
2723730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  ApiResourceManager<extensions::ResumableUDPSocket>::GetFactoryInstance();
28116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  ApiResourceManager<extensions::SerialConnection>::GetFactoryInstance();
2923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  ApiResourceManager<extensions::Socket>::GetFactoryInstance();
3023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  core_api::TCPServerSocketEventDispatcher::GetFactoryInstance();
3123730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  core_api::TCPSocketEventDispatcher::GetFactoryInstance();
3223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)  core_api::UDPSocketEventDispatcher::GetFactoryInstance();
33010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)  ExtensionPrefsFactory::GetInstance();
34010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)  RendererStartupHelperFactory::GetInstance();
35010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)  RuntimeAPI::GetFactoryInstance();
36010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)  StorageFrontend::GetFactoryInstance();
371320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci  SystemInfoAPI::GetFactoryInstance();
3823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)}
3923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)
4023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)}  // namespace extensions
41