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 83805e1d520cded21a2114f18fd0b6f899662eb5..dc365358020bc9175edf97f9ecd37f14d72d1a05 100644 |
--- a/chrome/browser/chromeos/login/login_status_consumer.h |
+++ b/chrome/browser/chromeos/login/login_status_consumer.h |
@@ -29,6 +29,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. |
}; |
@@ -76,6 +77,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(); |