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

Unified Diff: components/password_manager/core/browser/password_form_manager.h

Issue 2604783002: Do not show the update bubble for sync credentials when a username is unknown. (Closed)
Patch Set: tiny fix Created 4 years 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 | components/password_manager/core/browser/password_form_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_form_manager.h
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h
index b300233d43a5cf1d5bfcfa5bce94aad2d9bd7f0b..1e28f0d2271844c593bfacda5285de0daf561009 100644
--- a/components/password_manager/core/browser/password_form_manager.h
+++ b/components/password_manager/core/browser/password_form_manager.h
@@ -176,6 +176,11 @@ class PasswordFormManager : public FormFetcher::Consumer {
// Called if the user could generate a password for this form.
void MarkGenerationAvailable() { generation_available_ = true; }
+ // Returns the provisionally saved form, if it exists, otherwise nullptr.
+ const autofill::PasswordForm* provisionally_saved_form() const {
+ return provisionally_saved_form_.get();
+ }
+
// Returns the pending credentials.
const autofill::PasswordForm& pending_credentials() const {
return pending_credentials_;
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698