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

Unified Diff: chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix forward declaration. Created 7 years, 7 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/chromeos/login/kiosk_app_menu_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc b/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc
index cfa016b174490d21e7e1681aefa3e76d76310058..83138862e6ed0d61e5d31240e79ea5bb177f4a75 100644
--- a/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc
@@ -69,7 +69,7 @@ void KioskAppMenuHandler::SendKioskApps() {
const KioskAppManager::App& app_data = apps[i];
scoped_ptr<base::DictionaryValue> app_info(new base::DictionaryValue);
- app_info->SetString("id", app_data.id);
+ app_info->SetString("id", app_data.app_id);
app_info->SetString("label", app_data.name);
// TODO(xiyuan): Replace data url with a URLDataSource.
@@ -109,7 +109,7 @@ void KioskAppMenuHandler::HandleLaunchKioskApps(const base::ListValue* args) {
ExistingUserController::current_controller()->PrepareKioskAppLaunch();
// KioskAppLauncher deletes itself when done.
- (new KioskAppLauncher(app_id))->Start();
+ (new KioskAppLauncher(KioskAppManager::Get(), app_id))->Start();
}
void KioskAppMenuHandler::HandleCheckKioskAppLaunchError(
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698