OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void HandleUsingSAMLAPI(); | 125 void HandleUsingSAMLAPI(); |
126 void HandleScrapedPasswordCount(int password_count); | 126 void HandleScrapedPasswordCount(int password_count); |
127 void HandleScrapedPasswordVerificationFailed(); | 127 void HandleScrapedPasswordVerificationFailed(); |
128 | 128 |
129 void HandleGaiaUIReady(); | 129 void HandleGaiaUIReady(); |
130 | 130 |
131 void HandleToggleEasyBootstrap(); | 131 void HandleToggleEasyBootstrap(); |
132 | 132 |
133 void HandleToggleWebviewSignin(); | 133 void HandleToggleWebviewSignin(); |
134 | 134 |
| 135 void HandleIdentifierEntered(const std::string& account_identifier); |
| 136 |
135 // This is called when ConsumerManagementService::SetOwner() returns. | 137 // This is called when ConsumerManagementService::SetOwner() returns. |
136 void OnSetOwnerDone(const std::string& gaia_id, | 138 void OnSetOwnerDone(const std::string& gaia_id, |
137 const std::string& typed_email, | 139 const std::string& typed_email, |
138 const std::string& password, | 140 const std::string& password, |
139 bool using_saml, | 141 bool using_saml, |
140 bool success); | 142 bool success); |
141 | 143 |
142 // Really handles the complete login message. | 144 // Really handles the complete login message. |
143 void DoCompleteLogin(const std::string& gaia_id, | 145 void DoCompleteLogin(const std::string& gaia_id, |
144 const std::string& typed_email, | 146 const std::string& typed_email, |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; | 271 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; |
270 | 272 |
271 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; | 273 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; |
272 | 274 |
273 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); | 275 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); |
274 }; | 276 }; |
275 | 277 |
276 } // namespace chromeos | 278 } // namespace chromeos |
277 | 279 |
278 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 280 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
OLD | NEW |