Index: chrome/browser/extensions/activity_log/activity_log.cc |
diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc |
index e555258a00b6de6da38db07bd5797a0c0dc6e721..d959da735105def0c8b3d150d8e20ea6540f28c2 100644 |
--- a/chrome/browser/extensions/activity_log/activity_log.cc |
+++ b/chrome/browser/extensions/activity_log/activity_log.cc |
@@ -338,16 +338,16 @@ namespace extensions { |
// SET THINGS UP. -------------------------------------------------------------- |
-static base::LazyInstance<ProfileKeyedAPIFactory<ActivityLog> > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory<ActivityLog> > |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
-ProfileKeyedAPIFactory<ActivityLog>* ActivityLog::GetFactoryInstance() { |
+BrowserContextKeyedAPIFactory<ActivityLog>* ActivityLog::GetFactoryInstance() { |
return g_factory.Pointer(); |
} |
// static |
ActivityLog* ActivityLog::GetInstance(content::BrowserContext* context) { |
- return ActivityLog::GetFactoryInstance()->GetForProfile( |
+ return ActivityLog::GetFactoryInstance()->Get( |
Profile::FromBrowserContext(context)); |
} |
@@ -696,7 +696,7 @@ void ActivityLog::DeleteDatabase() { |
} |
template <> |
-void ProfileKeyedAPIFactory<ActivityLog>::DeclareFactoryDependencies() { |
+void BrowserContextKeyedAPIFactory<ActivityLog>::DeclareFactoryDependencies() { |
DependsOn(ExtensionsBrowserClient::Get()->GetExtensionSystemFactory()); |
DependsOn(InstallTrackerFactory::GetInstance()); |
} |