| 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/error_console/error_console.h" | 10 #include "chrome/browser/extensions/error_console/error_console.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 QuotaService* TestExtensionSystem::quota_service() { | 177 QuotaService* TestExtensionSystem::quota_service() { |
| 178 return quota_service_.get(); | 178 return quota_service_.get(); |
| 179 } | 179 } |
| 180 | 180 |
| 181 const OneShotEvent& TestExtensionSystem::ready() const { | 181 const OneShotEvent& TestExtensionSystem::ready() const { |
| 182 return ready_; | 182 return ready_; |
| 183 } | 183 } |
| 184 | 184 |
| 185 // static | 185 // static |
| 186 BrowserContextKeyedService* TestExtensionSystem::Build( | 186 KeyedService* TestExtensionSystem::Build(content::BrowserContext* profile) { |
| 187 content::BrowserContext* profile) { | |
| 188 return new TestExtensionSystem(static_cast<Profile*>(profile)); | 187 return new TestExtensionSystem(static_cast<Profile*>(profile)); |
| 189 } | 188 } |
| 190 | 189 |
| 191 } // namespace extensions | 190 } // namespace extensions |
| OLD | NEW |