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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_view_utils.h

Issue 1130213004: [Smart Lock] Make android URL prettifying util available on ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on top of master Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/passwords/manage_passwords_view_utils.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_view_utils.h b/chrome/browser/ui/passwords/manage_passwords_view_utils.h
index a05ebe9fd62171873342c7aa12b844373abce8d6..89757ca386d01ccab9a22d215f8b4982001c9310 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.h
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.h
@@ -5,12 +5,6 @@
#ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
#define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
-#include <string>
-
-namespace autofill {
-struct PasswordForm;
-} // namespace autofill
-
namespace gfx {
class ImageSkia;
} // namespace gfx
@@ -20,12 +14,4 @@ extern const int kAvatarImageSize;
// Crops and scales |image_skia| to the desired size for an account avatar.
gfx::ImageSkia ScaleImageForAccountAvatar(gfx::ImageSkia image_skia);
-
-// Returns the origin URI in a format which can be presented to a user based of
-// |password_from| field values. For web URIs |languages| is using in order to
-// determine whether a URI is 'comprehensible' to a user who understands
-// languages listed.
-std::string GetHumanReadableOrigin(const autofill::PasswordForm& password_form,
- const std::string& languages);
-
#endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
« no previous file with comments | « chrome/browser/android/password_ui_view_android.cc ('k') | chrome/browser/ui/passwords/manage_passwords_view_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698