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

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: trybots 2 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 ebd4888c544a24bd426b2769df34c5f62a42b513..ad96e963e36920b7d1622b8fcedbd77ff2b14e74 100644
--- a/chrome/browser/extensions/test_extension_system.cc
+++ b/chrome/browser/extensions/test_extension_system.cc
@@ -186,8 +186,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
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/browser/extensions/token_cache/token_cache_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698