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 ManagementPolicy* MockExtensionSystem::management_policy() { | 29 ManagementPolicy* MockExtensionSystem::management_policy() { |
30 return nullptr; | 30 return nullptr; |
31 } | 31 } |
32 | 32 |
33 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() { | 33 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() { |
34 return nullptr; | 34 return nullptr; |
35 } | 35 } |
36 | 36 |
| 37 DeclarativeUserScriptManager* |
| 38 MockExtensionSystem::declarative_user_script_manager() { |
| 39 return nullptr; |
| 40 } |
| 41 |
37 StateStore* MockExtensionSystem::state_store() { | 42 StateStore* MockExtensionSystem::state_store() { |
38 return nullptr; | 43 return nullptr; |
39 } | 44 } |
40 | 45 |
41 StateStore* MockExtensionSystem::rules_store() { | 46 StateStore* MockExtensionSystem::rules_store() { |
42 return nullptr; | 47 return nullptr; |
43 } | 48 } |
44 | 49 |
45 InfoMap* MockExtensionSystem::info_map() { | 50 InfoMap* MockExtensionSystem::info_map() { |
46 return nullptr; | 51 return nullptr; |
(...skipping 20 matching lines...) Expand all Loading... |
67 } | 72 } |
68 | 73 |
69 const OneShotEvent& MockExtensionSystem::ready() const { | 74 const OneShotEvent& MockExtensionSystem::ready() const { |
70 return ready_; | 75 return ready_; |
71 } | 76 } |
72 | 77 |
73 ContentVerifier* MockExtensionSystem::content_verifier() { | 78 ContentVerifier* MockExtensionSystem::content_verifier() { |
74 return nullptr; | 79 return nullptr; |
75 } | 80 } |
76 | 81 |
77 DeclarativeUserScriptMaster* | |
78 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension( | |
79 const ExtensionId& extension_id) { | |
80 return nullptr; | |
81 } | |
82 | |
83 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 82 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
84 const Extension* extension) { | 83 const Extension* extension) { |
85 return scoped_ptr<ExtensionSet>(); | 84 return scoped_ptr<ExtensionSet>(); |
86 } | 85 } |
87 | 86 |
88 } // namespace extensions | 87 } // namespace extensions |
OLD | NEW |