summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/shell_browser_context_keyed_service_factories.cc
blob: 9d3767f2fae302a4861fae2ac747d6e28e250263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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"

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();
}

}  // namespace shell
}  // namespace extensions