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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_profile_loader.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/app_mode/kiosk_profile_loader.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc b/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
index 62ca6334d3fb948a1f91934ab548e1f67fbbd50a..59d89e7f31624e04baeccca26b836bd563043020 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc
@@ -115,16 +115,9 @@ class KioskProfileLoader::CryptohomedChecker
////////////////////////////////////////////////////////////////////////////////
// KioskProfileLoader
-KioskProfileLoader::KioskProfileLoader(KioskAppManager* kiosk_app_manager,
- const std::string& app_id,
+KioskProfileLoader::KioskProfileLoader(const std::string& app_user_id,
Delegate* delegate)
- : kiosk_app_manager_(kiosk_app_manager),
- app_id_(app_id),
- delegate_(delegate) {
- KioskAppManager::App app;
- CHECK(kiosk_app_manager_->GetApp(app_id_, &app));
- user_id_ = app.user_id;
-}
+ : user_id_(app_user_id), delegate_(delegate) {}
KioskProfileLoader::~KioskProfileLoader() {}

Powered by Google App Engine
This is Rietveld 408576698