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

Unified Diff: chrome/browser/extensions/activity_log.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/activity_log.cc
diff --git a/chrome/browser/extensions/activity_log.cc b/chrome/browser/extensions/activity_log.cc
index 92c46d38f6a04cc578665317e28617dae9ff0c57..d2b796de35f688ffb01eaa3f3eada8dffec20bbd 100644
--- a/chrome/browser/extensions/activity_log.cc
+++ b/chrome/browser/extensions/activity_log.cc
@@ -130,8 +130,8 @@ ActivityLogFactory* ActivityLogFactory::GetInstance() {
}
ProfileKeyedService* ActivityLogFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new ActivityLog(profile);
+ content::BrowserContext* profile) const {
+ return new ActivityLog(static_cast<Profile*>(profile));
}
bool ActivityLogFactory::ServiceRedirectedInIncognito() const {

Powered by Google App Engine
This is Rietveld 408576698