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

#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"

namespace extensions {

ExtensionSystem::ExtensionSystem() {
}

ExtensionSystem::~ExtensionSystem() {
}

// static
ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) {
  return ExtensionsBrowserClient::Get()
      ->GetExtensionSystemFactory()
      ->GetForBrowserContext(context);
}

}  // namespace extensions