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

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

Issue 1031153002: [Credential Management] Smart lock save Credentials bubble should not always pop up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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;

Powered by Google App Engine
This is Rietveld 408576698