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

Side by Side Diff: chrome/browser/extensions/api/passwords_private/passwords_private_utils.h

Issue 2844963003: Introduce extensions::CreateUrlCollectionFromForm (Closed)
Patch Set: Revert One-Liner Created 3 years, 7 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698