Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / extensions / browser / mock_extension_system.cc
blobbd7c51a190c9670f67f07723936f4b278eeaa96e
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/mock_extension_system.h"
7 #include "extensions/common/extension_set.h"
9 namespace extensions {
11 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
12 : browser_context_(context) {
15 MockExtensionSystem::~MockExtensionSystem() {
18 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) {
21 ExtensionService* MockExtensionSystem::extension_service() {
22 return nullptr;
25 RuntimeData* MockExtensionSystem::runtime_data() {
26 return nullptr;
29 ManagementPolicy* MockExtensionSystem::management_policy() {
30 return nullptr;
33 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() {
34 return nullptr;
37 StateStore* MockExtensionSystem::state_store() {
38 return nullptr;
41 StateStore* MockExtensionSystem::rules_store() {
42 return nullptr;
45 InfoMap* MockExtensionSystem::info_map() {
46 return nullptr;
49 QuotaService* MockExtensionSystem::quota_service() {
50 return nullptr;
53 AppSorting* MockExtensionSystem::app_sorting() {
54 return nullptr;
57 const OneShotEvent& MockExtensionSystem::ready() const {
58 return ready_;
61 ContentVerifier* MockExtensionSystem::content_verifier() {
62 return nullptr;
65 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
66 const Extension* extension) {
67 return scoped_ptr<ExtensionSet>();
70 } // namespace extensions