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

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

Issue 221853003: Password bubble: Add a test for displayed password length. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_bubble_model.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
index 4268f4bcdcd1e9a4557a29773793c4aa934c8e7b..1b62723e2a7d6e13174d70e81233c1b09d3c7525 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -65,6 +65,11 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
const autofill::PasswordFormMap& best_matches() { return best_matches_; }
const base::string16& manage_link() { return manage_link_; }
+ // Given a password string, convert it into an appropriate number of bullet
+ // icons for display.
+ static base::string16 GetPasswordDisplayString(
+ const base::string16& password);
+
private:
// content::WebContentsObserver
virtual void WebContentsDestroyed(

Powered by Google App Engine
This is Rietveld 408576698