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

Unified Diff: chrome/browser/extensions/api/history/history_api.cc

Issue 168253002: Cleanup many APIs to use ProfileKeyedAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/api/history/history_api.cc
diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc
index 9abd10fe278e79e5e003af158a360f4742a00970..33c8cd0e0e80b3f57c4448eceb00da58bd311d0a 100644
--- a/chrome/browser/extensions/api/history/history_api.cc
+++ b/chrome/browser/extensions/api/history/history_api.cc
@@ -224,7 +224,7 @@ ProfileKeyedAPIFactory<HistoryAPI>* HistoryAPI::GetFactoryInstance() {
template<>
void ProfileKeyedAPIFactory<HistoryAPI>::DeclareFactoryDependencies() {
- DependsOn(ActivityLogFactory::GetInstance());
+ DependsOn(ActivityLog::GetFactoryInstance());
}
void HistoryAPI::OnListenerAdded(const EventListenerInfo& details) {

Powered by Google App Engine
This is Rietveld 408576698