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. 4 5#include "extensions/browser/mock_extension_system.h" 6 7#include "extensions/common/extension_set.h" 8 9namespace extensions { 10 11// 12// MockExtensionSystem 13// 14 15MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context) 16 : browser_context_(context) { 17} 18 19MockExtensionSystem::~MockExtensionSystem() { 20} 21 22void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) { 23} 24 25ExtensionService* MockExtensionSystem::extension_service() { 26 return NULL; 27} 28 29RuntimeData* MockExtensionSystem::runtime_data() { 30 return NULL; 31} 32 33ManagementPolicy* MockExtensionSystem::management_policy() { 34 return NULL; 35} 36 37SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() { 38 return NULL; 39} 40 41ProcessManager* MockExtensionSystem::process_manager() { 42 return NULL; 43} 44 45StateStore* MockExtensionSystem::state_store() { 46 return NULL; 47} 48 49StateStore* MockExtensionSystem::rules_store() { 50 return NULL; 51} 52 53InfoMap* MockExtensionSystem::info_map() { 54 return NULL; 55} 56 57LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { 58 return NULL; 59} 60 61EventRouter* MockExtensionSystem::event_router() { 62 return NULL; 63} 64 65WarningService* MockExtensionSystem::warning_service() { 66 return NULL; 67} 68 69Blacklist* MockExtensionSystem::blacklist() { 70 return NULL; 71} 72 73ErrorConsole* MockExtensionSystem::error_console() { 74 return NULL; 75} 76 77InstallVerifier* MockExtensionSystem::install_verifier() { 78 return NULL; 79} 80 81QuotaService* MockExtensionSystem::quota_service() { 82 return NULL; 83} 84 85const OneShotEvent& MockExtensionSystem::ready() const { 86 return ready_; 87} 88 89ContentVerifier* MockExtensionSystem::content_verifier() { 90 return NULL; 91} 92 93DeclarativeUserScriptMaster* 94 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension( 95 const ExtensionId& extension_id) { 96 return NULL; 97} 98 99scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( 100 const Extension* extension) { 101 return scoped_ptr<ExtensionSet>(); 102} 103 104} // namespace extensions 105