Chromium Code Reviews| Index: ios/web/public/ssl_status.h |
| diff --git a/ios/web/public/ssl_status.h b/ios/web/public/ssl_status.h |
| index 56f3d11fc3d8432ad3336fa06c671c37f30fb2ef..b419243a7ece87a6f41f77ab4f57815f0a19d5ac 100644 |
| --- a/ios/web/public/ssl_status.h |
| +++ b/ios/web/public/ssl_status.h |
| @@ -5,6 +5,8 @@ |
| #ifndef IOS_WEB_PUBLIC_SSL_STATUS_H_ |
| #define IOS_WEB_PUBLIC_SSL_STATUS_H_ |
| +#include <string> |
| + |
| #include "ios/web/public/security_style.h" |
| #include "net/cert/cert_status_flags.h" |
| @@ -33,6 +35,7 @@ struct SSLStatus { |
| cert_status == status.cert_status && |
| security_bits == status.security_bits && |
| content_status == status.content_status; |
| + // |cert_status_host| is not used for comparison intentionaly. |
|
stuartmorgan
2015/10/16 19:44:02
intentionally
Eugene But (OOO till 7-30)
2015/10/16 19:55:59
Done.
|
| } |
| web::SecurityStyle security_style; |
| @@ -42,6 +45,11 @@ struct SSLStatus { |
| int connection_status; |
| // A combination of the ContentStatusFlags above. |
| int content_status; |
| + // Host which was used for |cert_status| calculation. It is not an actual part |
| + // of SSL status, hence it's not taken into account in |Equals| method. |
| + // Used to check if |cert_status| is still valid or needs to be recalculated |
| + // (e.g. after redirect). |
| + std::string cert_status_host; |
| }; |
| } // namespace web |