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/api/location/location_manager.h" | 9 #include "chrome/browser/extensions/api/location/location_manager.h" |
10 #include "chrome/browser/extensions/blacklist.h" | 10 #include "chrome/browser/extensions/blacklist.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 147 |
148 LazyBackgroundTaskQueue* | 148 LazyBackgroundTaskQueue* |
149 TestExtensionSystem::lazy_background_task_queue() { | 149 TestExtensionSystem::lazy_background_task_queue() { |
150 return NULL; | 150 return NULL; |
151 } | 151 } |
152 | 152 |
153 EventRouter* TestExtensionSystem::event_router() { | 153 EventRouter* TestExtensionSystem::event_router() { |
154 return NULL; | 154 return NULL; |
155 } | 155 } |
156 | 156 |
157 RulesRegistryService* TestExtensionSystem::rules_registry_service() { | |
158 return NULL; | |
159 } | |
160 | |
161 ApiResourceManager<SerialConnection>* | 157 ApiResourceManager<SerialConnection>* |
162 TestExtensionSystem::serial_connection_manager() { | 158 TestExtensionSystem::serial_connection_manager() { |
163 return NULL; | 159 return NULL; |
164 } | 160 } |
165 | 161 |
166 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { | 162 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { |
167 return socket_manager_.get(); | 163 return socket_manager_.get(); |
168 } | 164 } |
169 | 165 |
170 ApiResourceManager<UsbDeviceResource>* | 166 ApiResourceManager<UsbDeviceResource>* |
171 TestExtensionSystem::usb_device_resource_manager() { | 167 TestExtensionSystem::usb_device_resource_manager() { |
172 return NULL; | 168 return NULL; |
173 } | 169 } |
174 | 170 |
175 ExtensionWarningService* TestExtensionSystem::warning_service() { | 171 ExtensionWarningService* TestExtensionSystem::warning_service() { |
176 return NULL; | 172 return NULL; |
177 } | 173 } |
178 | 174 |
179 Blacklist* TestExtensionSystem::blacklist() { | 175 Blacklist* TestExtensionSystem::blacklist() { |
180 return blacklist_.get(); | 176 return blacklist_.get(); |
181 } | 177 } |
182 | 178 |
183 // static | 179 // static |
184 ProfileKeyedService* TestExtensionSystem::Build( | 180 ProfileKeyedService* TestExtensionSystem::Build( |
185 content::BrowserContext* profile) { | 181 content::BrowserContext* profile) { |
186 return new TestExtensionSystem(static_cast<Profile*>(profile)); | 182 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
187 } | 183 } |
188 | 184 |
189 } // namespace extensions | 185 } // namespace extensions |
OLD | NEW |