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

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

Issue 2651663003: Show human readable origin for Android apps (Closed)
Patch Set: Fix tests and nits 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: 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 b53aa2643b66abb61ef6e9c82af94fd623a21696..93a6737537604a5d027e5381e25d9d4e9ab68e1c 100644
--- a/third_party/closure_compiler/externs/passwords_private.js
+++ b/third_party/closure_compiler/externs/passwords_private.js
@@ -1,4 +1,4 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -18,7 +18,17 @@ chrome.passwordsPrivate = {};
/**
* @typedef {{
- * originUrl: string,
+ * origin: string,
+ * shown: string,
+ * link: string
+ * }}
+ * @see https://developer.chrome.com/extensions/passwordsPrivate#type-UrlCollection
+ */
+chrome.passwordsPrivate.UrlCollection;
+
+/**
+ * @typedef {{
+ * urls: !chrome.passwordsPrivate.UrlCollection,
* username: string
* }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-LoginPair
@@ -28,7 +38,6 @@ chrome.passwordsPrivate.LoginPair;
/**
* @typedef {{
* loginPair: !chrome.passwordsPrivate.LoginPair,
- * linkUrl: string,
* numCharactersInPassword: number,
* federationText: (string|undefined)
* }}
@@ -38,21 +47,20 @@ chrome.passwordsPrivate.PasswordUiEntry;
/**
* @typedef {{
- * exceptionUrl: string,
- * linkUrl: string
+ * loginPair: !chrome.passwordsPrivate.LoginPair,
+ * plaintextPassword: string
* }}
- * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionPair
+ * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextPasswordEventParameters
*/
-chrome.passwordsPrivate.ExceptionPair;
+chrome.passwordsPrivate.PlaintextPasswordEventParameters;
/**
* @typedef {{
- * loginPair: !chrome.passwordsPrivate.LoginPair,
- * plaintextPassword: string
+ * urls: !chrome.passwordsPrivate.UrlCollection
* }}
- * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextPasswordEventParameters
+ * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionEntry
*/
-chrome.passwordsPrivate.PlaintextPasswordEventParameters;
+chrome.passwordsPrivate.ExceptionEntry;
/**
* Removes the saved password corresponding to |loginPair|. If no saved password
@@ -94,7 +102,7 @@ chrome.passwordsPrivate.getSavedPasswordList = function(callback) {};
/**
* Returns the list of password exceptions.
- * @param {function(!Array<!chrome.passwordsPrivate.ExceptionPair>):void}
+ * @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void}
* callback Called with the list of password exceptions.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPasswordExceptionList
*/

Powered by Google App Engine
This is Rietveld 408576698