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

Unified Diff: chrome/browser/chromeos/extensions/install_limiter_factory.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/chromeos/extensions/install_limiter_factory.cc
diff --git a/chrome/browser/chromeos/extensions/install_limiter_factory.cc b/chrome/browser/chromeos/extensions/install_limiter_factory.cc
index bea0ecaa41f08750111f52a92ee8daa8a6df9726..222c738db32dedad60f3ac7bf3f6cfc40150c53a 100644
--- a/chrome/browser/chromeos/extensions/install_limiter_factory.cc
+++ b/chrome/browser/chromeos/extensions/install_limiter_factory.cc
@@ -14,7 +14,7 @@ namespace extensions {
// static
InstallLimiter* InstallLimiterFactory::GetForProfile(Profile* profile) {
return static_cast<InstallLimiter*>(
- GetInstance()->GetServiceForProfile(profile, true));
+ GetInstance()->GetServiceForBrowserContext(profile, true));
}
// static
@@ -23,15 +23,16 @@ InstallLimiterFactory* InstallLimiterFactory::GetInstance() {
}
InstallLimiterFactory::InstallLimiterFactory()
- : ProfileKeyedServiceFactory("InstallLimiter",
- ProfileDependencyManager::GetInstance()) {
+ : BrowserContextKeyedServiceFactory(
+ "InstallLimiter",
+ BrowserContextDependencyManager::GetInstance()) {
DependsOn(ExtensionSystemFactory::GetInstance());
}
InstallLimiterFactory::~InstallLimiterFactory() {
}
-ProfileKeyedService* InstallLimiterFactory::BuildServiceInstanceFor(
+BrowserContextKeyedService* InstallLimiterFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
return new InstallLimiter();
}

Powered by Google App Engine
This is Rietveld 408576698