OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Use the <code>chrome.passwordsPrivate</code> API to add or remove password | 5 // Use the <code>chrome.passwordsPrivate</code> API to add or remove password |
6 // data from the settings UI. | 6 // data from the settings UI. |
7 namespace passwordsPrivate { | 7 [use_movable_types=true] namespace passwordsPrivate { |
8 // Pair of origin URL and login saved for that URL. | 8 // Pair of origin URL and login saved for that URL. |
9 dictionary LoginPair { | 9 dictionary LoginPair { |
10 // The human-readable origin for the URL where the password is used. | 10 // The human-readable origin for the URL where the password is used. |
11 DOMString originUrl; | 11 DOMString originUrl; |
12 | 12 |
13 // The username used in conjunction with the saved password. | 13 // The username used in conjunction with the saved password. |
14 DOMString username; | 14 DOMString username; |
15 }; | 15 }; |
16 | 16 |
17 // Entry used to display a password in the settings UI. | 17 // Entry used to display a password in the settings UI. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // Fired when a plaintext password has been fetched in response to a call to | 77 // Fired when a plaintext password has been fetched in response to a call to |
78 // chrome.passwordsPrivate.requestPlaintextPassword(). | 78 // chrome.passwordsPrivate.requestPlaintextPassword(). |
79 // | 79 // |
80 // |loginPair|: The LoginPair whose password was found. | 80 // |loginPair|: The LoginPair whose password was found. |
81 // |plaintextPassword|: The plaintext password which was retrieved. | 81 // |plaintextPassword|: The plaintext password which was retrieved. |
82 static void onPlaintextPasswordRetrieved( | 82 static void onPlaintextPasswordRetrieved( |
83 PlaintextPasswordEventParameters dict); | 83 PlaintextPasswordEventParameters dict); |
84 }; | 84 }; |
85 }; | 85 }; |
OLD | NEW |