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

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: Merge Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_manager_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_form_manager.h
===================================================================
--- chrome/browser/password_manager/password_form_manager.h (revision 148749)
+++ chrome/browser/password_manager/password_form_manager.h (working copy)
@@ -104,6 +104,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;
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_manager_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698