| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file was generated by: | 5 // This file was generated by: |
| 6 // tools/json_schema_compiler/compiler.py. | 6 // tools/json_schema_compiler/compiler.py. |
| 7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // 'chrome.passwordsPrivate.FooType'. | 8 // 'chrome.passwordsPrivate.FooType'. |
| 9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
| 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 * some operating systems, this call may result in an OS-level reauthentication. | 68 * some operating systems, this call may result in an OS-level reauthentication. |
| 69 * Once the password has been fetched, it will be returned via the | 69 * Once the password has been fetched, it will be returned via the |
| 70 * onPlaintextPasswordRetrieved event. | 70 * onPlaintextPasswordRetrieved event. |
| 71 * @param {!chrome.passwordsPrivate.LoginPair} loginPair The LoginPair | 71 * @param {!chrome.passwordsPrivate.LoginPair} loginPair The LoginPair |
| 72 * corresponding to the entry whose password is to be returned. | 72 * corresponding to the entry whose password is to be returned. |
| 73 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestP
laintextPassword | 73 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestP
laintextPassword |
| 74 */ | 74 */ |
| 75 chrome.passwordsPrivate.requestPlaintextPassword = function(loginPair) {}; | 75 chrome.passwordsPrivate.requestPlaintextPassword = function(loginPair) {}; |
| 76 | 76 |
| 77 /** | 77 /** |
| 78 * Returns the list of saved passwords using the |onSavedPasswordsListChanged| |
| 79 * event. |
| 80 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestS
avedPasswordList |
| 81 */ |
| 82 chrome.passwordsPrivate.requestSavedPasswordList = function() {}; |
| 83 |
| 84 /** |
| 85 * Returns the list of password exceptions using the |
| 86 * |onPasswordExceptionsListChanged| event. |
| 87 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestP
asswordExceptionList |
| 88 */ |
| 89 chrome.passwordsPrivate.requestPasswordExceptionList = function() {}; |
| 90 |
| 91 /** |
| 78 * Fired when the saved passwords list has changed, meaning that an entry has | 92 * Fired when the saved passwords list has changed, meaning that an entry has |
| 79 * been added or removed. Note that this event fires as soon as a listener is | 93 * been added or removed. Note that this event fires as soon as a listener is |
| 80 * added. | 94 * added. |
| 81 * @type {!ChromeEvent} | 95 * @type {!ChromeEvent} |
| 82 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa
sswordsListChanged | 96 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa
sswordsListChanged |
| 83 */ | 97 */ |
| 84 chrome.passwordsPrivate.onSavedPasswordsListChanged; | 98 chrome.passwordsPrivate.onSavedPasswordsListChanged; |
| 85 | 99 |
| 86 /** | 100 /** |
| 87 * Fired when the password exceptions list has changed, meaning that an entry | 101 * Fired when the password exceptions list has changed, meaning that an entry |
| 88 * has been added or removed. Note that this event fires as soon as a listener | 102 * has been added or removed. Note that this event fires as soon as a listener |
| 89 * is added. | 103 * is added. |
| 90 * @type {!ChromeEvent} | 104 * @type {!ChromeEvent} |
| 91 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor
dExceptionsListChanged | 105 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor
dExceptionsListChanged |
| 92 */ | 106 */ |
| 93 chrome.passwordsPrivate.onPasswordExceptionsListChanged; | 107 chrome.passwordsPrivate.onPasswordExceptionsListChanged; |
| 94 | 108 |
| 95 /** | 109 /** |
| 96 * Fired when a plaintext password has been fetched in response to a call to | 110 * Fired when a plaintext password has been fetched in response to a call to |
| 97 * chrome.passwordsPrivate.requestPlaintextPassword(). | 111 * chrome.passwordsPrivate.requestPlaintextPassword(). |
| 98 * @type {!ChromeEvent} | 112 * @type {!ChromeEvent} |
| 99 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte
xtPasswordRetrieved | 113 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte
xtPasswordRetrieved |
| 100 */ | 114 */ |
| 101 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; | 115 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; |
| OLD | NEW |