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

Unified Diff: chrome/browser/chromeos/login/app_launch_controller.cc

Issue 156493004: Add the ability to show a demo app on OOBE if a machine is derelict. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/login/app_launch_controller.cc
diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc
index ad559da372cfdb3e3a5d3a83a61b65354fa5767e..9451e30cd9d3d39bb3a594cb12c7eed50392fc3a 100644
--- a/chrome/browser/chromeos/login/app_launch_controller.cc
+++ b/chrome/browser/chromeos/login/app_launch_controller.cc
@@ -120,8 +120,10 @@ void AppLaunchController::StartAppLaunch() {
app_launch_splash_screen_actor_->SetDelegate(this);
app_launch_splash_screen_actor_->Show(app_id_);
- kiosk_profile_loader_.reset(
- new KioskProfileLoader(KioskAppManager::Get(), app_id_, this));
+ KioskAppManager::App app;
+ CHECK(KioskAppManager::Get() &&
+ KioskAppManager::Get()->GetApp(app_id_, &app));
+ kiosk_profile_loader_.reset(new KioskProfileLoader(app.user_id, this));
kiosk_profile_loader_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698