| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTILS_
H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTILS_
H_ |
| 7 |
| 8 #include "chrome/common/extensions/api/passwords_private.h" |
| 9 |
| 10 namespace autofill { |
| 11 struct PasswordForm; |
| 12 } |
| 13 |
| 14 namespace extensions { |
| 15 |
| 16 // Obtains a collection of URLs from the passed in form. This includes an origin |
| 17 // URL used for internal logic, a human friendly string shown to the user as |
| 18 // well as a URL that is linked to. In case the passed in form is an Android |
| 19 // credential, the link URL is an affiliated website if possible, otherwise it |
| 20 // links to the PlayStore. |
| 21 api::passwords_private::UrlCollection CreateUrlCollectionFromForm( |
| 22 const autofill::PasswordForm& form); |
| 23 } |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTI
LS_H_ |
| OLD | NEW |