Index: chrome/browser/chromeos/login/mock_authenticator.h |
=================================================================== |
--- chrome/browser/chromeos/login/mock_authenticator.h (revision 71337) |
+++ chrome/browser/chromeos/login/mock_authenticator.h (working copy) |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/browser_thread.h" |
#include "chrome/browser/chromeos/login/authenticator.h" |
+#include "chrome/browser/chromeos/login/background_view.h" |
#include "chrome/browser/chromeos/login/login_utils.h" |
#include "chrome/common/net/gaia/google_service_auth_error.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -149,10 +150,19 @@ |
const GaiaAuthConsumer::ClientLoginResult& credentials) { |
} |
+ void SetBackgroundView(BackgroundView* background_view) { |
+ background_view_ = background_view; |
+ } |
+ |
+ BackgroundView* GetBackgroundView() { |
+ return background_view_; |
+ } |
+ |
private: |
std::string expected_username_; |
std::string expected_password_; |
std::string auth_token_; |
+ chromeos::BackgroundView* background_view_; |
DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); |
}; |