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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase4 Created 7 years, 9 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_launcher.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc b/chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc
index cae22f6f3918dcc0ab9cb525eaf4436dc6ee02ba..7a8616eaced1ed2671c1b22f686952f611e5b9f2 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc
@@ -116,9 +116,10 @@ class KioskAppLauncher::ProfileLoader : public LoginUtils::Delegate {
void Start() {
LoginUtils::Get()->PrepareProfile(
- GetAppUserNameFromAppId(launcher_->app_id_),
+ UserCredentials(GetAppUserNameFromAppId(launcher_->app_id_),
+ std::string(), // password
+ std::string()), // auth_code
std::string(), // display email
- std::string(), // password
false, // using_oauth
false, // has_cookies
this);

Powered by Google App Engine
This is Rietveld 408576698