| Index: components/password_manager/core/browser/password_ui_utils.h
|
| diff --git a/components/password_manager/core/browser/password_ui_utils.h b/components/password_manager/core/browser/password_ui_utils.h
|
| index e876af2811af29243d2c75dac6b0994422d54d57..10a8ddb8b8242b922129933c64ac30b0f6946ce0 100644
|
| --- a/components/password_manager/core/browser/password_ui_utils.h
|
| +++ b/components/password_manager/core/browser/password_ui_utils.h
|
| @@ -9,6 +9,8 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/strings/string_piece.h"
|
| +
|
| #include "url/gurl.h"
|
|
|
| namespace autofill {
|
| @@ -17,6 +19,12 @@ struct PasswordForm;
|
|
|
| namespace password_manager {
|
|
|
| +// Reverses order of labels in hostname.
|
| +std::string SplitByDotAndReverse(base::StringPiece host);
|
| +
|
| +// Removes 'android://' and reverses order of labels in hostname.
|
| +std::string StripAndroidAndReverse(const std::string& origin);
|
| +
|
| // Returns a string suitable for security display to the user (just like
|
| // |FormatUrlForSecurityDisplay| with OMIT_HTTP_AND_HTTPS) based on origin of
|
| // |password_form| and without prefixes "m.", "mobile." or "www.". Also
|
|
|