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

Unified Diff: chrome/browser/password_manager/password_form_manager.h

Issue 10555005: Address bug where the one-click sign-in bar would never show again once (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Unused import, whitespace Created 8 years, 6 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/password_manager/password_form_manager.h
===================================================================
--- chrome/browser/password_manager/password_form_manager.h (revision 142386)
+++ chrome/browser/password_manager/password_form_manager.h (working copy)
@@ -100,6 +100,11 @@
void SubmitPassed();
void SubmitFailed();
+ // Return the username associated with the credentials.
+ const string16& associated_username() const {
+ return pending_credentials_.username_value;
+ }
+
// Returns the realm URL for the form managed my this manager.
const std::string& realm() const {
return pending_credentials_.signon_realm;

Powered by Google App Engine
This is Rietveld 408576698