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

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service_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/ui/webui/signin/login_ui_service_factory.cc
diff --git a/chrome/browser/ui/webui/signin/login_ui_service_factory.cc b/chrome/browser/ui/webui/signin/login_ui_service_factory.cc
index 3da029f6f11c8e5e335eb468381cd7ead14c0136..9ae2d26a219ffe356ae226a6216c3a8efd629a9a 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service_factory.cc
+++ b/chrome/browser/ui/webui/signin/login_ui_service_factory.cc
@@ -29,6 +29,6 @@ LoginUIServiceFactory* LoginUIServiceFactory::GetInstance() {
}
ProfileKeyedService* LoginUIServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new LoginUIService(profile);
+ content::BrowserContext* profile) const {
+ return new LoginUIService(static_cast<Profile*>(profile));
}
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service_factory.h ('k') | chrome/browser/ui/webui/sync_setup_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698