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 ProcessManager
* MockExtensionSystem::process_manager() {
45 StateStore
* MockExtensionSystem::state_store() {
49 StateStore
* MockExtensionSystem::rules_store() {
53 InfoMap
* MockExtensionSystem::info_map() {
57 LazyBackgroundTaskQueue
* MockExtensionSystem::lazy_background_task_queue() {
61 EventRouter
* MockExtensionSystem::event_router() {
65 WarningService
* MockExtensionSystem::warning_service() {
69 Blacklist
* MockExtensionSystem::blacklist() {
73 ErrorConsole
* MockExtensionSystem::error_console() {
77 InstallVerifier
* MockExtensionSystem::install_verifier() {
81 QuotaService
* MockExtensionSystem::quota_service() {
85 const OneShotEvent
& MockExtensionSystem::ready() const {
89 ContentVerifier
* MockExtensionSystem::content_verifier() {
93 DeclarativeUserScriptMaster
*
94 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
95 const ExtensionId
& extension_id
) {
99 scoped_ptr
<ExtensionSet
> MockExtensionSystem::GetDependentExtensions(
100 const Extension
* extension
) {
101 return scoped_ptr
<ExtensionSet
>();
104 } // namespace extensions