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 bf2c3f0cd4f5666e497338c0bd74b919fb2c3c0a..b762e385b6da3e6fe3b9e1cebb0999a580041aca 100644 |
--- a/chrome/browser/chromeos/login/login_status_consumer.h |
+++ b/chrome/browser/chromeos/login/login_status_consumer.h |
@@ -16,6 +16,7 @@ namespace chromeos { |
class LoginFailure { |
public: |
enum FailureReason { |
+ NONE, |
COULD_NOT_MOUNT_CRYPTOHOME, |
COULD_NOT_MOUNT_TMPFS, |
DATA_REMOVAL_FAILED, // Could not destroy your old data |
@@ -45,6 +46,10 @@ class LoginFailure { |
return LoginFailure(NETWORK_AUTH_FAILED, error); |
} |
+ static LoginFailure None() { |
+ return LoginFailure(NONE); |
+ } |
+ |
const std::string GetErrorString() const { |
switch (reason_) { |
case DATA_REMOVAL_FAILED: |