OLD | NEW |
---|---|
(Empty) | |
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 "content/public/browser/browser_context.h" | |
James Cook
2014/08/12 15:46:27
Do you need this header?
Yoyo Zhou
2014/08/12 22:05:47
Good call.
| |
8 #include "extensions/common/extension_set.h" | |
James Cook
2014/08/12 15:46:27
Aside: This is why I don't like CreateFoo() method
Yoyo Zhou
2014/08/12 22:05:47
It is unfortunate.
| |
9 | |
10 namespace extensions { | |
11 | |
12 // | |
13 // MockExtensionSystem | |
14 // | |
15 | |
16 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context) | |
17 : browser_context_(context) { | |
18 } | |
19 | |
20 MockExtensionSystem::~MockExtensionSystem() { | |
21 } | |
22 | |
23 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) { | |
24 } | |
25 | |
26 ExtensionService* MockExtensionSystem::extension_service() { | |
27 return NULL; | |
28 } | |
29 | |
30 RuntimeData* MockExtensionSystem::runtime_data() { | |
31 return NULL; | |
32 } | |
33 | |
34 ManagementPolicy* MockExtensionSystem::management_policy() { | |
35 return NULL; | |
36 } | |
37 | |
38 UserScriptMaster* MockExtensionSystem::user_script_master() { | |
39 return NULL; | |
40 } | |
41 | |
42 ProcessManager* MockExtensionSystem::process_manager() { | |
43 return NULL; | |
44 } | |
45 | |
46 StateStore* MockExtensionSystem::state_store() { | |
47 return NULL; | |
48 } | |
49 | |
50 StateStore* MockExtensionSystem::rules_store() { | |
51 return NULL; | |
52 } | |
53 | |
54 InfoMap* MockExtensionSystem::info_map() { | |
55 return NULL; | |
56 } | |
57 | |
58 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { | |
59 return NULL; | |
60 } | |
61 | |
62 EventRouter* MockExtensionSystem::event_router() { | |
63 return NULL; | |
64 } | |
65 | |
66 ExtensionWarningService* MockExtensionSystem::warning_service() { | |
67 return NULL; | |
68 } | |
69 | |
70 Blacklist* MockExtensionSystem::blacklist() { | |
71 return NULL; | |
72 } | |
73 | |
74 ErrorConsole* MockExtensionSystem::error_console() { | |
75 return NULL; | |
76 } | |
77 | |
78 InstallVerifier* MockExtensionSystem::install_verifier() { | |
79 return NULL; | |
80 } | |
81 | |
82 QuotaService* MockExtensionSystem::quota_service() { | |
83 return NULL; | |
84 } | |
85 | |
86 const OneShotEvent& MockExtensionSystem::ready() const { | |
87 return ready_; | |
88 } | |
89 | |
90 ContentVerifier* MockExtensionSystem::content_verifier() { | |
91 return NULL; | |
92 } | |
93 | |
94 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | |
95 const Extension* extension) { | |
96 return scoped_ptr<ExtensionSet>(); | |
97 } | |
98 | |
99 } // namespace extensions | |
OLD | NEW |