Fix search results being clipped in app list.
[chromium-blink-merge.git] / extensions / browser / mock_extension_system.cc
blobb22b0d105820f9a524172221b368ee67dca5ac48
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), event_router_(nullptr) {
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 DeclarativeUserScriptManager*
38 MockExtensionSystem::declarative_user_script_manager() {
39 return nullptr;
42 StateStore* MockExtensionSystem::state_store() {
43 return nullptr;
46 StateStore* MockExtensionSystem::rules_store() {
47 return nullptr;
50 InfoMap* MockExtensionSystem::info_map() {
51 return nullptr;
54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
55 return nullptr;
58 EventRouter* MockExtensionSystem::event_router() {
59 return event_router_;
62 ErrorConsole* MockExtensionSystem::error_console() {
63 return nullptr;
66 InstallVerifier* MockExtensionSystem::install_verifier() {
67 return nullptr;
70 QuotaService* MockExtensionSystem::quota_service() {
71 return nullptr;
74 const OneShotEvent& MockExtensionSystem::ready() const {
75 return ready_;
78 ContentVerifier* MockExtensionSystem::content_verifier() {
79 return nullptr;
82 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
83 const Extension* extension) {
84 return scoped_ptr<ExtensionSet>();
87 } // namespace extensions