| Index: chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| diff --git a/chrome/browser/resources/gaia_auth_host/saml_handler.js b/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| index 70486c7e06457057d120cda06897182f992da68a..89935284e6fbdd9f51dfe408df5c5ea334c1078f 100644
|
| --- a/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| +++ b/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| @@ -198,6 +198,15 @@ cr.define('cr.login', function() {
|
| },
|
|
|
| /**
|
| + * Returns the first scraped password if any, or an empty string otherwise.
|
| + * @return {string}
|
| + */
|
| + get firstScrapedPassword() {
|
| + var scraped = this.getConsolidatedScrapedPasswords_();
|
| + return scraped.length ? scraped[0] : '';
|
| + },
|
| +
|
| + /**
|
| * Returns the number of scraped passwords.
|
| * @return {number}
|
| */
|
|
|