| Index: chrome/browser/extensions/api/passwords_private/passwords_private_utils.h
|
| diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_utils.h b/chrome/browser/extensions/api/passwords_private/passwords_private_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f4ec9800be17e786d2922424b15f4027c5baae44
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/api/passwords_private/passwords_private_utils.h
|
| @@ -0,0 +1,25 @@
|
| +// 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.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTILS_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTILS_H_
|
| +
|
| +#include "chrome/common/extensions/api/passwords_private.h"
|
| +
|
| +namespace autofill {
|
| +struct PasswordForm;
|
| +}
|
| +
|
| +namespace extensions {
|
| +
|
| +// Obtains a collection of URLs from the passed in form. This includes an origin
|
| +// URL used for internal logic, a human friendly string shown to the user as
|
| +// well as a URL that is linked to. In case the passed in form is an Android
|
| +// credential, the link URL is an affiliated website if possible, otherwise it
|
| +// links to the PlayStore.
|
| +api::passwords_private::UrlCollection CreateUrlCollectionFromForm(
|
| + const autofill::PasswordForm& form);
|
| +}
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_UTILS_H_
|
|
|