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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_update_service.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/chromeos/app_mode/kiosk_app_update_service.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
index 9225979bc42ca26a6bdc86e8ef4f73e42429bebb..1e742cb5c3be2c6f4bd5e5a54c14f3aca3d335fc 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
@@ -90,8 +90,8 @@ KioskAppUpdateServiceFactory* KioskAppUpdateServiceFactory::GetInstance() {
}
ProfileKeyedService* KioskAppUpdateServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new KioskAppUpdateService(profile);
+ content::BrowserContext* profile) const {
+ return new KioskAppUpdateService(static_cast<Profile*>(profile));
}
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_app_update_service.h ('k') | chrome/browser/chromeos/drive/drive_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698