diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 00:47:19 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-13 00:47:19 +0000 |
commit | 6fd024b93e4a708a767c1892e5091e3585a5c72f (patch) | |
tree | b0add200ec27e58d517d820602ea61c75db0da71 /chrome/browser/remoting/setup_flow_login_step.h | |
parent | 346fb30b0ee89a94ea203b8e60307e10c5466a56 (diff) | |
download | chromium_src-6fd024b93e4a708a767c1892e5091e3585a5c72f.zip chromium_src-6fd024b93e4a708a767c1892e5091e3585a5c72f.tar.gz chromium_src-6fd024b93e4a708a767c1892e5091e3585a5c72f.tar.bz2 |
Bugfixes for the remoting setup wizard:
1. Proper error message when directory rejects request - this requires changes in gaia_login.html to support custom error messages.
2. Fixed login OTP-enabled account.
BUG=67218
TEST=None
Review URL: http://codereview.chromium.org/6178012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/remoting/setup_flow_login_step.h')
-rw-r--r-- | chrome/browser/remoting/setup_flow_login_step.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/remoting/setup_flow_login_step.h b/chrome/browser/remoting/setup_flow_login_step.h index a7d8911..6a41d99 100644 --- a/chrome/browser/remoting/setup_flow_login_step.h +++ b/chrome/browser/remoting/setup_flow_login_step.h @@ -15,6 +15,7 @@ namespace remoting { class SetupFlowLoginStep : public SetupFlowStepBase, public GaiaAuthConsumer { public: SetupFlowLoginStep(); + SetupFlowLoginStep(const string16& error_message); virtual ~SetupFlowLoginStep(); // SetupFlowStep implementation. @@ -36,12 +37,15 @@ class SetupFlowLoginStep : public SetupFlowStepBase, public GaiaAuthConsumer { private: void OnUserSubmittedAuth(const std::string& user, const std::string& password, - const std::string& captcha); + const std::string& captcha, + const std::string& access_code); void ShowGaiaLogin(const DictionaryValue& args); void ShowGaiaSuccessAndSettingUp(); void ShowGaiaFailed(const GoogleServiceAuthError& error); + string16 error_message_; + // Fetcher to obtain the Chromoting Directory token. scoped_ptr<GaiaAuthFetcher> authenticator_; |