Chromium Code Reviews| Index: chrome/browser/ssl/connection_security_helper.h |
| diff --git a/chrome/browser/ssl/connection_security_helper.h b/chrome/browser/ssl/connection_security_helper.h |
| index 3a34b567b977705b2b60567125bca354fa46b8d3..71a65f16d118283a4573f5d7909af7a73d081a44 100644 |
| --- a/chrome/browser/ssl/connection_security_helper.h |
| +++ b/chrome/browser/ssl/connection_security_helper.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_SSL_CONNECTION_SECURITY_HELPER_H_ |
| #include "base/macros.h" |
| +#include "content/public/common/security_style.h" |
| namespace content { |
| class WebContents; |
| @@ -52,6 +53,12 @@ class ConnectionSecurityHelper { |
| static SecurityLevel GetSecurityLevelForWebContents( |
| const content::WebContents* web_contents); |
| + // Returns the security level from GetSecurityLevelForWebContents(), |
| + // translated to a SecurityStyle so that lower layers can use it. In most |
| + // cases, you should use GetSecurityLevelForWebContents() directly instead. |
|
Ryan Sleevi
2015/06/03 23:43:52
nit: "pronouns in comments considered harmful" (se
lgarron
2015/06/04 00:26:34
I admit that I don't have practice writing this ki
|
| + static content::SecurityStyle GetSecurityStyleForWebContents( |
| + const content::WebContents* web_contents); |
| + |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSecurityHelper); |
| }; |