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/blacklist.h" | 9 #include "chrome/browser/extensions/blacklist.h" |
10 #include "chrome/browser/extensions/event_router.h" | 10 #include "chrome/browser/extensions/event_router.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 Blacklist* TestExtensionSystem::blacklist() { | 169 Blacklist* TestExtensionSystem::blacklist() { |
170 return blacklist_.get(); | 170 return blacklist_.get(); |
171 } | 171 } |
172 | 172 |
173 const OneShotEvent& TestExtensionSystem::ready() const { | 173 const OneShotEvent& TestExtensionSystem::ready() const { |
174 return ready_; | 174 return ready_; |
175 } | 175 } |
176 | 176 |
177 // static | 177 // static |
178 ProfileKeyedService* TestExtensionSystem::Build( | 178 BrowserContextKeyedService* TestExtensionSystem::Build( |
179 content::BrowserContext* profile) { | 179 content::BrowserContext* profile) { |
180 return new TestExtensionSystem(static_cast<Profile*>(profile)); | 180 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
181 } | 181 } |
182 | 182 |
183 } // namespace extensions | 183 } // namespace extensions |
OLD | NEW |