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/browser/value_store/value_store_factory.h" | 7 #include "extensions/browser/value_store/value_store_factory.h" |
8 #include "extensions/common/extension_set.h" | 8 #include "extensions/common/extension_set.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 } | 64 } |
65 | 65 |
66 const OneShotEvent& MockExtensionSystem::ready() const { | 66 const OneShotEvent& MockExtensionSystem::ready() const { |
67 return ready_; | 67 return ready_; |
68 } | 68 } |
69 | 69 |
70 ContentVerifier* MockExtensionSystem::content_verifier() { | 70 ContentVerifier* MockExtensionSystem::content_verifier() { |
71 return nullptr; | 71 return nullptr; |
72 } | 72 } |
73 | 73 |
| 74 declarative_net_request::RulesMonitor* MockExtensionSystem::rules_monitor() { |
| 75 return nullptr; |
| 76 } |
| 77 |
74 std::unique_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 78 std::unique_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
75 const Extension* extension) { | 79 const Extension* extension) { |
76 return std::unique_ptr<ExtensionSet>(); | 80 return std::unique_ptr<ExtensionSet>(); |
77 } | 81 } |
78 | 82 |
79 void MockExtensionSystem::InstallUpdate(const std::string& extension_id, | 83 void MockExtensionSystem::InstallUpdate(const std::string& extension_id, |
80 const base::FilePath& temp_dir) { | 84 const base::FilePath& temp_dir) { |
81 NOTREACHED(); | 85 NOTREACHED(); |
82 } | 86 } |
83 | 87 |
84 } // namespace extensions | 88 } // namespace extensions |
OLD | NEW |