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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 ExtensionWarningService* TestExtensionSystem::warning_service() { | 189 ExtensionWarningService* TestExtensionSystem::warning_service() { |
190 return NULL; | 190 return NULL; |
191 } | 191 } |
192 | 192 |
193 Blacklist* TestExtensionSystem::blacklist() { | 193 Blacklist* TestExtensionSystem::blacklist() { |
194 return blacklist_.get(); | 194 return blacklist_.get(); |
195 } | 195 } |
196 | 196 |
197 // static | 197 // static |
198 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { | 198 ProfileKeyedService* TestExtensionSystem::Build( |
199 return new TestExtensionSystem(profile); | 199 content::BrowserContext* profile) { |
| 200 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
200 } | 201 } |
201 | 202 |
202 } // namespace extensions | 203 } // namespace extensions |
OLD | NEW |