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

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: Added stub methods. 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 6475669031fd8885f0b45f51d0e970b788665e26..ff660d14e40f44ecd64f5963ef2337c2284855d9 100644
--- a/components/password_manager/core/browser/password_manager_driver.h
+++ b/components/password_manager/core/browser/password_manager_driver.h
@@ -68,6 +68,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;
vabr (Chromium) 2015/06/01 07:17:21 Ditto here, please stub it out directly in the int
+
// Returns the PasswordGenerationManager associated with this instance.
virtual PasswordGenerationManager* GetPasswordGenerationManager() = 0;

Powered by Google App Engine
This is Rietveld 408576698