Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: chrome/browser/extensions/test_extension_system.cc

Issue 11027044: Add a class to replace ImageLoadingTracker with a nicer API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused code Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/extensions/api/alarms/alarm_manager.h" 8 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
9 #include "chrome/browser/extensions/api/messaging/message_service.h" 9 #include "chrome/browser/extensions/api/messaging/message_service.h"
10 #include "chrome/browser/extensions/event_router.h" 10 #include "chrome/browser/extensions/event_router.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 EventRouter* TestExtensionSystem::event_router() { 149 EventRouter* TestExtensionSystem::event_router() {
150 return NULL; 150 return NULL;
151 } 151 }
152 152
153 RulesRegistryService* TestExtensionSystem::rules_registry_service() { 153 RulesRegistryService* TestExtensionSystem::rules_registry_service() {
154 return NULL; 154 return NULL;
155 } 155 }
156 156
157 ImageLoader* TestExtensionSystem::image_loader() {
158 return NULL;
159 }
160
157 ApiResourceManager<SerialConnection>* 161 ApiResourceManager<SerialConnection>*
158 TestExtensionSystem::serial_connection_manager() { 162 TestExtensionSystem::serial_connection_manager() {
159 return NULL; 163 return NULL;
160 } 164 }
161 165
162 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { 166 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() {
163 return socket_manager_.get(); 167 return socket_manager_.get();
164 } 168 }
165 169
166 ApiResourceManager<UsbDeviceResource>* 170 ApiResourceManager<UsbDeviceResource>*
167 TestExtensionSystem::usb_device_resource_manager() { 171 TestExtensionSystem::usb_device_resource_manager() {
168 return NULL; 172 return NULL;
169 } 173 }
170 174
171 // static 175 // static
172 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { 176 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) {
173 return new TestExtensionSystem(profile); 177 return new TestExtensionSystem(profile);
174 } 178 }
175 179
176 } // namespace extensions 180 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698