OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/mock_extension_system.h" | 5 #include "extensions/browser/mock_extension_system.h" |
6 | 6 |
7 #include "extensions/common/extension_set.h" | 7 #include "extensions/common/extension_set.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 | 28 |
29 RuntimeData* MockExtensionSystem::runtime_data() { | 29 RuntimeData* MockExtensionSystem::runtime_data() { |
30 return NULL; | 30 return NULL; |
31 } | 31 } |
32 | 32 |
33 ManagementPolicy* MockExtensionSystem::management_policy() { | 33 ManagementPolicy* MockExtensionSystem::management_policy() { |
34 return NULL; | 34 return NULL; |
35 } | 35 } |
36 | 36 |
37 UserScriptMaster* MockExtensionSystem::user_script_master() { | 37 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() { |
38 return NULL; | 38 return NULL; |
39 } | 39 } |
40 | 40 |
41 ProcessManager* MockExtensionSystem::process_manager() { | 41 ProcessManager* MockExtensionSystem::process_manager() { |
42 return NULL; | 42 return NULL; |
43 } | 43 } |
44 | 44 |
45 StateStore* MockExtensionSystem::state_store() { | 45 StateStore* MockExtensionSystem::state_store() { |
46 return NULL; | 46 return NULL; |
47 } | 47 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 } | 83 } |
84 | 84 |
85 const OneShotEvent& MockExtensionSystem::ready() const { | 85 const OneShotEvent& MockExtensionSystem::ready() const { |
86 return ready_; | 86 return ready_; |
87 } | 87 } |
88 | 88 |
89 ContentVerifier* MockExtensionSystem::content_verifier() { | 89 ContentVerifier* MockExtensionSystem::content_verifier() { |
90 return NULL; | 90 return NULL; |
91 } | 91 } |
92 | 92 |
| 93 DeclarativeUserScriptMaster* |
| 94 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension( |
| 95 const ExtensionId& extension_id) { |
| 96 return NULL; |
| 97 } |
| 98 |
93 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 99 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
94 const Extension* extension) { | 100 const Extension* extension) { |
95 return scoped_ptr<ExtensionSet>(); | 101 return scoped_ptr<ExtensionSet>(); |
96 } | 102 } |
97 | 103 |
98 } // namespace extensions | 104 } // namespace extensions |
OLD | NEW |