Change log:e1ef7d4b6b..105c043148Full diff:e1ef7d4b6b..105c043148Roll chromium third_party ab9fbe29c9..6cd8e71424 Change log:ab9fbe29c9..6cd8e71424Changed dependencies: * src/base:03e1bc561f..95c3466bc7* src/build:bb306be407..7ccebdabd9* src/ios:48697bf3a1..a5c76c8f1d* src/testing:6440c4ea3a..7c8625bcae* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f153b902be..44fc6f687b * src/third_party/depot_tools:1cabdc4643..a28b14f122* src/tools:66f1089d0c..7d0c51bb6eDEPS diff:e1ef7d4b6b..105c043148/DEPS No update to Clang. TBR=buildbot@webrtc.org, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal NO_AUTOIMPORT_DEPS_CHECK=true Change-Id: Ie8d2986265a6a36889068a3f5916408456cdc09c Reviewed-on: https://webrtc-review.googlesource.com/84701 Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org> Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23713}
177 lines
5.1 KiB
JavaScript
177 lines
5.1 KiB
JavaScript
// 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.
|
|
|
|
// This file was generated by:
|
|
// tools/json_schema_compiler/compiler.py.
|
|
// NOTE: The format of types has changed. 'FooType' is now
|
|
// 'chrome.passwordsPrivate.FooType'.
|
|
// Please run the closure compiler before committing changes.
|
|
// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md
|
|
|
|
/** @fileoverview Externs generated from namespace: passwordsPrivate */
|
|
|
|
/**
|
|
* @const
|
|
*/
|
|
chrome.passwordsPrivate = {};
|
|
|
|
/**
|
|
* @enum {string}
|
|
*/
|
|
chrome.passwordsPrivate.ExportProgressStatus = {
|
|
NOT_STARTED: 'NOT_STARTED',
|
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
SUCCEEDED: 'SUCCEEDED',
|
|
FAILED_CANCELLED: 'FAILED_CANCELLED',
|
|
FAILED_WRITE_FAILED: 'FAILED_WRITE_FAILED',
|
|
};
|
|
|
|
/**
|
|
* @typedef {{
|
|
* origin: string,
|
|
* shown: string,
|
|
* link: string
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.UrlCollection;
|
|
|
|
/**
|
|
* @typedef {{
|
|
* urls: !chrome.passwordsPrivate.UrlCollection,
|
|
* username: string
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.LoginPair;
|
|
|
|
/**
|
|
* @typedef {{
|
|
* loginPair: !chrome.passwordsPrivate.LoginPair,
|
|
* numCharactersInPassword: number,
|
|
* federationText: (string|undefined),
|
|
* index: number
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.PasswordUiEntry;
|
|
|
|
/**
|
|
* @typedef {{
|
|
* index: number,
|
|
* plaintextPassword: string
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.PlaintextPasswordEventParameters;
|
|
|
|
/**
|
|
* @typedef {{
|
|
* urls: !chrome.passwordsPrivate.UrlCollection,
|
|
* index: number
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.ExceptionEntry;
|
|
|
|
/**
|
|
* @typedef {{
|
|
* status: !chrome.passwordsPrivate.ExportProgressStatus,
|
|
* message: (string|undefined),
|
|
* }}
|
|
*/
|
|
chrome.passwordsPrivate.PasswordExportProgress;
|
|
|
|
/**
|
|
* Removes the saved password corresponding to |loginPair|. If no saved password
|
|
* for this pair exists, this function is a no-op.
|
|
* @param {number} index The index for the password entry being removed.
|
|
*/
|
|
chrome.passwordsPrivate.removeSavedPassword = function(index) {};
|
|
|
|
/**
|
|
* Removes the saved password exception corresponding to |exceptionUrl|. If no
|
|
* exception with this URL exists, this function is a no-op.
|
|
* @param {number} index The index for the exception url entry being removed.
|
|
*/
|
|
chrome.passwordsPrivate.removePasswordException = function(index) {};
|
|
|
|
/**
|
|
* Undoes the last removal of a saved password or exception.
|
|
*/
|
|
chrome.passwordsPrivate.undoRemoveSavedPasswordOrException = function() {};
|
|
|
|
/**
|
|
* Returns the plaintext password corresponding to |index|. Note that on some
|
|
* operating systems, this call may result in an OS-level reauthentication. Once
|
|
* the password has been fetched, it will be returned via the
|
|
* onPlaintextPasswordRetrieved event. TODO(hcarmona): Investigate using a
|
|
* callback for consistency.
|
|
* @param {number} index The index for the password entry being being retrieved.
|
|
*/
|
|
chrome.passwordsPrivate.requestPlaintextPassword = function(index) {};
|
|
|
|
/**
|
|
* Returns the list of saved passwords.
|
|
* @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void}
|
|
* callback Called with the list of saved passwords.
|
|
*/
|
|
chrome.passwordsPrivate.getSavedPasswordList = function(callback) {};
|
|
|
|
/**
|
|
* Returns the list of password exceptions.
|
|
* @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void}
|
|
* callback Called with the list of password exceptions.
|
|
*/
|
|
chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {};
|
|
|
|
/**
|
|
* Triggers the Password Manager password import functionality.
|
|
*/
|
|
chrome.passwordsPrivate.importPasswords = function() {};
|
|
|
|
/**
|
|
* Triggers the Password Manager password export functionality.
|
|
* @param {function():void}
|
|
* callback Called with no error, if the new export request was accepted and
|
|
* started. If rejected, <code>chrome.runtime.lastError</code> will be
|
|
* set to 'in-progress'.
|
|
*/
|
|
chrome.passwordsPrivate.exportPasswords = function(callback) {};
|
|
|
|
/**
|
|
* Triggers the cancelling of a password export flow.
|
|
*/
|
|
chrome.passwordsPrivate.cancelExportPasswords = function() {};
|
|
|
|
/**
|
|
* Triggers the Password Manager password export status query functionality.
|
|
* @param {function(!chrome.passwordsPrivate.ExportProgressStatus):void}
|
|
* callback Called with the status of the current export.
|
|
*/
|
|
chrome.passwordsPrivate.requestExportProgressStatus = function(callback) {};
|
|
|
|
/**
|
|
* Fired when the saved passwords list has changed, meaning that an entry has
|
|
* been added or removed.
|
|
* @type {!ChromeEvent}
|
|
*/
|
|
chrome.passwordsPrivate.onSavedPasswordsListChanged;
|
|
|
|
/**
|
|
* Fired when the password exceptions list has changed, meaning that an entry
|
|
* has been added or removed.
|
|
* @type {!ChromeEvent}
|
|
*/
|
|
chrome.passwordsPrivate.onPasswordExceptionsListChanged;
|
|
|
|
/**
|
|
* Fired when a plaintext password has been fetched in response to a call to
|
|
* chrome.passwordsPrivate.requestPlaintextPassword().
|
|
* @type {!ChromeEvent}
|
|
*/
|
|
chrome.passwordsPrivate.onPlaintextPasswordRetrieved;
|
|
|
|
|
|
/**
|
|
* Fired when status of the export has progressed.
|
|
* @type {!ChromeEvent}
|
|
*/
|
|
chrome.passwordsPrivate.onPasswordsFileExportProgress;
|