| 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 28 matching lines...) Expand all Loading... |
| 39 } | 39 } |
| 40 | 40 |
| 41 StateStore* MockExtensionSystem::rules_store() { | 41 StateStore* MockExtensionSystem::rules_store() { |
| 42 return nullptr; | 42 return nullptr; |
| 43 } | 43 } |
| 44 | 44 |
| 45 InfoMap* MockExtensionSystem::info_map() { | 45 InfoMap* MockExtensionSystem::info_map() { |
| 46 return nullptr; | 46 return nullptr; |
| 47 } | 47 } |
| 48 | 48 |
| 49 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { | |
| 50 return nullptr; | |
| 51 } | |
| 52 | |
| 53 EventRouter* MockExtensionSystem::event_router() { | 49 EventRouter* MockExtensionSystem::event_router() { |
| 54 return event_router_; | 50 return event_router_; |
| 55 } | 51 } |
| 56 | 52 |
| 57 QuotaService* MockExtensionSystem::quota_service() { | 53 QuotaService* MockExtensionSystem::quota_service() { |
| 58 return nullptr; | 54 return nullptr; |
| 59 } | 55 } |
| 60 | 56 |
| 61 const OneShotEvent& MockExtensionSystem::ready() const { | 57 const OneShotEvent& MockExtensionSystem::ready() const { |
| 62 return ready_; | 58 return ready_; |
| 63 } | 59 } |
| 64 | 60 |
| 65 ContentVerifier* MockExtensionSystem::content_verifier() { | 61 ContentVerifier* MockExtensionSystem::content_verifier() { |
| 66 return nullptr; | 62 return nullptr; |
| 67 } | 63 } |
| 68 | 64 |
| 69 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 65 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
| 70 const Extension* extension) { | 66 const Extension* extension) { |
| 71 return scoped_ptr<ExtensionSet>(); | 67 return scoped_ptr<ExtensionSet>(); |
| 72 } | 68 } |
| 73 | 69 |
| 74 } // namespace extensions | 70 } // namespace extensions |
| OLD | NEW |