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"
12 // MockExtensionSystem
15 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
16 : browser_context_(context) {
19 MockExtensionSystem::~MockExtensionSystem() {
22 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) {
25 ExtensionService* MockExtensionSystem::extension_service() {
29 RuntimeData* MockExtensionSystem::runtime_data() {
33 ManagementPolicy* MockExtensionSystem::management_policy() {
37 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() {
41 StateStore* MockExtensionSystem::state_store() {
45 StateStore* MockExtensionSystem::rules_store() {
49 InfoMap* MockExtensionSystem::info_map() {
53 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
57 EventRouter* MockExtensionSystem::event_router() {
61 ErrorConsole* MockExtensionSystem::error_console() {
65 InstallVerifier* MockExtensionSystem::install_verifier() {
69 QuotaService* MockExtensionSystem::quota_service() {
73 const OneShotEvent& MockExtensionSystem::ready() const {
77 ContentVerifier* MockExtensionSystem::content_verifier() {
81 DeclarativeUserScriptMaster*
82 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
83 const ExtensionId& extension_id) {
87 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
88 const Extension* extension) {
89 return scoped_ptr<ExtensionSet>();
92 } // namespace extensions