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

Unified Diff: third_party/closure_compiler/externs/passwords_private.js

Issue 1892613006: Add functions to the passwords private api that update the lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/closure_compiler/externs/passwords_private.js
diff --git a/third_party/closure_compiler/externs/passwords_private.js b/third_party/closure_compiler/externs/passwords_private.js
index b320d8a02ea8ed9bc435f2d2633bca2c5d29d6cd..af7620c7f34ca0aeed33444f27c940c48e7c080f 100644
--- a/third_party/closure_compiler/externs/passwords_private.js
+++ b/third_party/closure_compiler/externs/passwords_private.js
@@ -75,6 +75,20 @@ chrome.passwordsPrivate.removePasswordException = function(exceptionUrl) {};
chrome.passwordsPrivate.requestPlaintextPassword = function(loginPair) {};
/**
+ * Returns the list of saved passwords using the |onSavedPasswordsListChanged|
+ * event.
+ * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestSavedPasswordList
+ */
+chrome.passwordsPrivate.requestSavedPasswordList = function() {};
+
+/**
+ * Returns the list of password exceptions using the
+ * |onPasswordExceptionsListChanged| event.
+ * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestPasswordExceptionList
+ */
+chrome.passwordsPrivate.requestPasswordExceptionList = function() {};
+
+/**
* Fired when the saved passwords list has changed, meaning that an entry has
* been added or removed. Note that this event fires as soon as a listener is
* added.

Powered by Google App Engine
This is Rietveld 408576698