OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** @fileoverview Externs generated from namespace: passwordsPrivate */ | 5 /** @fileoverview Externs generated from namespace: passwordsPrivate */ |
6 | 6 |
7 /** | 7 /** |
8 * @const | 8 * @const |
9 */ | 9 */ |
10 chrome.passwordsPrivate = {}; | 10 chrome.passwordsPrivate = {}; |
(...skipping 20 matching lines...) Expand all Loading... |
31 /** | 31 /** |
32 * @typedef {{ | 32 * @typedef {{ |
33 * loginPair: LoginPair, | 33 * loginPair: LoginPair, |
34 * plaintextPassword: string | 34 * plaintextPassword: string |
35 * }} | 35 * }} |
36 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextP
asswordEventParameters | 36 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextP
asswordEventParameters |
37 */ | 37 */ |
38 var PlaintextPasswordEventParameters; | 38 var PlaintextPasswordEventParameters; |
39 | 39 |
40 /** | 40 /** |
41 * Determines whether account's passwords can be managed via | |
42 * https://passwords.google.com/settings/passwords. | |
43 * @param {function(boolean):void} callback Callback which will be passed the | |
44 * boolean of whether the account can be managed. | |
45 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-canPassw
ordAccountBeManaged | |
46 */ | |
47 chrome.passwordsPrivate.canPasswordAccountBeManaged = function(callback) {}; | |
48 | |
49 /** | |
50 * Removes the saved password corresponding to |loginPair|. If no saved password | 41 * Removes the saved password corresponding to |loginPair|. If no saved password |
51 * for this pair exists, this function is a no-op. | 42 * for this pair exists, this function is a no-op. |
52 * @param {LoginPair} loginPair The LoginPair corresponding to the entry to | 43 * @param {LoginPair} loginPair The LoginPair corresponding to the entry to |
53 * remove. | 44 * remove. |
54 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-removeSa
vedPassword | 45 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-removeSa
vedPassword |
55 */ | 46 */ |
56 chrome.passwordsPrivate.removeSavedPassword = function(loginPair) {}; | 47 chrome.passwordsPrivate.removeSavedPassword = function(loginPair) {}; |
57 | 48 |
58 /** | 49 /** |
59 * Removes the saved password exception corresponding to |exceptionUrl|. If no | 50 * Removes the saved password exception corresponding to |exceptionUrl|. If no |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 */ | 84 */ |
94 chrome.passwordsPrivate.onPasswordExceptionsListChanged; | 85 chrome.passwordsPrivate.onPasswordExceptionsListChanged; |
95 | 86 |
96 /** | 87 /** |
97 * Fired when a plaintext password has been fetched in response to a call to | 88 * Fired when a plaintext password has been fetched in response to a call to |
98 * chrome.passwordsPrivate.requestPlaintextPassword(). | 89 * chrome.passwordsPrivate.requestPlaintextPassword(). |
99 * @type {!ChromeEvent} | 90 * @type {!ChromeEvent} |
100 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte
xtPasswordRetrieved | 91 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte
xtPasswordRetrieved |
101 */ | 92 */ |
102 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; | 93 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; |
OLD | NEW |