Index: chrome/browser/chromeos/login/parallel_authenticator.h |
diff --git a/chrome/browser/chromeos/login/parallel_authenticator.h b/chrome/browser/chromeos/login/parallel_authenticator.h |
index 77afcbf007bd414760b66e7c4f7b8bdfd59ccfc3..ab230e0dc0f6b95ca8f4714aec61655d7a46c766 100644 |
--- a/chrome/browser/chromeos/login/parallel_authenticator.h |
+++ b/chrome/browser/chromeos/login/parallel_authenticator.h |
@@ -206,6 +206,11 @@ class ParallelAuthenticator : public Authenticator, |
current_state_.reset(new_state); |
} |
+ // Sets an online attemp for testing. |
+ void set_online_attempt(OnlineAttempt* attempt) { |
+ current_online_ = attempt; |
+ } |
+ |
// Resets |current_state_| and then posts a task to the UI thread to |
// Initiate() |to_initiate|. |
// Call this method on the IO thread. |