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/location/location_manager.h" | 9 #include "chrome/browser/extensions/api/location/location_manager.h" |
10 #include "chrome/browser/extensions/blacklist.h" | 10 #include "chrome/browser/extensions/blacklist.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 } | 173 } |
174 | 174 |
175 ExtensionWarningService* TestExtensionSystem::warning_service() { | 175 ExtensionWarningService* TestExtensionSystem::warning_service() { |
176 return NULL; | 176 return NULL; |
177 } | 177 } |
178 | 178 |
179 Blacklist* TestExtensionSystem::blacklist() { | 179 Blacklist* TestExtensionSystem::blacklist() { |
180 return blacklist_.get(); | 180 return blacklist_.get(); |
181 } | 181 } |
182 | 182 |
| 183 const AsyncEvent& TestExtensionSystem::ready() const { |
| 184 return ready_; |
| 185 } |
| 186 |
| 187 void TestExtensionSystem::MakeReady() { |
| 188 ready_.MarkHappened(); |
| 189 } |
| 190 |
183 // static | 191 // static |
184 ProfileKeyedService* TestExtensionSystem::Build( | 192 ProfileKeyedService* TestExtensionSystem::Build( |
185 content::BrowserContext* profile) { | 193 content::BrowserContext* profile) { |
186 return new TestExtensionSystem(static_cast<Profile*>(profile)); | 194 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
187 } | 195 } |
188 | 196 |
189 } // namespace extensions | 197 } // namespace extensions |
OLD | NEW |