Index: chrome/browser/chromeos/login/login_status_consumer.h |
diff --git a/chrome/browser/chromeos/login/login_status_consumer.h b/chrome/browser/chromeos/login/login_status_consumer.h |
index 1e32b6b0d03e533510604916a1d79d7363c60b7d..1f7f94770d62b6efd963ec1722900eccbeb7ac3c 100644 |
--- a/chrome/browser/chromeos/login/login_status_consumer.h |
+++ b/chrome/browser/chromeos/login/login_status_consumer.h |
@@ -26,6 +26,7 @@ class LoginFailure { |
LOGIN_TIMED_OUT, |
UNLOCK_FAILED, |
NETWORK_AUTH_FAILED, // Could not authenticate against Google |
+ OWNER_REQUIRED, // Only the device owner can log-in. |
NUM_FAILURE_REASONS, // This has to be the last item. |
}; |
@@ -73,6 +74,8 @@ class LoginFailure { |
return net::ErrorToString(error_.network_error()); |
} |
return "Google authentication failed."; |
+ case OWNER_REQUIRED: |
+ return "Login is restricted to the owner's account only."; |
default: |
NOTREACHED(); |
return std::string(); |