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 8f9f3108f62596f307e96fb7476e1b19853d9ed2..4cc167f0e8e3e0c8544d020162b535beea45dc11 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -49,6 +49,11 @@ class PasswordManagerClient { |
// The default return value is false. |
virtual bool IsAutomaticPasswordSavingEnabled() const; |
+ // Returns if the password management is enabled for this page. There are |
+ // certain situations (e.g. bad SSL cert) where we disable the password |
+ // management temporarily. Default always returns true. |
+ virtual bool IsEnabledForCurrentPage() const; |
+ |
// If the password manager should work for the current page. Default |
// always returns true. |
virtual bool IsPasswordManagerEnabledForCurrentPage() const; |