blob: b3e3501564c23799e6d88d3eeaac99f58e906ab4 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_browser_context_keyed_service_factories.h"
#include "extensions/browser/updater/update_service_factory.h"
#include "extensions/shell/browser/api/identity/identity_api.h"
#include "extensions/shell/browser/shell_extension_system_factory.h"
namespace extensions {
namespace shell {
void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
IdentityAPI::GetFactoryInstance();
// TODO(rockot): Remove this once UpdateService is supported across all
// extensions embedders (and namely chrome.)
UpdateServiceFactory::GetInstance();
ShellExtensionSystemFactory::GetInstance();
}
} // namespace shell
} // namespace extensions