| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/extensions/test_extension_system.h" | 5 #include "chrome/browser/extensions/test_extension_system.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
| 9 #include "chrome/browser/extensions/blacklist.h" | 9 #include "chrome/browser/extensions/blacklist.h" |
| 10 #include "chrome/browser/extensions/event_router.h" | 10 #include "chrome/browser/extensions/event_router.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 LazyBackgroundTaskQueue* | 142 LazyBackgroundTaskQueue* |
| 143 TestExtensionSystem::lazy_background_task_queue() { | 143 TestExtensionSystem::lazy_background_task_queue() { |
| 144 return NULL; | 144 return NULL; |
| 145 } | 145 } |
| 146 | 146 |
| 147 EventRouter* TestExtensionSystem::event_router() { | 147 EventRouter* TestExtensionSystem::event_router() { |
| 148 return NULL; | 148 return NULL; |
| 149 } | 149 } |
| 150 | 150 |
| 151 RulesRegistryService* TestExtensionSystem::rules_registry_service() { |
| 152 return NULL; |
| 153 } |
| 154 |
| 151 ApiResourceManager<SerialConnection>* | 155 ApiResourceManager<SerialConnection>* |
| 152 TestExtensionSystem::serial_connection_manager() { | 156 TestExtensionSystem::serial_connection_manager() { |
| 153 return NULL; | 157 return NULL; |
| 154 } | 158 } |
| 155 | 159 |
| 156 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { | 160 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { |
| 157 return socket_manager_.get(); | 161 return socket_manager_.get(); |
| 158 } | 162 } |
| 159 | 163 |
| 160 ApiResourceManager<UsbDeviceResource>* | 164 ApiResourceManager<UsbDeviceResource>* |
| (...skipping 13 matching lines...) Expand all Loading... |
| 174 return ready_; | 178 return ready_; |
| 175 } | 179 } |
| 176 | 180 |
| 177 // static | 181 // static |
| 178 BrowserContextKeyedService* TestExtensionSystem::Build( | 182 BrowserContextKeyedService* TestExtensionSystem::Build( |
| 179 content::BrowserContext* profile) { | 183 content::BrowserContext* profile) { |
| 180 return new TestExtensionSystem(static_cast<Profile*>(profile)); | 184 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
| 181 } | 185 } |
| 182 | 186 |
| 183 } // namespace extensions | 187 } // namespace extensions |
| OLD | NEW |