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

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

Issue 604293002: Improve logging in password manager internals page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index 474469115eaa056f45dcedae3024ed9113fbf7d9..9f4454642ab7ab294e0757f8fdd8472deb250215 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -52,7 +52,8 @@ class PasswordManagerClient {
// Informs the embedder of a password form that can be saved if the user
// allows it. The embedder is not required to prompt the user if it decides
// that this form doesn't need to be saved.
- virtual void PromptUserToSavePassword(
+ // Returns true if the prompt was indeed displayed.
+ virtual bool PromptUserToSavePassword(
scoped_ptr<PasswordFormManager> form_to_save) = 0;
// Called when a password is saved in an automated fashion. Embedder may

Powered by Google App Engine
This is Rietveld 408576698