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

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

Issue 1159143002: Add a basic functionality to the force-saving menu item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/password_manager/core/browser/password_manager_driver.h
diff --git a/components/password_manager/core/browser/password_manager_driver.h b/components/password_manager/core/browser/password_manager_driver.h
index 08d4323d90270860661d60da944b7040a766c28a..23da911006f2f961afa23aaaf09f0d4ad58db0a6 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -66,6 +66,10 @@ class PasswordManagerDriver
// Tells the driver to clear previewed password and username fields.
virtual void ClearPreviewedForm() = 0;
+ // Tells the driver to find the focused password field and report back
+ // the corresponding password form, so that it can be saved.
+ virtual void ForceSavePassword() = 0;
+
// Returns the PasswordGenerationManager associated with this instance.
virtual PasswordGenerationManager* GetPasswordGenerationManager() = 0;

Powered by Google App Engine
This is Rietveld 408576698