Chromium Code Reviews| 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 23 matching lines...) Expand all Loading... | |
| 34 * }} | 34 * }} |
| 35 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordUi Entry | 35 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordUi Entry |
| 36 */ | 36 */ |
| 37 chrome.passwordsPrivate.PasswordUiEntry; | 37 chrome.passwordsPrivate.PasswordUiEntry; |
| 38 | 38 |
| 39 /** | 39 /** |
| 40 * @typedef {{ | 40 * @typedef {{ |
| 41 * exceptionUrl: string, | 41 * exceptionUrl: string, |
| 42 * linkUrl: string | 42 * linkUrl: string |
| 43 * }} | 43 * }} |
| 44 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionP air | 44 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionE ntry |
| 45 */ | 45 */ |
| 46 chrome.passwordsPrivate.ExceptionPair; | 46 chrome.passwordsPrivate.ExceptionEntry; |
|
jdoerrie
2017/04/21 17:07:18
Modifying this manually is definitely the wrong wa
tommycli
2017/04/21 17:18:49
Check dis out: https://cs.chromium.org/chromium/sr
hcarmona
2017/04/21 17:52:19
Doesn't seem to regen on my machine automatically.
hcarmona
2017/04/21 18:04:19
go/ndgmw worked for me :-)
| |
| 47 | 47 |
| 48 /** | 48 /** |
| 49 * @typedef {{ | 49 * @typedef {{ |
| 50 * loginPair: !chrome.passwordsPrivate.LoginPair, | 50 * loginPair: !chrome.passwordsPrivate.LoginPair, |
| 51 * plaintextPassword: string | 51 * plaintextPassword: string |
| 52 * }} | 52 * }} |
| 53 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextP asswordEventParameters | 53 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextP asswordEventParameters |
| 54 */ | 54 */ |
| 55 chrome.passwordsPrivate.PlaintextPasswordEventParameters; | 55 chrome.passwordsPrivate.PlaintextPasswordEventParameters; |
| 56 | 56 |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 87 /** | 87 /** |
| 88 * Returns the list of saved passwords. | 88 * Returns the list of saved passwords. |
| 89 * @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void} | 89 * @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void} |
| 90 * callback Called with the list of saved passwords. | 90 * callback Called with the list of saved passwords. |
| 91 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getSaved PasswordList | 91 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getSaved PasswordList |
| 92 */ | 92 */ |
| 93 chrome.passwordsPrivate.getSavedPasswordList = function(callback) {}; | 93 chrome.passwordsPrivate.getSavedPasswordList = function(callback) {}; |
| 94 | 94 |
| 95 /** | 95 /** |
| 96 * Returns the list of password exceptions. | 96 * Returns the list of password exceptions. |
| 97 * @param {function(!Array<!chrome.passwordsPrivate.ExceptionPair>):void} | 97 * @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void} |
| 98 * callback Called with the list of password exceptions. | 98 * callback Called with the list of password exceptions. |
| 99 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPassw ordExceptionList | 99 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPassw ordExceptionList |
| 100 */ | 100 */ |
| 101 chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {}; | 101 chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {}; |
| 102 | 102 |
| 103 /** | 103 /** |
| 104 * Fired when the saved passwords list has changed, meaning that an entry has | 104 * Fired when the saved passwords list has changed, meaning that an entry has |
| 105 * been added or removed. | 105 * been added or removed. |
| 106 * @type {!ChromeEvent} | 106 * @type {!ChromeEvent} |
| 107 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa sswordsListChanged | 107 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa sswordsListChanged |
| 108 */ | 108 */ |
| 109 chrome.passwordsPrivate.onSavedPasswordsListChanged; | 109 chrome.passwordsPrivate.onSavedPasswordsListChanged; |
| 110 | 110 |
| 111 /** | 111 /** |
| 112 * Fired when the password exceptions list has changed, meaning that an entry | 112 * Fired when the password exceptions list has changed, meaning that an entry |
| 113 * has been added or removed. | 113 * has been added or removed. |
| 114 * @type {!ChromeEvent} | 114 * @type {!ChromeEvent} |
| 115 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor dExceptionsListChanged | 115 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor dExceptionsListChanged |
| 116 */ | 116 */ |
| 117 chrome.passwordsPrivate.onPasswordExceptionsListChanged; | 117 chrome.passwordsPrivate.onPasswordExceptionsListChanged; |
| 118 | 118 |
| 119 /** | 119 /** |
| 120 * Fired when a plaintext password has been fetched in response to a call to | 120 * Fired when a plaintext password has been fetched in response to a call to |
| 121 * chrome.passwordsPrivate.requestPlaintextPassword(). | 121 * chrome.passwordsPrivate.requestPlaintextPassword(). |
| 122 * @type {!ChromeEvent} | 122 * @type {!ChromeEvent} |
| 123 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte xtPasswordRetrieved | 123 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte xtPasswordRetrieved |
| 124 */ | 124 */ |
| 125 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; | 125 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; |
| OLD | NEW |