Index: components/password_manager/core/browser/password_manager.h |
diff --git a/components/password_manager/core/browser/password_manager.h b/components/password_manager/core/browser/password_manager.h |
index 45a7f93fa47ac6c34420636852c080608e5f69fc..62471d7f972ea34e2a685a1c3dc5b6ff16780d45 100644 |
--- a/components/password_manager/core/browser/password_manager.h |
+++ b/components/password_manager/core/browser/password_manager.h |
@@ -116,6 +116,11 @@ class PasswordManager : public LoginModel { |
MAX_FAILURE_VALUE |
}; |
+ // Returns if the password manager is enabled for this page. There are certain |
+ // situations (e.g. bad SSL cert) where we disable the password manager |
+ // temporarily. |
+ bool IsEnabledForCurrentPage() const; |
+ |
// Log failure for UMA. Logs additional metrics if the |form_origin| |
// corresponds to one of the top, explicitly monitored websites. For some |
// values of |failure| also sends logs to the internals page through |logger|, |