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

Unified Diff: chrome/browser/signin/signin_manager_factory.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/signin/signin_manager_factory.cc
diff --git a/chrome/browser/signin/signin_manager_factory.cc b/chrome/browser/signin/signin_manager_factory.cc
index 11dd5e694039cc370c5c28239e128494b6b951ec..42de7c3567da0654d531507d501be6f2273189b5 100644
--- a/chrome/browser/signin/signin_manager_factory.cc
+++ b/chrome/browser/signin/signin_manager_factory.cc
@@ -61,8 +61,8 @@ void SigninManagerFactory::RegisterPrefs(PrefRegistrySimple* registry) {
}
ProfileKeyedService* SigninManagerFactory::BuildServiceInstanceFor(
- Profile* profile) const {
+ content::BrowserContext* profile) const {
SigninManager* service = new SigninManager();
- service->Initialize(profile);
+ service->Initialize(static_cast<Profile*>(profile));
return service;
}

Powered by Google App Engine
This is Rietveld 408576698