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

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

Issue 12538009: Public Sessions: fetch device robot api token during enterprise enrollment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc
index ec7272fa00efaa7b0c554c8437ef5c407e1b2ea4..8667e7a2496bb12a71d09862f596ffe323532fb1 100644
--- a/chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/enterprise_oauth_enrollment_screen_handler.cc
@@ -231,6 +231,10 @@ void EnterpriseOAuthEnrollmentScreenHandler::ShowEnrollmentStatus(
ShowStep(kEnrollmentStepSuccess);
return;
case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED:
+ // TODO: have specific messaging for robot auth errors? Seems to low-level
+ // for users to do anything about?
Mattias Nissler (ping if slow) 2013/03/19 06:33:08 We thought so too in the first iteration of this c
David Roche 2013/04/02 01:59:25 Okay. I didn't want to clutter it up with extra m
Mattias Nissler (ping if slow) 2013/04/02 14:16:46 We'll have to tell chrome-ui-review@ about the str
David Roche 2013/04/04 01:39:53 How should I go about this? Should I start a new
Mattias Nissler (ping if slow) 2013/04/04 13:18:34 In this case (only error messsages) I think it's O
+ case policy::EnrollmentStatus::STATUS_ROBOT_AUTH_FETCH_FAILED:
+ case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED:
// Some special cases for generating a nicer message that's more helpful.
switch (status.client_status()) {
case policy::DM_STATUS_SERVICE_MISSING_LICENSES:

Powered by Google App Engine
This is Rietveld 408576698