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

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: 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/activity_log.cc
diff --git a/chrome/browser/extensions/activity_log.cc b/chrome/browser/extensions/activity_log.cc
index 63a2de862262d17c3c28802795f56b75c6de5536..89d966d88e0bd495ebe48898c4c4075adda4ae5a 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