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

Unified Diff: chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js

Issue 2845543002: Show human readable origin for Android apps (Closed)
Patch Set: Created 3 years, 8 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
Index: chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js
diff --git a/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js b/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js
index 88395291057383da4f4d92f73ad9b08922a0043e..ccdc830001d9efd49b18bef697aa5afb08c1fc70 100644
--- a/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js
+++ b/chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js
@@ -24,10 +24,13 @@ FakeDataMaker.passwordEntry = function(url, username, passwordLength) {
return {
loginPair: {
- originUrl: url,
+ urls: {
+ origin: 'http://' + url + '/login',
+ shown: url,
+ link: 'http://' + url + '/login',
+ },
username: username,
},
- linkUrl: 'http://' + url + '/login',
numCharactersInPassword: passwordLength,
};
};
@@ -35,13 +38,16 @@ FakeDataMaker.passwordEntry = function(url, username, passwordLength) {
/**
* Creates a single item for the list of password exceptions.
* @param {string|undefined} url
- * @return {chrome.passwordsPrivate.ExceptionPair}
+ * @return {chrome.passwordsPrivate.ExceptionEntry}
*/
FakeDataMaker.exceptionEntry = function(url) {
url = url || FakeDataMaker.patternMaker_('www.xxxxxx.com', 16);
return {
- exceptionUrl: url,
- linkUrl: 'http://' + url + '/login',
+ urls: {
+ origin: 'http://' + url + '/login',
+ shown: url,
+ link: 'http://' + url + '/login',
+ }
};
};

Powered by Google App Engine
This is Rietveld 408576698