Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: third_party/closure_compiler/externs/passwords_private.js

Issue 2651663003: Show human readable origin for Android apps (Closed)
Patch Set: CreateURLFromForm Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
hcarmona 2017/04/21 22:45:46 We don't usually update the year, but this file is
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
11 11
12 /** @fileoverview Externs generated from namespace: passwordsPrivate */ 12 /** @fileoverview Externs generated from namespace: passwordsPrivate */
13 13
14 /** 14 /**
15 * @const 15 * @const
16 */ 16 */
17 chrome.passwordsPrivate = {}; 17 chrome.passwordsPrivate = {};
18 18
19 /** 19 /**
20 * @typedef {{ 20 * @typedef {{
21 * originUrl: string, 21 * origin: string,
22 * shown: string,
23 * link: string
24 * }}
25 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-UrlCollect ion
26 */
27 chrome.passwordsPrivate.UrlCollection;
28
29 /**
30 * @typedef {{
31 * urls: !chrome.passwordsPrivate.UrlCollection,
22 * username: string 32 * username: string
23 * }} 33 * }}
24 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-LoginPair 34 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-LoginPair
25 */ 35 */
26 chrome.passwordsPrivate.LoginPair; 36 chrome.passwordsPrivate.LoginPair;
27 37
28 /** 38 /**
29 * @typedef {{ 39 * @typedef {{
30 * loginPair: !chrome.passwordsPrivate.LoginPair, 40 * loginPair: !chrome.passwordsPrivate.LoginPair,
31 * linkUrl: string,
32 * numCharactersInPassword: number, 41 * numCharactersInPassword: number,
33 * federationText: (string|undefined) 42 * federationText: (string|undefined)
34 * }} 43 * }}
35 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordUi Entry 44 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-PasswordUi Entry
36 */ 45 */
37 chrome.passwordsPrivate.PasswordUiEntry; 46 chrome.passwordsPrivate.PasswordUiEntry;
38 47
39 /** 48 /**
40 * @typedef {{ 49 * @typedef {{
41 * exceptionUrl: string,
42 * linkUrl: string
43 * }}
44 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionP air
45 */
46 chrome.passwordsPrivate.ExceptionPair;
47
48 /**
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
57 /** 57 /**
58 * @typedef {{
59 * urls: !chrome.passwordsPrivate.UrlCollection
60 * }}
61 * @see https://developer.chrome.com/extensions/passwordsPrivate#type-ExceptionE ntry
62 */
63 chrome.passwordsPrivate.ExceptionEntry;
64
65 /**
58 * Removes the saved password corresponding to |loginPair|. If no saved password 66 * Removes the saved password corresponding to |loginPair|. If no saved password
59 * for this pair exists, this function is a no-op. 67 * for this pair exists, this function is a no-op.
60 * @param {!chrome.passwordsPrivate.LoginPair} loginPair The LoginPair 68 * @param {!chrome.passwordsPrivate.LoginPair} loginPair The LoginPair
61 * corresponding to the entry to remove. 69 * corresponding to the entry to remove.
62 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-removeSa vedPassword 70 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-removeSa vedPassword
63 */ 71 */
64 chrome.passwordsPrivate.removeSavedPassword = function(loginPair) {}; 72 chrome.passwordsPrivate.removeSavedPassword = function(loginPair) {};
65 73
66 /** 74 /**
67 * Removes the saved password exception corresponding to |exceptionUrl|. If no 75 * Removes the saved password exception corresponding to |exceptionUrl|. If no
(...skipping 19 matching lines...) Expand all
87 /** 95 /**
88 * Returns the list of saved passwords. 96 * Returns the list of saved passwords.
89 * @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void} 97 * @param {function(!Array<!chrome.passwordsPrivate.PasswordUiEntry>):void}
90 * callback Called with the list of saved passwords. 98 * callback Called with the list of saved passwords.
91 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getSaved PasswordList 99 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getSaved PasswordList
92 */ 100 */
93 chrome.passwordsPrivate.getSavedPasswordList = function(callback) {}; 101 chrome.passwordsPrivate.getSavedPasswordList = function(callback) {};
94 102
95 /** 103 /**
96 * Returns the list of password exceptions. 104 * Returns the list of password exceptions.
97 * @param {function(!Array<!chrome.passwordsPrivate.ExceptionPair>):void} 105 * @param {function(!Array<!chrome.passwordsPrivate.ExceptionEntry>):void}
98 * callback Called with the list of password exceptions. 106 * callback Called with the list of password exceptions.
99 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPassw ordExceptionList 107 * @see https://developer.chrome.com/extensions/passwordsPrivate#method-getPassw ordExceptionList
100 */ 108 */
101 chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {}; 109 chrome.passwordsPrivate.getPasswordExceptionList = function(callback) {};
102 110
103 /** 111 /**
104 * Fired when the saved passwords list has changed, meaning that an entry has 112 * Fired when the saved passwords list has changed, meaning that an entry has
105 * been added or removed. 113 * been added or removed.
106 * @type {!ChromeEvent} 114 * @type {!ChromeEvent}
107 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa sswordsListChanged 115 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onSavedPa sswordsListChanged
108 */ 116 */
109 chrome.passwordsPrivate.onSavedPasswordsListChanged; 117 chrome.passwordsPrivate.onSavedPasswordsListChanged;
110 118
111 /** 119 /**
112 * Fired when the password exceptions list has changed, meaning that an entry 120 * Fired when the password exceptions list has changed, meaning that an entry
113 * has been added or removed. 121 * has been added or removed.
114 * @type {!ChromeEvent} 122 * @type {!ChromeEvent}
115 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor dExceptionsListChanged 123 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPasswor dExceptionsListChanged
116 */ 124 */
117 chrome.passwordsPrivate.onPasswordExceptionsListChanged; 125 chrome.passwordsPrivate.onPasswordExceptionsListChanged;
118 126
119 /** 127 /**
120 * Fired when a plaintext password has been fetched in response to a call to 128 * Fired when a plaintext password has been fetched in response to a call to
121 * chrome.passwordsPrivate.requestPlaintextPassword(). 129 * chrome.passwordsPrivate.requestPlaintextPassword().
122 * @type {!ChromeEvent} 130 * @type {!ChromeEvent}
123 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte xtPasswordRetrieved 131 * @see https://developer.chrome.com/extensions/passwordsPrivate#event-onPlainte xtPasswordRetrieved
124 */ 132 */
125 chrome.passwordsPrivate.onPlaintextPasswordRetrieved; 133 chrome.passwordsPrivate.onPlaintextPasswordRetrieved;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698