Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1051)

Unified Diff: chrome/browser/chromeos/login/mock_authenticator.h

Issue 6027012: Fix so that login errors are shown from login/oobe screens.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/network_login_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/network_login_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698