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

Unified Diff: chrome/browser/extensions/api/dial/dial_api_factory.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/api/dial/dial_api_factory.cc
diff --git a/chrome/browser/extensions/api/dial/dial_api_factory.cc b/chrome/browser/extensions/api/dial/dial_api_factory.cc
index b9a60178c20c7f76bffcf014612acd61c59d3696..446601017cff15abb187f5a396911cc995ed16a3 100644
--- a/chrome/browser/extensions/api/dial/dial_api_factory.cc
+++ b/chrome/browser/extensions/api/dial/dial_api_factory.cc
@@ -30,8 +30,9 @@ DialAPIFactory::~DialAPIFactory() {
}
scoped_refptr<RefcountedProfileKeyedService>
- DialAPIFactory::BuildServiceInstanceFor(Profile* profile) const {
- return scoped_refptr<DialAPI>(new DialAPI(profile));
+ DialAPIFactory::BuildServiceInstanceFor(
+ content::BrowserContext* profile) const {
+ return scoped_refptr<DialAPI>(new DialAPI(static_cast<Profile*>(profile)));
}
bool DialAPIFactory::ServiceRedirectedInIncognito() const {

Powered by Google App Engine
This is Rietveld 408576698