Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / extensions / browser / mock_extension_system.cc
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
9 namespace extensions {
10
11 //
12 // MockExtensionSystem
13 //
14
15 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
16     : browser_context_(context) {
17 }
18
19 MockExtensionSystem::~MockExtensionSystem() {
20 }
21
22 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) {
23 }
24
25 ExtensionService* MockExtensionSystem::extension_service() {
26   return NULL;
27 }
28
29 RuntimeData* MockExtensionSystem::runtime_data() {
30   return NULL;
31 }
32
33 ManagementPolicy* MockExtensionSystem::management_policy() {
34   return NULL;
35 }
36
37 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() {
38   return NULL;
39 }
40
41 StateStore* MockExtensionSystem::state_store() {
42   return NULL;
43 }
44
45 StateStore* MockExtensionSystem::rules_store() {
46   return NULL;
47 }
48
49 InfoMap* MockExtensionSystem::info_map() {
50   return NULL;
51 }
52
53 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
54   return NULL;
55 }
56
57 EventRouter* MockExtensionSystem::event_router() {
58   return NULL;
59 }
60
61 ErrorConsole* MockExtensionSystem::error_console() {
62   return NULL;
63 }
64
65 InstallVerifier* MockExtensionSystem::install_verifier() {
66   return NULL;
67 }
68
69 QuotaService* MockExtensionSystem::quota_service() {
70   return NULL;
71 }
72
73 const OneShotEvent& MockExtensionSystem::ready() const {
74   return ready_;
75 }
76
77 ContentVerifier* MockExtensionSystem::content_verifier() {
78   return NULL;
79 }
80
81 DeclarativeUserScriptMaster*
82       MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
83           const ExtensionId& extension_id) {
84   return NULL;
85 }
86
87 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
88     const Extension* extension) {
89   return scoped_ptr<ExtensionSet>();
90 }
91
92 }  // namespace extensions