Commit 989ec88b authored by Nigel Tao's avatar Nigel Tao Committed by Commit Bot

Remove more auto-generated @see links

This commit follows up
https://chromium-review.googlesource.com/c/chromium/src/+/1090425 "Don't
generate @see links for private externs" to, as planned in that prior
commit's commit message, update other *_private.js files.

This commit merely deletes some comments. It does not re-generate .js
files to sync with the source chrome/common/extensions/api/*.{idl,json}
files, which would possibly pick up code changes that aren't just
comment changes. It appears that the .js generation is triggered
manually.

These URLs are 404s:

https://developer.chrome.com/extensions/bluetoothPrivate
https://developer.chrome.com/extensions/inputMethodPrivate
https://developer.chrome.com/extensions/languageSettingsPrivate
https://developer.chrome.com/extensions/metricsPrivate
https://developer.chrome.com/extensions/passwordsPrivate
https://developer.chrome.com/extensions/quickUnlockPrivate
https://developer.chrome.com/extensions/safeBrowsingPrivate
https://developer.chrome.com/extensions/settingsPrivate
https://developer.chrome.com/extensions/usersPrivate

These URLs are 200s:

https://developer.chrome.com/extensions/developerPrivate
https://developer.chrome.com/extensions/networkingPrivate

However, even if the page exists, some auto-generated links refer to
non-existant anchors on that page, such as:

https://developer.chrome.com/extensions/developerPrivate#type-DeleteExtensionErrorsProperties
https://developer.chrome.com/extensions/developerPrivate#type-ManifestError
https://developer.chrome.com/extensions/networkingPrivate#type-L2TPProperties
https://developer.chrome.com/extensions/networkingPrivate#type-VerifyX509

As discussed in 1090425, the tool no longer emits @see links for
namespaces matching "private", even if its developer.chrome.com page
exists. A new TODO was added to address this.

Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: Id24b4bcf83fdbc75c225d17c430ffc89cdf3a472
Reviewed-on: https://chromium-review.googlesource.com/1107278Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Nigel Tao <nigeltao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569106}
parent fe6def87
...@@ -21,7 +21,6 @@ chrome.bluetoothPrivate = {}; ...@@ -21,7 +21,6 @@ chrome.bluetoothPrivate = {};
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-PairingEventType
*/ */
chrome.bluetoothPrivate.PairingEventType = { chrome.bluetoothPrivate.PairingEventType = {
REQUEST_PINCODE: 'requestPincode', REQUEST_PINCODE: 'requestPincode',
...@@ -36,7 +35,6 @@ chrome.bluetoothPrivate.PairingEventType = { ...@@ -36,7 +35,6 @@ chrome.bluetoothPrivate.PairingEventType = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-ConnectResultType
*/ */
chrome.bluetoothPrivate.ConnectResultType = { chrome.bluetoothPrivate.ConnectResultType = {
ALREADY_CONNECTED: 'alreadyConnected', ALREADY_CONNECTED: 'alreadyConnected',
...@@ -53,7 +51,6 @@ chrome.bluetoothPrivate.ConnectResultType = { ...@@ -53,7 +51,6 @@ chrome.bluetoothPrivate.ConnectResultType = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-PairingResponse
*/ */
chrome.bluetoothPrivate.PairingResponse = { chrome.bluetoothPrivate.PairingResponse = {
CONFIRM: 'confirm', CONFIRM: 'confirm',
...@@ -63,7 +60,6 @@ chrome.bluetoothPrivate.PairingResponse = { ...@@ -63,7 +60,6 @@ chrome.bluetoothPrivate.PairingResponse = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-TransportType
*/ */
chrome.bluetoothPrivate.TransportType = { chrome.bluetoothPrivate.TransportType = {
LE: 'le', LE: 'le',
...@@ -79,7 +75,6 @@ chrome.bluetoothPrivate.TransportType = { ...@@ -79,7 +75,6 @@ chrome.bluetoothPrivate.TransportType = {
* passkey: (number|undefined), * passkey: (number|undefined),
* enteredKey: (number|undefined) * enteredKey: (number|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-PairingEvent
*/ */
chrome.bluetoothPrivate.PairingEvent; chrome.bluetoothPrivate.PairingEvent;
...@@ -89,7 +84,6 @@ chrome.bluetoothPrivate.PairingEvent; ...@@ -89,7 +84,6 @@ chrome.bluetoothPrivate.PairingEvent;
* powered: (boolean|undefined), * powered: (boolean|undefined),
* discoverable: (boolean|undefined) * discoverable: (boolean|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-NewAdapterState
*/ */
chrome.bluetoothPrivate.NewAdapterState; chrome.bluetoothPrivate.NewAdapterState;
...@@ -100,7 +94,6 @@ chrome.bluetoothPrivate.NewAdapterState; ...@@ -100,7 +94,6 @@ chrome.bluetoothPrivate.NewAdapterState;
* pincode: (string|undefined), * pincode: (string|undefined),
* passkey: (number|undefined) * passkey: (number|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-SetPairingResponseOptions
*/ */
chrome.bluetoothPrivate.SetPairingResponseOptions; chrome.bluetoothPrivate.SetPairingResponseOptions;
...@@ -111,7 +104,6 @@ chrome.bluetoothPrivate.SetPairingResponseOptions; ...@@ -111,7 +104,6 @@ chrome.bluetoothPrivate.SetPairingResponseOptions;
* rssi: (number|undefined), * rssi: (number|undefined),
* pathloss: (number|undefined) * pathloss: (number|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#type-DiscoveryFilter
*/ */
chrome.bluetoothPrivate.DiscoveryFilter; chrome.bluetoothPrivate.DiscoveryFilter;
...@@ -119,14 +111,12 @@ chrome.bluetoothPrivate.DiscoveryFilter; ...@@ -119,14 +111,12 @@ chrome.bluetoothPrivate.DiscoveryFilter;
* Changes the state of the Bluetooth adapter. * Changes the state of the Bluetooth adapter.
* @param {!chrome.bluetoothPrivate.NewAdapterState} adapterState * @param {!chrome.bluetoothPrivate.NewAdapterState} adapterState
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setAdapterState
*/ */
chrome.bluetoothPrivate.setAdapterState = function(adapterState, callback) {}; chrome.bluetoothPrivate.setAdapterState = function(adapterState, callback) {};
/** /**
* @param {!chrome.bluetoothPrivate.SetPairingResponseOptions} options * @param {!chrome.bluetoothPrivate.SetPairingResponseOptions} options
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setPairingResponse
*/ */
chrome.bluetoothPrivate.setPairingResponse = function(options, callback) {}; chrome.bluetoothPrivate.setPairingResponse = function(options, callback) {};
...@@ -134,7 +124,6 @@ chrome.bluetoothPrivate.setPairingResponse = function(options, callback) {}; ...@@ -134,7 +124,6 @@ chrome.bluetoothPrivate.setPairingResponse = function(options, callback) {};
* Tears down all connections to the given device. * Tears down all connections to the given device.
* @param {string} deviceAddress * @param {string} deviceAddress
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-disconnectAll
*/ */
chrome.bluetoothPrivate.disconnectAll = function(deviceAddress, callback) {}; chrome.bluetoothPrivate.disconnectAll = function(deviceAddress, callback) {};
...@@ -142,7 +131,6 @@ chrome.bluetoothPrivate.disconnectAll = function(deviceAddress, callback) {}; ...@@ -142,7 +131,6 @@ chrome.bluetoothPrivate.disconnectAll = function(deviceAddress, callback) {};
* Forgets the given device. * Forgets the given device.
* @param {string} deviceAddress * @param {string} deviceAddress
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-forgetDevice
*/ */
chrome.bluetoothPrivate.forgetDevice = function(deviceAddress, callback) {}; chrome.bluetoothPrivate.forgetDevice = function(deviceAddress, callback) {};
...@@ -150,7 +138,6 @@ chrome.bluetoothPrivate.forgetDevice = function(deviceAddress, callback) {}; ...@@ -150,7 +138,6 @@ chrome.bluetoothPrivate.forgetDevice = function(deviceAddress, callback) {};
* Set or clear discovery filter. * Set or clear discovery filter.
* @param {!chrome.bluetoothPrivate.DiscoveryFilter} discoveryFilter * @param {!chrome.bluetoothPrivate.DiscoveryFilter} discoveryFilter
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-setDiscoveryFilter
*/ */
chrome.bluetoothPrivate.setDiscoveryFilter = function(discoveryFilter, callback) {}; chrome.bluetoothPrivate.setDiscoveryFilter = function(discoveryFilter, callback) {};
...@@ -160,7 +147,6 @@ chrome.bluetoothPrivate.setDiscoveryFilter = function(discoveryFilter, callback) ...@@ -160,7 +147,6 @@ chrome.bluetoothPrivate.setDiscoveryFilter = function(discoveryFilter, callback)
* succeed and invoke |callback| with ConnectResultType. * succeed and invoke |callback| with ConnectResultType.
* @param {string} deviceAddress * @param {string} deviceAddress
* @param {function(!chrome.bluetoothPrivate.ConnectResultType):void=} callback * @param {function(!chrome.bluetoothPrivate.ConnectResultType):void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-connect
*/ */
chrome.bluetoothPrivate.connect = function(deviceAddress, callback) {}; chrome.bluetoothPrivate.connect = function(deviceAddress, callback) {};
...@@ -168,13 +154,11 @@ chrome.bluetoothPrivate.connect = function(deviceAddress, callback) {}; ...@@ -168,13 +154,11 @@ chrome.bluetoothPrivate.connect = function(deviceAddress, callback) {};
* Pairs the given device. * Pairs the given device.
* @param {string} deviceAddress * @param {string} deviceAddress
* @param {function():void=} callback * @param {function():void=} callback
* @see https://developer.chrome.com/extensions/bluetoothPrivate#method-pair
*/ */
chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {}; chrome.bluetoothPrivate.pair = function(deviceAddress, callback) {};
/** /**
* Fired when a pairing event occurs. * Fired when a pairing event occurs.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/bluetoothPrivate#event-onPairing
*/ */
chrome.bluetoothPrivate.onPairing; chrome.bluetoothPrivate.onPairing;
...@@ -22,7 +22,6 @@ chrome.inputMethodPrivate = {}; ...@@ -22,7 +22,6 @@ chrome.inputMethodPrivate = {};
* isPhysicalKeyboardAutocorrectEnabled: boolean, * isPhysicalKeyboardAutocorrectEnabled: boolean,
* isImeMenuActivated: boolean * isImeMenuActivated: boolean
* }):void} callback Callback which is called with the config object. * }):void} callback Callback which is called with the config object.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getInputMethodConfig
*/ */
chrome.inputMethodPrivate.getInputMethodConfig = function(callback) {}; chrome.inputMethodPrivate.getInputMethodConfig = function(callback) {};
...@@ -33,7 +32,6 @@ chrome.inputMethodPrivate.getInputMethodConfig = function(callback) {}; ...@@ -33,7 +32,6 @@ chrome.inputMethodPrivate.getInputMethodConfig = function(callback) {};
* name: string, * name: string,
* indicator: string * indicator: string
* }>):void} callback Callback which is called with the input method objects. * }>):void} callback Callback which is called with the input method objects.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getInputMethods
*/ */
chrome.inputMethodPrivate.getInputMethods = function(callback) {}; chrome.inputMethodPrivate.getInputMethods = function(callback) {};
...@@ -41,7 +39,6 @@ chrome.inputMethodPrivate.getInputMethods = function(callback) {}; ...@@ -41,7 +39,6 @@ chrome.inputMethodPrivate.getInputMethods = function(callback) {};
* Gets the current input method. * Gets the current input method.
* @param {function(string):void} callback Callback which is called with the * @param {function(string):void} callback Callback which is called with the
* current input method. * current input method.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getCurrentInputMethod
*/ */
chrome.inputMethodPrivate.getCurrentInputMethod = function(callback) {}; chrome.inputMethodPrivate.getCurrentInputMethod = function(callback) {};
...@@ -51,7 +48,6 @@ chrome.inputMethodPrivate.getCurrentInputMethod = function(callback) {}; ...@@ -51,7 +48,6 @@ chrome.inputMethodPrivate.getCurrentInputMethod = function(callback) {};
* method. * method.
* @param {function():void=} callback Callback which is called once the current * @param {function():void=} callback Callback which is called once the current
* input method is set. If unsuccessful $(ref:runtime.lastError) is set. * input method is set. If unsuccessful $(ref:runtime.lastError) is set.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-setCurrentInputMethod
*/ */
chrome.inputMethodPrivate.setCurrentInputMethod = function(inputMethodId, callback) {}; chrome.inputMethodPrivate.setCurrentInputMethod = function(inputMethodId, callback) {};
...@@ -59,7 +55,6 @@ chrome.inputMethodPrivate.setCurrentInputMethod = function(inputMethodId, callba ...@@ -59,7 +55,6 @@ chrome.inputMethodPrivate.setCurrentInputMethod = function(inputMethodId, callba
* Fetches a list of all the words currently in the dictionary. * Fetches a list of all the words currently in the dictionary.
* @param {function(!Array<string>):void} callback Callback which is called once * @param {function(!Array<string>):void} callback Callback which is called once
* the list of dictionary words are ready. * the list of dictionary words are ready.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-fetchAllDictionaryWords
*/ */
chrome.inputMethodPrivate.fetchAllDictionaryWords = function(callback) {}; chrome.inputMethodPrivate.fetchAllDictionaryWords = function(callback) {};
...@@ -68,7 +63,6 @@ chrome.inputMethodPrivate.fetchAllDictionaryWords = function(callback) {}; ...@@ -68,7 +63,6 @@ chrome.inputMethodPrivate.fetchAllDictionaryWords = function(callback) {};
* @param {string} word A new word to add to the dictionary. * @param {string} word A new word to add to the dictionary.
* @param {function():void=} callback Callback which is called once the word is * @param {function():void=} callback Callback which is called once the word is
* added. If unsuccessful $(ref:runtime.lastError) is set. * added. If unsuccessful $(ref:runtime.lastError) is set.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-addWordToDictionary
*/ */
chrome.inputMethodPrivate.addWordToDictionary = function(word, callback) {}; chrome.inputMethodPrivate.addWordToDictionary = function(word, callback) {};
...@@ -76,7 +70,6 @@ chrome.inputMethodPrivate.addWordToDictionary = function(word, callback) {}; ...@@ -76,7 +70,6 @@ chrome.inputMethodPrivate.addWordToDictionary = function(word, callback) {};
* Gets whether the encrypt sync is enabled. * Gets whether the encrypt sync is enabled.
* @param {function(boolean):void=} callback Callback which is called to provide * @param {function(boolean):void=} callback Callback which is called to provide
* the result. * the result.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-getEncryptSyncEnabled
*/ */
chrome.inputMethodPrivate.getEncryptSyncEnabled = function(callback) {}; chrome.inputMethodPrivate.getEncryptSyncEnabled = function(callback) {};
...@@ -85,41 +78,35 @@ chrome.inputMethodPrivate.getEncryptSyncEnabled = function(callback) {}; ...@@ -85,41 +78,35 @@ chrome.inputMethodPrivate.getEncryptSyncEnabled = function(callback) {};
* @param {string} xkb_name The XKB layout name. * @param {string} xkb_name The XKB layout name.
* @param {function():void=} callback Callback which is called when the layout * @param {function():void=} callback Callback which is called when the layout
* is set. * is set.
* @see https://developer.chrome.com/extensions/inputMethodPrivate#method-setXkbLayout
*/ */
chrome.inputMethodPrivate.setXkbLayout = function(xkb_name, callback) {}; chrome.inputMethodPrivate.setXkbLayout = function(xkb_name, callback) {};
/** /**
* Fired when the input method is changed. * Fired when the input method is changed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onChanged
*/ */
chrome.inputMethodPrivate.onChanged; chrome.inputMethodPrivate.onChanged;
/** /**
* Fired when the composition bounds or cursor bounds are changed. * Fired when the composition bounds or cursor bounds are changed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onCompositionBoundsChanged
*/ */
chrome.inputMethodPrivate.onCompositionBoundsChanged; chrome.inputMethodPrivate.onCompositionBoundsChanged;
/** /**
* Fired when the custom spelling dictionary is loaded. * Fired when the custom spelling dictionary is loaded.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onDictionaryLoaded
*/ */
chrome.inputMethodPrivate.onDictionaryLoaded; chrome.inputMethodPrivate.onDictionaryLoaded;
/** /**
* Fired when words are added or removed from the custom spelling dictionary. * Fired when words are added or removed from the custom spelling dictionary.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onDictionaryChanged
*/ */
chrome.inputMethodPrivate.onDictionaryChanged; chrome.inputMethodPrivate.onDictionaryChanged;
/** /**
* Fired when the IME menu is activated or deactivated. * Fired when the IME menu is activated or deactivated.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/inputMethodPrivate#event-onImeMenuActivationChanged
*/ */
chrome.inputMethodPrivate.onImeMenuActivationChanged; chrome.inputMethodPrivate.onImeMenuActivationChanged;
...@@ -18,7 +18,6 @@ chrome.languageSettingsPrivate = {}; ...@@ -18,7 +18,6 @@ chrome.languageSettingsPrivate = {};
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-MoveType
*/ */
chrome.languageSettingsPrivate.MoveType = { chrome.languageSettingsPrivate.MoveType = {
TOP: 'TOP', TOP: 'TOP',
...@@ -37,7 +36,6 @@ chrome.languageSettingsPrivate.MoveType = { ...@@ -37,7 +36,6 @@ chrome.languageSettingsPrivate.MoveType = {
* supportsTranslate: (boolean|undefined), * supportsTranslate: (boolean|undefined),
* isAllowedUILocale: (boolean|undefined) * isAllowedUILocale: (boolean|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-Language
*/ */
chrome.languageSettingsPrivate.Language; chrome.languageSettingsPrivate.Language;
...@@ -48,7 +46,6 @@ chrome.languageSettingsPrivate.Language; ...@@ -48,7 +46,6 @@ chrome.languageSettingsPrivate.Language;
* isDownloading: (boolean|undefined), * isDownloading: (boolean|undefined),
* downloadFailed: (boolean|undefined) * downloadFailed: (boolean|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-SpellcheckDictionaryStatus
*/ */
chrome.languageSettingsPrivate.SpellcheckDictionaryStatus; chrome.languageSettingsPrivate.SpellcheckDictionaryStatus;
...@@ -60,7 +57,6 @@ chrome.languageSettingsPrivate.SpellcheckDictionaryStatus; ...@@ -60,7 +57,6 @@ chrome.languageSettingsPrivate.SpellcheckDictionaryStatus;
* enabled: (boolean|undefined), * enabled: (boolean|undefined),
* hasOptionsPage: (boolean|undefined) * hasOptionsPage: (boolean|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-InputMethod
*/ */
chrome.languageSettingsPrivate.InputMethod; chrome.languageSettingsPrivate.InputMethod;
...@@ -69,7 +65,6 @@ chrome.languageSettingsPrivate.InputMethod; ...@@ -69,7 +65,6 @@ chrome.languageSettingsPrivate.InputMethod;
* componentExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod>, * componentExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod>,
* thirdPartyExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod> * thirdPartyExtensionImes: !Array<!chrome.languageSettingsPrivate.InputMethod>
* }} * }}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#type-InputMethodLists
*/ */
chrome.languageSettingsPrivate.InputMethodLists; chrome.languageSettingsPrivate.InputMethodLists;
...@@ -77,7 +72,6 @@ chrome.languageSettingsPrivate.InputMethodLists; ...@@ -77,7 +72,6 @@ chrome.languageSettingsPrivate.InputMethodLists;
* Gets languages available for translate, spell checking, input and locale. * Gets languages available for translate, spell checking, input and locale.
* @param {function(!Array<!chrome.languageSettingsPrivate.Language>):void} * @param {function(!Array<!chrome.languageSettingsPrivate.Language>):void}
* callback * callback
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getLanguageList
*/ */
chrome.languageSettingsPrivate.getLanguageList = function(callback) {}; chrome.languageSettingsPrivate.getLanguageList = function(callback) {};
...@@ -85,14 +79,12 @@ chrome.languageSettingsPrivate.getLanguageList = function(callback) {}; ...@@ -85,14 +79,12 @@ chrome.languageSettingsPrivate.getLanguageList = function(callback) {};
* Enables a language, adding it to the Accept-Language list (used to decide * Enables a language, adding it to the Accept-Language list (used to decide
* which languages to translate, generate the Accept-Language header, etc.). * which languages to translate, generate the Accept-Language header, etc.).
* @param {string} languageCode * @param {string} languageCode
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-enableLanguage
*/ */
chrome.languageSettingsPrivate.enableLanguage = function(languageCode) {}; chrome.languageSettingsPrivate.enableLanguage = function(languageCode) {};
/** /**
* Disables a language, removing it from the Accept-Language list. * Disables a language, removing it from the Accept-Language list.
* @param {string} languageCode * @param {string} languageCode
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-disableLanguage
*/ */
chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {}; chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {};
...@@ -100,7 +92,6 @@ chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {}; ...@@ -100,7 +92,6 @@ chrome.languageSettingsPrivate.disableLanguage = function(languageCode) {};
* Enables or disables translation for a given language. * Enables or disables translation for a given language.
* @param {string} languageCode * @param {string} languageCode
* @param {boolean} enable * @param {boolean} enable
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-setEnableTranslationForLanguage
*/ */
chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(languageCode, enable) {}; chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(languageCode, enable) {};
...@@ -108,7 +99,6 @@ chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(langua ...@@ -108,7 +99,6 @@ chrome.languageSettingsPrivate.setEnableTranslationForLanguage = function(langua
* Moves a language inside the language list. * Moves a language inside the language list.
* @param {string} languageCode * @param {string} languageCode
* @param {!chrome.languageSettingsPrivate.MoveType} moveType * @param {!chrome.languageSettingsPrivate.MoveType} moveType
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-moveLanguage
*/ */
chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) {}; chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) {};
...@@ -116,35 +106,30 @@ chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) { ...@@ -116,35 +106,30 @@ chrome.languageSettingsPrivate.moveLanguage = function(languageCode, moveType) {
* Gets the current status of the chosen spell check dictionaries. * Gets the current status of the chosen spell check dictionaries.
* @param {function(!Array<!chrome.languageSettingsPrivate.SpellcheckDictionaryStatus>):void} * @param {function(!Array<!chrome.languageSettingsPrivate.SpellcheckDictionaryStatus>):void}
* callback * callback
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getSpellcheckDictionaryStatuses
*/ */
chrome.languageSettingsPrivate.getSpellcheckDictionaryStatuses = function(callback) {}; chrome.languageSettingsPrivate.getSpellcheckDictionaryStatuses = function(callback) {};
/** /**
* Gets the custom spell check words, in sorted order. * Gets the custom spell check words, in sorted order.
* @param {function(!Array<string>):void} callback * @param {function(!Array<string>):void} callback
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getSpellcheckWords
*/ */
chrome.languageSettingsPrivate.getSpellcheckWords = function(callback) {}; chrome.languageSettingsPrivate.getSpellcheckWords = function(callback) {};
/** /**
* Adds a word to the custom dictionary. * Adds a word to the custom dictionary.
* @param {string} word * @param {string} word
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-addSpellcheckWord
*/ */
chrome.languageSettingsPrivate.addSpellcheckWord = function(word) {}; chrome.languageSettingsPrivate.addSpellcheckWord = function(word) {};
/** /**
* Removes a word from the custom dictionary. * Removes a word from the custom dictionary.
* @param {string} word * @param {string} word
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-removeSpellcheckWord
*/ */
chrome.languageSettingsPrivate.removeSpellcheckWord = function(word) {}; chrome.languageSettingsPrivate.removeSpellcheckWord = function(word) {};
/** /**
* Gets the translate target language (in most cases, the display locale). * Gets the translate target language (in most cases, the display locale).
* @param {function(string):void} callback * @param {function(string):void} callback
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getTranslateTargetLanguage
*/ */
chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) {}; chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) {};
...@@ -152,7 +137,6 @@ chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) { ...@@ -152,7 +137,6 @@ chrome.languageSettingsPrivate.getTranslateTargetLanguage = function(callback) {
* Gets all supported input methods, including third-party IMEs. Chrome OS only. * Gets all supported input methods, including third-party IMEs. Chrome OS only.
* @param {function(!chrome.languageSettingsPrivate.InputMethodLists):void} * @param {function(!chrome.languageSettingsPrivate.InputMethodLists):void}
* callback * callback
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-getInputMethodLists
*/ */
chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {}; chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {};
...@@ -160,7 +144,6 @@ chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {}; ...@@ -160,7 +144,6 @@ chrome.languageSettingsPrivate.getInputMethodLists = function(callback) {};
* Adds the input method to the current user's list of enabled input methods, * Adds the input method to the current user's list of enabled input methods,
* enabling the input method for the current user. Chrome OS only. * enabling the input method for the current user. Chrome OS only.
* @param {string} inputMethodId * @param {string} inputMethodId
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-addInputMethod
*/ */
chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {}; chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {};
...@@ -168,14 +151,12 @@ chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {}; ...@@ -168,14 +151,12 @@ chrome.languageSettingsPrivate.addInputMethod = function(inputMethodId) {};
* Removes the input method from the current user's list of enabled input * Removes the input method from the current user's list of enabled input
* methods, disabling the input method for the current user. Chrome OS only. * methods, disabling the input method for the current user. Chrome OS only.
* @param {string} inputMethodId * @param {string} inputMethodId
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-removeInputMethod
*/ */
chrome.languageSettingsPrivate.removeInputMethod = function(inputMethodId) {}; chrome.languageSettingsPrivate.removeInputMethod = function(inputMethodId) {};
/** /**
* Tries to download the dictionary after a failed download. * Tries to download the dictionary after a failed download.
* @param {string} languageCode * @param {string} languageCode
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#method-retryDownloadDictionary
*/ */
chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode) {}; chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode) {};
...@@ -183,7 +164,6 @@ chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode) ...@@ -183,7 +164,6 @@ chrome.languageSettingsPrivate.retryDownloadDictionary = function(languageCode)
* Called when the pref for the dictionaries used for spell checking changes or * Called when the pref for the dictionaries used for spell checking changes or
* the status of one of the spell check dictionaries changes. * the status of one of the spell check dictionaries changes.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onSpellcheckDictionariesChanged
*/ */
chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged; chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged;
...@@ -191,20 +171,17 @@ chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged; ...@@ -191,20 +171,17 @@ chrome.languageSettingsPrivate.onSpellcheckDictionariesChanged;
* Called when words are added to and/or removed from the custom spell check * Called when words are added to and/or removed from the custom spell check
* dictionary. * dictionary.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onCustomDictionaryChanged
*/ */
chrome.languageSettingsPrivate.onCustomDictionaryChanged; chrome.languageSettingsPrivate.onCustomDictionaryChanged;
/** /**
* Called when an input method is added. * Called when an input method is added.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onInputMethodAdded
*/ */
chrome.languageSettingsPrivate.onInputMethodAdded; chrome.languageSettingsPrivate.onInputMethodAdded;
/** /**
* Called when an input method is removed. * Called when an input method is removed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/languageSettingsPrivate#event-onInputMethodRemoved
*/ */
chrome.languageSettingsPrivate.onInputMethodRemoved; chrome.languageSettingsPrivate.onInputMethodRemoved;
\ No newline at end of file
...@@ -18,7 +18,6 @@ chrome.metricsPrivate = {}; ...@@ -18,7 +18,6 @@ chrome.metricsPrivate = {};
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/metricsPrivate#type-MetricTypeType
*/ */
chrome.metricsPrivate.MetricTypeType = { chrome.metricsPrivate.MetricTypeType = {
HISTOGRAM_LOG: 'histogram-log', HISTOGRAM_LOG: 'histogram-log',
...@@ -34,14 +33,12 @@ chrome.metricsPrivate.MetricTypeType = { ...@@ -34,14 +33,12 @@ chrome.metricsPrivate.MetricTypeType = {
* max: number, * max: number,
* buckets: number * buckets: number
* }} * }}
* @see https://developer.chrome.com/extensions/metricsPrivate#type-MetricType
*/ */
chrome.metricsPrivate.MetricType; chrome.metricsPrivate.MetricType;
/** /**
* Returns true if the user opted in to sending crash reports. * Returns true if the user opted in to sending crash reports.
* @param {function(boolean):void} callback * @param {function(boolean):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getIsCrashReportingEnabled
*/ */
chrome.metricsPrivate.getIsCrashReportingEnabled = function(callback) {}; chrome.metricsPrivate.getIsCrashReportingEnabled = function(callback) {};
...@@ -50,7 +47,6 @@ chrome.metricsPrivate.getIsCrashReportingEnabled = function(callback) {}; ...@@ -50,7 +47,6 @@ chrome.metricsPrivate.getIsCrashReportingEnabled = function(callback) {};
* trial does not exist or is not enabled. * trial does not exist or is not enabled.
* @param {string} name * @param {string} name
* @param {function(string):void} callback * @param {function(string):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getFieldTrial
*/ */
chrome.metricsPrivate.getFieldTrial = function(name, callback) {}; chrome.metricsPrivate.getFieldTrial = function(name, callback) {};
...@@ -59,14 +55,12 @@ chrome.metricsPrivate.getFieldTrial = function(name, callback) {}; ...@@ -59,14 +55,12 @@ chrome.metricsPrivate.getFieldTrial = function(name, callback) {};
* otherwise. * otherwise.
* @param {string} name * @param {string} name
* @param {function((Object|undefined)):void} callback * @param {function((Object|undefined)):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getVariationParams
*/ */
chrome.metricsPrivate.getVariationParams = function(name, callback) {}; chrome.metricsPrivate.getVariationParams = function(name, callback) {};
/** /**
* Records an action performed by the user. * Records an action performed by the user.
* @param {string} name * @param {string} name
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordUserAction
*/ */
chrome.metricsPrivate.recordUserAction = function(name) {}; chrome.metricsPrivate.recordUserAction = function(name) {};
...@@ -74,7 +68,6 @@ chrome.metricsPrivate.recordUserAction = function(name) {}; ...@@ -74,7 +68,6 @@ chrome.metricsPrivate.recordUserAction = function(name) {};
* Records a percentage value from 1 to 100. * Records a percentage value from 1 to 100.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordPercentage
*/ */
chrome.metricsPrivate.recordPercentage = function(metricName, value) {}; chrome.metricsPrivate.recordPercentage = function(metricName, value) {};
...@@ -82,7 +75,6 @@ chrome.metricsPrivate.recordPercentage = function(metricName, value) {}; ...@@ -82,7 +75,6 @@ chrome.metricsPrivate.recordPercentage = function(metricName, value) {};
* Records a value than can range from 1 to 1,000,000. * Records a value than can range from 1 to 1,000,000.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordCount
*/ */
chrome.metricsPrivate.recordCount = function(metricName, value) {}; chrome.metricsPrivate.recordCount = function(metricName, value) {};
...@@ -90,7 +82,6 @@ chrome.metricsPrivate.recordCount = function(metricName, value) {}; ...@@ -90,7 +82,6 @@ chrome.metricsPrivate.recordCount = function(metricName, value) {};
* Records a value than can range from 1 to 100. * Records a value than can range from 1 to 100.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSmallCount
*/ */
chrome.metricsPrivate.recordSmallCount = function(metricName, value) {}; chrome.metricsPrivate.recordSmallCount = function(metricName, value) {};
...@@ -98,7 +89,6 @@ chrome.metricsPrivate.recordSmallCount = function(metricName, value) {}; ...@@ -98,7 +89,6 @@ chrome.metricsPrivate.recordSmallCount = function(metricName, value) {};
* Records a value than can range from 1 to 10,000. * Records a value than can range from 1 to 10,000.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordMediumCount
*/ */
chrome.metricsPrivate.recordMediumCount = function(metricName, value) {}; chrome.metricsPrivate.recordMediumCount = function(metricName, value) {};
...@@ -107,7 +97,6 @@ chrome.metricsPrivate.recordMediumCount = function(metricName, value) {}; ...@@ -107,7 +97,6 @@ chrome.metricsPrivate.recordMediumCount = function(metricName, value) {};
* specified in milliseconds. * specified in milliseconds.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordTime
*/ */
chrome.metricsPrivate.recordTime = function(metricName, value) {}; chrome.metricsPrivate.recordTime = function(metricName, value) {};
...@@ -116,7 +105,6 @@ chrome.metricsPrivate.recordTime = function(metricName, value) {}; ...@@ -116,7 +105,6 @@ chrome.metricsPrivate.recordTime = function(metricName, value) {};
* specified in milliseconds. * specified in milliseconds.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordMediumTime
*/ */
chrome.metricsPrivate.recordMediumTime = function(metricName, value) {}; chrome.metricsPrivate.recordMediumTime = function(metricName, value) {};
...@@ -125,7 +113,6 @@ chrome.metricsPrivate.recordMediumTime = function(metricName, value) {}; ...@@ -125,7 +113,6 @@ chrome.metricsPrivate.recordMediumTime = function(metricName, value) {};
* specified in milliseconds. * specified in milliseconds.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordLongTime
*/ */
chrome.metricsPrivate.recordLongTime = function(metricName, value) {}; chrome.metricsPrivate.recordLongTime = function(metricName, value) {};
...@@ -134,7 +121,6 @@ chrome.metricsPrivate.recordLongTime = function(metricName, value) {}; ...@@ -134,7 +121,6 @@ chrome.metricsPrivate.recordLongTime = function(metricName, value) {};
* histogram defined by the |metricName|. * histogram defined by the |metricName|.
* @param {string} metricName * @param {string} metricName
* @param {string} value * @param {string} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSparseHashable
*/ */
chrome.metricsPrivate.recordSparseHashable = function(metricName, value) {}; chrome.metricsPrivate.recordSparseHashable = function(metricName, value) {};
...@@ -143,7 +129,6 @@ chrome.metricsPrivate.recordSparseHashable = function(metricName, value) {}; ...@@ -143,7 +129,6 @@ chrome.metricsPrivate.recordSparseHashable = function(metricName, value) {};
* by the |metricName|. * by the |metricName|.
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSparseValue
*/ */
chrome.metricsPrivate.recordSparseValue = function(metricName, value) {}; chrome.metricsPrivate.recordSparseValue = function(metricName, value) {};
...@@ -151,7 +136,6 @@ chrome.metricsPrivate.recordSparseValue = function(metricName, value) {}; ...@@ -151,7 +136,6 @@ chrome.metricsPrivate.recordSparseValue = function(metricName, value) {};
* Adds a value to the given metric. * Adds a value to the given metric.
* @param {!chrome.metricsPrivate.MetricType} metric * @param {!chrome.metricsPrivate.MetricType} metric
* @param {number} value * @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordValue
*/ */
chrome.metricsPrivate.recordValue = function(metric, value) {}; chrome.metricsPrivate.recordValue = function(metric, value) {};
...@@ -160,7 +144,6 @@ chrome.metricsPrivate.recordValue = function(metric, value) {}; ...@@ -160,7 +144,6 @@ chrome.metricsPrivate.recordValue = function(metric, value) {};
* base::UmaHistogramBoolean(). * base::UmaHistogramBoolean().
* @param {string} metricName * @param {string} metricName
* @param {boolean} value * @param {boolean} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordBoolean
*/ */
chrome.metricsPrivate.recordBoolean = function(metricName, value) {}; chrome.metricsPrivate.recordBoolean = function(metricName, value) {};
...@@ -171,6 +154,5 @@ chrome.metricsPrivate.recordBoolean = function(metricName, value) {}; ...@@ -171,6 +154,5 @@ chrome.metricsPrivate.recordBoolean = function(metricName, value) {};
* @param {string} metricName * @param {string} metricName
* @param {number} value * @param {number} value
* @param {number} enumSize * @param {number} enumSize
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordEnumerationValue
*/ */
chrome.metricsPrivate.recordEnumerationValue = function(metricName, value, enumSize) {}; chrome.metricsPrivate.recordEnumerationValue = function(metricName, value, enumSize) {};
...@@ -18,7 +18,6 @@ chrome.passwordsPrivate = {}; ...@@ -18,7 +18,6 @@ chrome.passwordsPrivate = {};
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExportProgressStatus
*/ */
chrome.passwordsPrivate.ExportProgressStatus = { chrome.passwordsPrivate.ExportProgressStatus = {
NOT_STARTED: 'NOT_STARTED', NOT_STARTED: 'NOT_STARTED',
...@@ -34,7 +33,6 @@ chrome.passwordsPrivate.ExportProgressStatus = { ...@@ -34,7 +33,6 @@ chrome.passwordsPrivate.ExportProgressStatus = {
* shown: string, * shown: string,
* link: string * link: string
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-UrlCollection
*/ */
chrome.passwordsPrivate.UrlCollection; chrome.passwordsPrivate.UrlCollection;
...@@ -43,7 +41,6 @@ chrome.passwordsPrivate.UrlCollection; ...@@ -43,7 +41,6 @@ chrome.passwordsPrivate.UrlCollection;
* urls: !chrome.passwordsPrivate.UrlCollection, * urls: !chrome.passwordsPrivate.UrlCollection,
* username: string * username: string
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-LoginPair
*/ */
chrome.passwordsPrivate.LoginPair; chrome.passwordsPrivate.LoginPair;
...@@ -54,7 +51,6 @@ chrome.passwordsPrivate.LoginPair; ...@@ -54,7 +51,6 @@ chrome.passwordsPrivate.LoginPair;
* federationText: (string|undefined), * federationText: (string|undefined),
* index: number * index: number
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordUiEntry
*/ */
chrome.passwordsPrivate.PasswordUiEntry; chrome.passwordsPrivate.PasswordUiEntry;
...@@ -63,7 +59,6 @@ chrome.passwordsPrivate.PasswordUiEntry; ...@@ -63,7 +59,6 @@ chrome.passwordsPrivate.PasswordUiEntry;
* index: number, * index: number,
* plaintextPassword: string * plaintextPassword: string
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-PlaintextPasswordEventParameters
*/ */
chrome.passwordsPrivate.PlaintextPasswordEventParameters; chrome.passwordsPrivate.PlaintextPasswordEventParameters;
...@@ -72,7 +67,6 @@ chrome.passwordsPrivate.PlaintextPasswordEventParameters; ...@@ -72,7 +67,6 @@ chrome.passwordsPrivate.PlaintextPasswordEventParameters;
* urls: !chrome.passwordsPrivate.UrlCollection, * urls: !chrome.passwordsPrivate.UrlCollection,
* index: number * index: number
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionEntry
*/ */
chrome.passwordsPrivate.ExceptionEntry; chrome.passwordsPrivate.ExceptionEntry;
...@@ -81,7 +75,6 @@ chrome.passwordsPrivate.ExceptionEntry; ...@@ -81,7 +75,6 @@ chrome.passwordsPrivate.ExceptionEntry;
* status: !chrome.passwordsPrivate.ExportProgressStatus, * status: !chrome.passwordsPrivate.ExportProgressStatus,
* message: (string|undefined), * message: (string|undefined),
* }} * }}
* @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordExportProgress
*/ */
chrome.passwordsPrivate.PasswordExportProgress; chrome.passwordsPrivate.PasswordExportProgress;
...@@ -89,7 +82,6 @@ chrome.passwordsPrivate.PasswordExportProgress; ...@@ -89,7 +82,6 @@ chrome.passwordsPrivate.PasswordExportProgress;
* Removes the saved password corresponding to |loginPair|. If no saved password * Removes the saved password corresponding to |loginPair|. If no saved password
* for this pair exists, this function is a no-op. * for this pair exists, this function is a no-op.
* @param {number} index The index for the password entry being removed. * @param {number} index The index for the password entry being removed.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-removeSavedPassword
*/ */
chrome.passwordsPrivate.removeSavedPassword = function(index) {}; chrome.passwordsPrivate.removeSavedPassword = function(index) {};
...@@ -97,13 +89,11 @@ chrome.passwordsPrivate.removeSavedPassword = function(index) {}; ...@@ -97,13 +89,11 @@ chrome.passwordsPrivate.removeSavedPassword = function(index) {};
* Removes the saved password exception corresponding to |exceptionUrl|. If no * Removes the saved password exception corresponding to |exceptionUrl|. If no
* exception with this URL exists, this function is a no-op. * exception with this URL exists, this function is a no-op.
* @param {number} index The index for the exception url entry being removed. * @param {number} index The index for the exception url entry being removed.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-removePasswordException
*/ */
chrome.passwordsPrivate.removePasswordException = function(index) {}; chrome.passwordsPrivate.removePasswordException = function(index) {};
/** /**
* Undoes the last removal of a saved password or exception. * Undoes the last removal of a saved password or exception.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-undoRemoveSavedPasswordOrException
*/ */
chrome.passwordsPrivate.undoRemoveSavedPasswordOrException = function() {}; chrome.passwordsPrivate.undoRemoveSavedPasswordOrException = function() {};
...@@ -114,7 +104,6 @@ chrome.passwordsPrivate.undoRemoveSavedPasswordOrException = function() {}; ...@@ -114,7 +104,6 @@ chrome.passwordsPrivate.undoRemoveSavedPasswordOrException = function() {};
* onPlaintextPasswordRetrieved event. TODO(hcarmona): Investigate using a * onPlaintextPasswordRetrieved event. TODO(hcarmona): Investigate using a
* callback for consistency. * callback for consistency.
* @param {number} index The index for the password entry being being retrieved. * @param {number} index The index for the password entry being being retrieved.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestPlaintextPassword
*/ */
chrome.passwordsPrivate.requestPlaintextPassword = function(index) {}; chrome.passwordsPrivate.requestPlaintextPassword = function(index) {};
...@@ -122,7 +111,6 @@ chrome.passwordsPrivate.requestPlaintextPassword = function(index) {}; ...@@ -122,7 +111,6 @@ chrome.passwordsPrivate.requestPlaintextPassword = function(index) {};
* Returns the list of saved passwords. * Returns the list of saved passwords.
* @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void} * @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void}
* callback Called with the list of saved passwords. * callback Called with the list of saved passwords.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-getSavedPasswordList
*/ */
chrome.passwordsPrivate.getSavedPasswordList = function(callback) {}; chrome.passwordsPrivate.getSavedPasswordList = function(callback) {};
...@@ -130,13 +118,11 @@ chrome.passwordsPrivate.getSavedPasswordList = function(callback) {}; ...@@ -130,13 +118,11 @@ chrome.passwordsPrivate.getSavedPasswordList = function(callback) {};
* Returns the list of password exceptions. * Returns the list of password exceptions.
* @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void} * @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void}
* callback Called with the list of password exceptions. * callback Called with the list of password exceptions.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPasswordExceptionList
*/ */
chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {}; chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {};
/** /**
* Triggers the Password Manager password import functionality. * Triggers the Password Manager password import functionality.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-importPasswords
*/ */
chrome.passwordsPrivate.importPasswords = function() {}; chrome.passwordsPrivate.importPasswords = function() {};
...@@ -146,13 +132,11 @@ chrome.passwordsPrivate.importPasswords = function() {}; ...@@ -146,13 +132,11 @@ chrome.passwordsPrivate.importPasswords = function() {};
* callback Called with no error, if the new export request was accepted and * callback Called with no error, if the new export request was accepted and
* started. If rejected, <code>chrome.runtime.lastError</code> will be * started. If rejected, <code>chrome.runtime.lastError</code> will be
* set to 'in-progress'. * set to 'in-progress'.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-exportPasswords
*/ */
chrome.passwordsPrivate.exportPasswords = function(callback) {}; chrome.passwordsPrivate.exportPasswords = function(callback) {};
/** /**
* Triggers the cancelling of a password export flow. * Triggers the cancelling of a password export flow.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-cancelExportPasswords
*/ */
chrome.passwordsPrivate.cancelExportPasswords = function() {}; chrome.passwordsPrivate.cancelExportPasswords = function() {};
...@@ -160,7 +144,6 @@ chrome.passwordsPrivate.cancelExportPasswords = function() {}; ...@@ -160,7 +144,6 @@ chrome.passwordsPrivate.cancelExportPasswords = function() {};
* Triggers the Password Manager password export status query functionality. * Triggers the Password Manager password export status query functionality.
* @param {function(!chrome.passwordsPrivate.ExportProgressStatus):void} * @param {function(!chrome.passwordsPrivate.ExportProgressStatus):void}
* callback Called with the status of the current export. * callback Called with the status of the current export.
* @see https://developer.chrome.com/extensions/passwordsPrivate#method-requestExportProgressStatus
*/ */
chrome.passwordsPrivate.requestExportProgressStatus = function(callback) {}; chrome.passwordsPrivate.requestExportProgressStatus = function(callback) {};
...@@ -168,7 +151,6 @@ chrome.passwordsPrivate.requestExportProgressStatus = function(callback) {}; ...@@ -168,7 +151,6 @@ chrome.passwordsPrivate.requestExportProgressStatus = function(callback) {};
* Fired when the saved passwords list has changed, meaning that an entry has * Fired when the saved passwords list has changed, meaning that an entry has
* been added or removed. * been added or removed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPasswordsListChanged
*/ */
chrome.passwordsPrivate.onSavedPasswordsListChanged; chrome.passwordsPrivate.onSavedPasswordsListChanged;
...@@ -176,7 +158,6 @@ chrome.passwordsPrivate.onSavedPasswordsListChanged; ...@@ -176,7 +158,6 @@ chrome.passwordsPrivate.onSavedPasswordsListChanged;
* Fired when the password exceptions list has changed, meaning that an entry * Fired when the password exceptions list has changed, meaning that an entry
* has been added or removed. * has been added or removed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswordExceptionsListChanged
*/ */
chrome.passwordsPrivate.onPasswordExceptionsListChanged; chrome.passwordsPrivate.onPasswordExceptionsListChanged;
...@@ -184,7 +165,6 @@ chrome.passwordsPrivate.onPasswordExceptionsListChanged; ...@@ -184,7 +165,6 @@ chrome.passwordsPrivate.onPasswordExceptionsListChanged;
* Fired when a plaintext password has been fetched in response to a call to * Fired when a plaintext password has been fetched in response to a call to
* chrome.passwordsPrivate.requestPlaintextPassword(). * chrome.passwordsPrivate.requestPlaintextPassword().
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlaintextPasswordRetrieved
*/ */
chrome.passwordsPrivate.onPlaintextPasswordRetrieved; chrome.passwordsPrivate.onPlaintextPasswordRetrieved;
...@@ -192,6 +172,5 @@ chrome.passwordsPrivate.onPlaintextPasswordRetrieved; ...@@ -192,6 +172,5 @@ chrome.passwordsPrivate.onPlaintextPasswordRetrieved;
/** /**
* Fired when status of the export has progressed. * Fired when status of the export has progressed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswordsExportCompleted
*/ */
chrome.passwordsPrivate.onPasswordsFileExportProgress; chrome.passwordsPrivate.onPasswordsFileExportProgress;
...@@ -21,13 +21,11 @@ chrome.quickUnlockPrivate = {}; ...@@ -21,13 +21,11 @@ chrome.quickUnlockPrivate = {};
* token: string, * token: string,
* lifetimeSeconds: number * lifetimeSeconds: number
* }} * }}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#type-TokenInfo
*/ */
chrome.quickUnlockPrivate.TokenInfo; chrome.quickUnlockPrivate.TokenInfo;
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#type-QuickUnlockMode
*/ */
chrome.quickUnlockPrivate.QuickUnlockMode = { chrome.quickUnlockPrivate.QuickUnlockMode = {
PIN: 'PIN', PIN: 'PIN',
...@@ -35,7 +33,6 @@ chrome.quickUnlockPrivate.QuickUnlockMode = { ...@@ -35,7 +33,6 @@ chrome.quickUnlockPrivate.QuickUnlockMode = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#type-CredentialProblem
*/ */
chrome.quickUnlockPrivate.CredentialProblem = { chrome.quickUnlockPrivate.CredentialProblem = {
TOO_SHORT: 'TOO_SHORT', TOO_SHORT: 'TOO_SHORT',
...@@ -49,7 +46,6 @@ chrome.quickUnlockPrivate.CredentialProblem = { ...@@ -49,7 +46,6 @@ chrome.quickUnlockPrivate.CredentialProblem = {
* errors: !Array<!chrome.quickUnlockPrivate.CredentialProblem>, * errors: !Array<!chrome.quickUnlockPrivate.CredentialProblem>,
* warnings: !Array<!chrome.quickUnlockPrivate.CredentialProblem> * warnings: !Array<!chrome.quickUnlockPrivate.CredentialProblem>
* }} * }}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#type-CredentialCheck
*/ */
chrome.quickUnlockPrivate.CredentialCheck; chrome.quickUnlockPrivate.CredentialCheck;
...@@ -58,7 +54,6 @@ chrome.quickUnlockPrivate.CredentialCheck; ...@@ -58,7 +54,6 @@ chrome.quickUnlockPrivate.CredentialCheck;
* minLength: number, * minLength: number,
* maxLength: number * maxLength: number
* }} * }}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#type-CredentialRequirements
*/ */
chrome.quickUnlockPrivate.CredentialRequirements; chrome.quickUnlockPrivate.CredentialRequirements;
...@@ -67,7 +62,6 @@ chrome.quickUnlockPrivate.CredentialRequirements; ...@@ -67,7 +62,6 @@ chrome.quickUnlockPrivate.CredentialRequirements;
* seconds until the token expires. * seconds until the token expires.
* @param {string} accountPassword The account password for the logged in user. * @param {string} accountPassword The account password for the logged in user.
* @param {function(!chrome.quickUnlockPrivate.TokenInfo):void} onComplete * @param {function(!chrome.quickUnlockPrivate.TokenInfo):void} onComplete
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-getAuthToken
*/ */
chrome.quickUnlockPrivate.getAuthToken = function(accountPassword, onComplete) {}; chrome.quickUnlockPrivate.getAuthToken = function(accountPassword, onComplete) {};
...@@ -79,7 +73,6 @@ chrome.quickUnlockPrivate.getAuthToken = function(accountPassword, onComplete) { ...@@ -79,7 +73,6 @@ chrome.quickUnlockPrivate.getAuthToken = function(accountPassword, onComplete) {
* @param {string} token The token returned by $(ref:getAuthToken). * @param {string} token The token returned by $(ref:getAuthToken).
* @param {boolean} enabled * @param {boolean} enabled
* @param {function():void=} onComplete * @param {function():void=} onComplete
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-setLockScreenEnabled
*/ */
chrome.quickUnlockPrivate.setLockScreenEnabled = function(token, enabled, onComplete) {}; chrome.quickUnlockPrivate.setLockScreenEnabled = function(token, enabled, onComplete) {};
...@@ -88,7 +81,6 @@ chrome.quickUnlockPrivate.setLockScreenEnabled = function(token, enabled, onComp ...@@ -88,7 +81,6 @@ chrome.quickUnlockPrivate.setLockScreenEnabled = function(token, enabled, onComp
* Some quick unlock modes may be disabled by policy. * Some quick unlock modes may be disabled by policy.
* @param {function(!Array<!chrome.quickUnlockPrivate.QuickUnlockMode>):void} * @param {function(!Array<!chrome.quickUnlockPrivate.QuickUnlockMode>):void}
* onComplete * onComplete
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-getAvailableModes
*/ */
chrome.quickUnlockPrivate.getAvailableModes = function(onComplete) {}; chrome.quickUnlockPrivate.getAvailableModes = function(onComplete) {};
...@@ -97,7 +89,6 @@ chrome.quickUnlockPrivate.getAvailableModes = function(onComplete) {}; ...@@ -97,7 +89,6 @@ chrome.quickUnlockPrivate.getAvailableModes = function(onComplete) {};
* lock screen. * lock screen.
* @param {function(!Array<!chrome.quickUnlockPrivate.QuickUnlockMode>):void} * @param {function(!Array<!chrome.quickUnlockPrivate.QuickUnlockMode>):void}
* onComplete * onComplete
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-getActiveModes
*/ */
chrome.quickUnlockPrivate.getActiveModes = function(onComplete) {}; chrome.quickUnlockPrivate.getActiveModes = function(onComplete) {};
...@@ -110,7 +101,6 @@ chrome.quickUnlockPrivate.getActiveModes = function(onComplete) {}; ...@@ -110,7 +101,6 @@ chrome.quickUnlockPrivate.getActiveModes = function(onComplete) {};
* @param {function(!chrome.quickUnlockPrivate.CredentialCheck):void} onComplete * @param {function(!chrome.quickUnlockPrivate.CredentialCheck):void} onComplete
* Called with a list of warnings and errors the given |credential| has * Called with a list of warnings and errors the given |credential| has
* (or an empty list if there are none). * (or an empty list if there are none).
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-checkCredential
*/ */
chrome.quickUnlockPrivate.checkCredential = function(mode, credential, onComplete) {}; chrome.quickUnlockPrivate.checkCredential = function(mode, credential, onComplete) {};
...@@ -121,7 +111,6 @@ chrome.quickUnlockPrivate.checkCredential = function(mode, credential, onComplet ...@@ -121,7 +111,6 @@ chrome.quickUnlockPrivate.checkCredential = function(mode, credential, onComplet
* @param {function(!chrome.quickUnlockPrivate.CredentialRequirements):void} * @param {function(!chrome.quickUnlockPrivate.CredentialRequirements):void}
* onComplete Called with the credential requirements of the given * onComplete Called with the credential requirements of the given
* |mode|. * |mode|.
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-getCredentialRequirements
*/ */
chrome.quickUnlockPrivate.getCredentialRequirements = function(mode, onComplete) {}; chrome.quickUnlockPrivate.getCredentialRequirements = function(mode, onComplete) {};
...@@ -136,13 +125,11 @@ chrome.quickUnlockPrivate.getCredentialRequirements = function(mode, onComplete) ...@@ -136,13 +125,11 @@ chrome.quickUnlockPrivate.getCredentialRequirements = function(mode, onComplete)
* @param {function():void} onComplete Called with true if the quick unlock * @param {function():void} onComplete Called with true if the quick unlock
* state was updated, false otherwise. The update is treated as a single * state was updated, false otherwise. The update is treated as a single
* atomic operation. * atomic operation.
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#method-setModes
*/ */
chrome.quickUnlockPrivate.setModes = function(token, modes, credentials, onComplete) {}; chrome.quickUnlockPrivate.setModes = function(token, modes, credentials, onComplete) {};
/** /**
* Called after the active set of quick unlock modes has changed. * Called after the active set of quick unlock modes has changed.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/quickUnlockPrivate#event-onActiveModesChanged
*/ */
chrome.quickUnlockPrivate.onActiveModesChanged; chrome.quickUnlockPrivate.onActiveModesChanged;
...@@ -22,7 +22,6 @@ chrome.safeBrowsingPrivate = {}; ...@@ -22,7 +22,6 @@ chrome.safeBrowsingPrivate = {};
* userName: string, * userName: string,
* isPhishing: boolean * isPhishing: boolean
* }} * }}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#type-PolicySpecifiedPasswordReuse
*/ */
chrome.safeBrowsingPrivate.PolicySpecifiedPasswordReuse; chrome.safeBrowsingPrivate.PolicySpecifiedPasswordReuse;
...@@ -33,7 +32,6 @@ chrome.safeBrowsingPrivate.PolicySpecifiedPasswordReuse; ...@@ -33,7 +32,6 @@ chrome.safeBrowsingPrivate.PolicySpecifiedPasswordReuse;
* sha256: string, * sha256: string,
* userName: (string|undefined) * userName: (string|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#type-DangerousDownloadInfo
*/ */
chrome.safeBrowsingPrivate.DangerousDownloadInfo; chrome.safeBrowsingPrivate.DangerousDownloadInfo;
...@@ -43,41 +41,35 @@ chrome.safeBrowsingPrivate.DangerousDownloadInfo; ...@@ -43,41 +41,35 @@ chrome.safeBrowsingPrivate.DangerousDownloadInfo;
* reason: string, * reason: string,
* netErrorCode: (number|undefined) * netErrorCode: (number|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#type-InterstitialInfo
*/ */
chrome.safeBrowsingPrivate.InterstitialInfo; chrome.safeBrowsingPrivate.InterstitialInfo;
/** /**
* Fired when Chrome detects a reuse of a policy specified password. * Fired when Chrome detects a reuse of a policy specified password.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#event-onPolicySpecifiedPasswordReuseDetected
*/ */
chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordReuseDetected; chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordReuseDetected;
/** /**
* Fired when the user changed their policy specified password. * Fired when the user changed their policy specified password.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#event-onPolicySpecifiedPasswordChanged
*/ */
chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordChanged; chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordChanged;
/** /**
* Fired when the user opened a dangerous download. * Fired when the user opened a dangerous download.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#event-onDangerousDownloadOpened
*/ */
chrome.safeBrowsingPrivate.onDangerousDownloadOpened; chrome.safeBrowsingPrivate.onDangerousDownloadOpened;
/** /**
* Fired when a security interstitial is shown to the user. * Fired when a security interstitial is shown to the user.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#event-onInterstitialShown
*/ */
chrome.safeBrowsingPrivate.onInterstitialShown; chrome.safeBrowsingPrivate.onInterstitialShown;
/** /**
* Fired when the user clicked-through a security interstitial. * Fired when the user clicked-through a security interstitial.
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/safeBrowsingPrivate#event-onInterstitialProceeded
*/ */
chrome.safeBrowsingPrivate.onInterstitialProceeded; chrome.safeBrowsingPrivate.onInterstitialProceeded;
...@@ -18,7 +18,6 @@ chrome.settingsPrivate = {}; ...@@ -18,7 +18,6 @@ chrome.settingsPrivate = {};
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefType
*/ */
chrome.settingsPrivate.PrefType = { chrome.settingsPrivate.PrefType = {
BOOLEAN: 'BOOLEAN', BOOLEAN: 'BOOLEAN',
...@@ -31,7 +30,6 @@ chrome.settingsPrivate.PrefType = { ...@@ -31,7 +30,6 @@ chrome.settingsPrivate.PrefType = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/settingsPrivate#type-ControlledBy
*/ */
chrome.settingsPrivate.ControlledBy = { chrome.settingsPrivate.ControlledBy = {
DEVICE_POLICY: 'DEVICE_POLICY', DEVICE_POLICY: 'DEVICE_POLICY',
...@@ -43,7 +41,6 @@ chrome.settingsPrivate.ControlledBy = { ...@@ -43,7 +41,6 @@ chrome.settingsPrivate.ControlledBy = {
/** /**
* @enum {string} * @enum {string}
* @see https://developer.chrome.com/extensions/settingsPrivate#type-Enforcement
*/ */
chrome.settingsPrivate.Enforcement = { chrome.settingsPrivate.Enforcement = {
ENFORCED: 'ENFORCED', ENFORCED: 'ENFORCED',
...@@ -62,7 +59,6 @@ chrome.settingsPrivate.Enforcement = { ...@@ -62,7 +59,6 @@ chrome.settingsPrivate.Enforcement = {
* extensionId: (string|undefined), * extensionId: (string|undefined),
* extensionCanBeDisabled: (boolean|undefined) * extensionCanBeDisabled: (boolean|undefined)
* }} * }}
* @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefObject
*/ */
chrome.settingsPrivate.PrefObject; chrome.settingsPrivate.PrefObject;
...@@ -73,14 +69,12 @@ chrome.settingsPrivate.PrefObject; ...@@ -73,14 +69,12 @@ chrome.settingsPrivate.PrefObject;
* @param {string} pageId The user metrics identifier or null. * @param {string} pageId The user metrics identifier or null.
* @param {function(boolean):void} callback The callback for whether the pref * @param {function(boolean):void} callback The callback for whether the pref
* was set or not. * was set or not.
* @see https://developer.chrome.com/extensions/settingsPrivate#method-setPref
*/ */
chrome.settingsPrivate.setPref = function(name, value, pageId, callback) {}; chrome.settingsPrivate.setPref = function(name, value, pageId, callback) {};
/** /**
* Gets an array of all the prefs. * Gets an array of all the prefs.
* @param {function(!Array<!chrome.settingsPrivate.PrefObject>):void} callback * @param {function(!Array<!chrome.settingsPrivate.PrefObject>):void} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getAllPrefs
*/ */
chrome.settingsPrivate.getAllPrefs = function(callback) {}; chrome.settingsPrivate.getAllPrefs = function(callback) {};
...@@ -88,7 +82,6 @@ chrome.settingsPrivate.getAllPrefs = function(callback) {}; ...@@ -88,7 +82,6 @@ chrome.settingsPrivate.getAllPrefs = function(callback) {};
* Gets the value of a specific pref. * Gets the value of a specific pref.
* @param {string} name * @param {string} name
* @param {function(!chrome.settingsPrivate.PrefObject):void} callback * @param {function(!chrome.settingsPrivate.PrefObject):void} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getPref
*/ */
chrome.settingsPrivate.getPref = function(name, callback) {}; chrome.settingsPrivate.getPref = function(name, callback) {};
...@@ -96,7 +89,6 @@ chrome.settingsPrivate.getPref = function(name, callback) {}; ...@@ -96,7 +89,6 @@ chrome.settingsPrivate.getPref = function(name, callback) {};
* Gets the default page zoom factor. Possible values are currently between 0.25 * Gets the default page zoom factor. Possible values are currently between 0.25
* and 5. For a full list, see zoom::kPresetZoomFactors. * and 5. For a full list, see zoom::kPresetZoomFactors.
* @param {function(number):void} callback * @param {function(number):void} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getDefaultZoom
*/ */
chrome.settingsPrivate.getDefaultZoom = function(callback) {}; chrome.settingsPrivate.getDefaultZoom = function(callback) {};
...@@ -105,7 +97,6 @@ chrome.settingsPrivate.getDefaultZoom = function(callback) {}; ...@@ -105,7 +97,6 @@ chrome.settingsPrivate.getDefaultZoom = function(callback) {};
* zoom::kPresetZoomFactors. * zoom::kPresetZoomFactors.
* @param {number} zoom * @param {number} zoom
* @param {function(boolean):void=} callback * @param {function(boolean):void=} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-setDefaultZoom
*/ */
chrome.settingsPrivate.setDefaultZoom = function(zoom, callback) {}; chrome.settingsPrivate.setDefaultZoom = function(zoom, callback) {};
...@@ -113,6 +104,5 @@ chrome.settingsPrivate.setDefaultZoom = function(zoom, callback) {}; ...@@ -113,6 +104,5 @@ chrome.settingsPrivate.setDefaultZoom = function(zoom, callback) {};
* <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that * <p>Fired when a set of prefs has changed.</p><p>|prefs| The prefs that
* changed.</p> * changed.</p>
* @type {!ChromeEvent} * @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/settingsPrivate#event-onPrefsChanged
*/ */
chrome.settingsPrivate.onPrefsChanged; chrome.settingsPrivate.onPrefsChanged;
...@@ -25,14 +25,12 @@ chrome.usersPrivate = {}; ...@@ -25,14 +25,12 @@ chrome.usersPrivate = {};
* isSupervised: boolean, * isSupervised: boolean,
* isChild: boolean * isChild: boolean
* }} * }}
* @see https://developer.chrome.com/extensions/usersPrivate#type-User
*/ */
chrome.usersPrivate.User; chrome.usersPrivate.User;
/** /**
* Gets a list of the currently whitelisted users. * Gets a list of the currently whitelisted users.
* @param {function(!Array<!chrome.usersPrivate.User>):void} callback * @param {function(!Array<!chrome.usersPrivate.User>):void} callback
* @see https://developer.chrome.com/extensions/usersPrivate#method-getWhitelistedUsers
*/ */
chrome.usersPrivate.getWhitelistedUsers = function(callback) {}; chrome.usersPrivate.getWhitelistedUsers = function(callback) {};
...@@ -42,7 +40,6 @@ chrome.usersPrivate.getWhitelistedUsers = function(callback) {}; ...@@ -42,7 +40,6 @@ chrome.usersPrivate.getWhitelistedUsers = function(callback) {};
* because the user was already present, or the current user isn't the owner). * because the user was already present, or the current user isn't the owner).
* @param {string} email * @param {string} email
* @param {function(boolean):void} callback * @param {function(boolean):void} callback
* @see https://developer.chrome.com/extensions/usersPrivate#method-addWhitelistedUser
*/ */
chrome.usersPrivate.addWhitelistedUser = function(email, callback) {}; chrome.usersPrivate.addWhitelistedUser = function(email, callback) {};
...@@ -53,20 +50,17 @@ chrome.usersPrivate.addWhitelistedUser = function(email, callback) {}; ...@@ -53,20 +50,17 @@ chrome.usersPrivate.addWhitelistedUser = function(email, callback) {};
* owner). * owner).
* @param {string} email * @param {string} email
* @param {function(boolean):void} callback * @param {function(boolean):void} callback
* @see https://developer.chrome.com/extensions/usersPrivate#method-removeWhitelistedUser
*/ */
chrome.usersPrivate.removeWhitelistedUser = function(email, callback) {}; chrome.usersPrivate.removeWhitelistedUser = function(email, callback) {};
/** /**
* Whether the whitelist is managed by enterprise. * Whether the whitelist is managed by enterprise.
* @param {function(boolean):void} callback * @param {function(boolean):void} callback
* @see https://developer.chrome.com/extensions/usersPrivate#method-isWhitelistManaged
*/ */
chrome.usersPrivate.isWhitelistManaged = function(callback) {}; chrome.usersPrivate.isWhitelistManaged = function(callback) {};
/** /**
* Returns the current user. * Returns the current user.
* @param {function(!chrome.usersPrivate.User):void} callback * @param {function(!chrome.usersPrivate.User):void} callback
* @see https://developer.chrome.com/extensions/usersPrivate#method-getCurrentUser
*/ */
chrome.usersPrivate.getCurrentUser = function(callback) {}; chrome.usersPrivate.getCurrentUser = function(callback) {};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment