| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ssl/chrome_security_state_model_client.h" | 5 #include "chrome/browser/ssl/chrome_security_state_model_client.h" |
| 6 | 6 |
| 7 #include <openssl/ssl.h> | 7 #include <openssl/ssl.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 ssl.sct_statuses.end()); | 384 ssl.sct_statuses.end()); |
| 385 state->displayed_mixed_content = | 385 state->displayed_mixed_content = |
| 386 !!(ssl.content_status & content::SSLStatus::DISPLAYED_INSECURE_CONTENT); | 386 !!(ssl.content_status & content::SSLStatus::DISPLAYED_INSECURE_CONTENT); |
| 387 state->ran_mixed_content = | 387 state->ran_mixed_content = |
| 388 !!(ssl.content_status & content::SSLStatus::RAN_INSECURE_CONTENT); | 388 !!(ssl.content_status & content::SSLStatus::RAN_INSECURE_CONTENT); |
| 389 state->displayed_content_with_cert_errors = | 389 state->displayed_content_with_cert_errors = |
| 390 !!(ssl.content_status & | 390 !!(ssl.content_status & |
| 391 content::SSLStatus::DISPLAYED_CONTENT_WITH_CERT_ERRORS); | 391 content::SSLStatus::DISPLAYED_CONTENT_WITH_CERT_ERRORS); |
| 392 state->ran_content_with_cert_errors = | 392 state->ran_content_with_cert_errors = |
| 393 !!(ssl.content_status & content::SSLStatus::RAN_CONTENT_WITH_CERT_ERRORS); | 393 !!(ssl.content_status & content::SSLStatus::RAN_CONTENT_WITH_CERT_ERRORS); |
| 394 state->displayed_password_field_on_http = |
| 395 !!(ssl.content_status & |
| 396 content::SSLStatus::DISPLAYED_PASSWORD_FIELD_ON_HTTP); |
| 397 state->displayed_credit_card_field_on_http = |
| 398 !!(ssl.content_status & |
| 399 content::SSLStatus::DISPLAYED_CREDIT_CARD_FIELD_ON_HTTP); |
| 394 | 400 |
| 395 CheckSafeBrowsingStatus(entry, web_contents_, state); | 401 CheckSafeBrowsingStatus(entry, web_contents_, state); |
| 396 } | 402 } |
| OLD | NEW |