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 4bef91fb3fd4e2911b55e53ad4cb70f30e2b86b5..d2cf54a420d326627f5b02458751a410f7f95117 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -114,6 +114,9 @@ class PasswordManagerClient { |
// displayed, and false otherwise. |
virtual bool IsLoggingActive() const; |
+ // Returns true if last navigation page had HTTP error i.e 5XX or 4XX |
+ virtual bool WasLastNavigationHTTPError() const; |
+ |
// Returns the authorization prompt policy to be used with the given form. |
// Only relevant on OSX. |
virtual PasswordStore::AuthorizationPromptPolicy GetAuthorizationPromptPolicy( |