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

Unified Diff: chrome/browser/extensions/test_extension_system.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for review Created 7 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/test_extension_system.cc
diff --git a/chrome/browser/extensions/test_extension_system.cc b/chrome/browser/extensions/test_extension_system.cc
index ba32742ac1888f6774ef860cfdce4c4aed5bf71c..2e51e0f3c4e9021eacde046f180d9cbde8b54d87 100644
--- a/chrome/browser/extensions/test_extension_system.cc
+++ b/chrome/browser/extensions/test_extension_system.cc
@@ -195,8 +195,9 @@ Blacklist* TestExtensionSystem::blacklist() {
}
// static
-ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) {
- return new TestExtensionSystem(profile);
+ProfileKeyedService* TestExtensionSystem::Build(
+ content::BrowserContext* profile) {
+ return new TestExtensionSystem(static_cast<Profile*>(profile));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698