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

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

Issue 10407105: Improve error messaging of webRequest API in case of conflicts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Evan's comments 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() { 162 ApiResourceManager<Socket>*TestExtensionSystem::socket_manager() {
163 return socket_manager_.get(); 163 return socket_manager_.get();
164 } 164 }
165 165
166 ApiResourceManager<UsbDeviceResource>* 166 ApiResourceManager<UsbDeviceResource>*
167 TestExtensionSystem::usb_device_resource_manager() { 167 TestExtensionSystem::usb_device_resource_manager() {
168 return NULL; 168 return NULL;
169 } 169 }
170 170
171 ExtensionWarningService* TestExtensionSystem::warning_service() {
172 return NULL;
173 }
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