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

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

Issue 2673053002: Obsolete HTTP Cleaner (Closed)
Patch Set: Drop PKP Check Created 3 years, 10 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 714677019bdc0eee8eaea2537fc6be91ee3a6e87..f4ac3aca52ed54c8f043b402e64a857a6d0ddfa9 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -19,6 +19,8 @@ namespace autofill {
class AutofillManager;
}
+class GURL;
+
namespace password_manager {
class LogManager;
@@ -63,6 +65,10 @@ class PasswordManagerClient {
// password manager is disabled, or in the presence of SSL errors on a page.
virtual bool IsFillingEnabledForCurrentPage() const;
+ // Checks whether HTTP Strict Transport Security (HSTS) is active for the host
+ // of the given origin.
+ virtual bool IsHSTSActiveForHost(const GURL& origin) const;
+
// Checks if the Credential Manager API is allowed to run on the page. It's
// not allowed while prerendering and the pre-rendered WebContents will be
// destroyed in this case.

Powered by Google App Engine
This is Rietveld 408576698