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/alarms/alarm_manager.h" | 9 #include "chrome/browser/extensions/api/alarms/alarm_manager.h" |
10 #include "chrome/browser/extensions/api/location/location_manager.h" | 10 #include "chrome/browser/extensions/api/location/location_manager.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 | 162 |
163 MessageService* TestExtensionSystem::message_service() { | 163 MessageService* TestExtensionSystem::message_service() { |
164 return NULL; | 164 return NULL; |
165 } | 165 } |
166 | 166 |
167 EventRouter* TestExtensionSystem::event_router() { | 167 EventRouter* TestExtensionSystem::event_router() { |
168 return NULL; | 168 return NULL; |
169 } | 169 } |
170 | 170 |
171 RulesRegistryService* TestExtensionSystem::rules_registry_service() { | |
172 return NULL; | |
173 } | |
174 | |
175 ApiResourceManager<SerialConnection>* | 171 ApiResourceManager<SerialConnection>* |
176 TestExtensionSystem::serial_connection_manager() { | 172 TestExtensionSystem::serial_connection_manager() { |
177 return NULL; | 173 return NULL; |
178 } | 174 } |
179 | 175 |
180 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { | 176 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { |
181 return socket_manager_.get(); | 177 return socket_manager_.get(); |
182 } | 178 } |
183 | 179 |
184 ApiResourceManager<UsbDeviceResource>* | 180 ApiResourceManager<UsbDeviceResource>* |
185 TestExtensionSystem::usb_device_resource_manager() { | 181 TestExtensionSystem::usb_device_resource_manager() { |
186 return NULL; | 182 return NULL; |
187 } | 183 } |
188 | 184 |
189 ExtensionWarningService* TestExtensionSystem::warning_service() { | 185 ExtensionWarningService* TestExtensionSystem::warning_service() { |
190 return NULL; | 186 return NULL; |
191 } | 187 } |
192 | 188 |
193 Blacklist* TestExtensionSystem::blacklist() { | 189 Blacklist* TestExtensionSystem::blacklist() { |
194 return blacklist_.get(); | 190 return blacklist_.get(); |
195 } | 191 } |
196 | 192 |
197 // static | 193 // static |
198 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { | 194 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { |
199 return new TestExtensionSystem(profile); | 195 return new TestExtensionSystem(profile); |
200 } | 196 } |
201 | 197 |
202 } // namespace extensions | 198 } // namespace extensions |
OLD | NEW |