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

Unified Diff: chrome/test/data/extensions/api_test/autofill_private/test.js

Issue 1957043002: Separate the listeners and getters for the Autofill Private API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill-lists.gitbr
Patch Set: update histogram.xml and test Created 4 years, 7 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/extensions/api_test/autofill_private/test.js
diff --git a/chrome/test/data/extensions/api_test/autofill_private/test.js b/chrome/test/data/extensions/api_test/autofill_private/test.js
index 3097ba0790f4cc26457c68b10b93df65cb484f9b..bc4b9ee1394ae681f1cb16cb3e571be71d67a6aa 100644
--- a/chrome/test/data/extensions/api_test/autofill_private/test.js
+++ b/chrome/test/data/extensions/api_test/autofill_private/test.js
@@ -25,6 +25,7 @@ var availableTests = [
}
chrome.autofillPrivate.onAddressListChanged.addListener(handler);
+ chrome.autofillPrivate.getAddressList(handler);
chrome.autofillPrivate.saveAddress({fullNames: [NAME]});
},
@@ -63,6 +64,7 @@ var availableTests = [
}
chrome.autofillPrivate.onCreditCardListChanged.addListener(handler);
+ chrome.autofillPrivate.getCreditCardList(handler);
chrome.autofillPrivate.saveCreditCard({name: NAME});
},
@@ -90,6 +92,7 @@ var availableTests = [
}
chrome.autofillPrivate.onCreditCardListChanged.addListener(handler);
+ chrome.autofillPrivate.getCreditCardList(handler);
chrome.autofillPrivate.saveCreditCard({name: NAME});
},
« no previous file with comments | « chrome/common/extensions/api/autofill_private.idl ('k') | chrome/test/data/webui/settings/passwords_and_autofill_fake_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698