| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 } | 52 } |
| 53 | 53 |
| 54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { | 54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { |
| 55 return nullptr; | 55 return nullptr; |
| 56 } | 56 } |
| 57 | 57 |
| 58 EventRouter* MockExtensionSystem::event_router() { | 58 EventRouter* MockExtensionSystem::event_router() { |
| 59 return event_router_; | 59 return event_router_; |
| 60 } | 60 } |
| 61 | 61 |
| 62 ErrorConsole* MockExtensionSystem::error_console() { | |
| 63 return nullptr; | |
| 64 } | |
| 65 | |
| 66 InstallVerifier* MockExtensionSystem::install_verifier() { | 62 InstallVerifier* MockExtensionSystem::install_verifier() { |
| 67 return nullptr; | 63 return nullptr; |
| 68 } | 64 } |
| 69 | 65 |
| 70 QuotaService* MockExtensionSystem::quota_service() { | 66 QuotaService* MockExtensionSystem::quota_service() { |
| 71 return nullptr; | 67 return nullptr; |
| 72 } | 68 } |
| 73 | 69 |
| 74 const OneShotEvent& MockExtensionSystem::ready() const { | 70 const OneShotEvent& MockExtensionSystem::ready() const { |
| 75 return ready_; | 71 return ready_; |
| 76 } | 72 } |
| 77 | 73 |
| 78 ContentVerifier* MockExtensionSystem::content_verifier() { | 74 ContentVerifier* MockExtensionSystem::content_verifier() { |
| 79 return nullptr; | 75 return nullptr; |
| 80 } | 76 } |
| 81 | 77 |
| 82 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 78 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
| 83 const Extension* extension) { | 79 const Extension* extension) { |
| 84 return scoped_ptr<ExtensionSet>(); | 80 return scoped_ptr<ExtensionSet>(); |
| 85 } | 81 } |
| 86 | 82 |
| 87 } // namespace extensions | 83 } // namespace extensions |
| OLD | NEW |