| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| index b46e9fb3b2389df1a434bc8350d6d947227cd203..55aa0f5da294c0de38cbb4c62cf367ea685f7d6f 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| @@ -50,17 +50,13 @@ Polymer({
|
| */
|
| loadPasswords_: function(passwordSectionOpened) {
|
| if (passwordSectionOpened) {
|
| - // TODO(hcarmona): Get real data.
|
| - this.savedPasswords =
|
| - [{origin: 'otherwebsite.com',
|
| - username: 'bowser',
|
| - password: '************'},
|
| - {origin: 'otherlongwebsite.com',
|
| - username: 'koopa',
|
| - password: '*********'},
|
| - {origin: 'otherverylongwebsite.com',
|
| - username: 'goomba',
|
| - password: '******'}];
|
| + settings.PasswordsPrivateApi.updatePasswordLists(
|
| + function(passwordList) {
|
| + this.savedPasswords = passwordList;
|
| + }.bind(this),
|
| + function(exceptionList) {
|
| + // TODO(hcarmona): Populate the password exceptions here.
|
| + });
|
| }
|
| },
|
| });
|
|
|