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

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

Issue 2675133004: Add HTTP-specific metrics for password forms (Closed)
Patch Set: 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 f0dfd13c56a4dc79ab71123fa2f0f1072edcb89b..714677019bdc0eee8eaea2537fc6be91ee3a6e87 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -184,6 +184,9 @@ class PasswordManagerClient {
// Returns the main frame URL.
virtual const GURL& GetMainFrameURL() const;
+ // Returns true if the main frame URL has a secure origin.
+ virtual bool IsMainFrameSecure() const;
+
virtual const GURL& GetLastCommittedEntryURL() const = 0;
// Use this to filter credentials before handling them in password manager.

Powered by Google App Engine
This is Rietveld 408576698