| 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/security_state_model.h" | 5 #include "chrome/browser/ssl/security_state_model.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
| 9 #include "base/metrics/histogram_macros.h" | 11 #include "base/metrics/histogram_macros.h" |
| 10 #include "chrome/browser/ssl/security_state_model_client.h" | 12 #include "chrome/browser/ssl/security_state_model_client.h" |
| 11 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 12 #include "net/ssl/ssl_cipher_suite_names.h" | 14 #include "net/ssl/ssl_cipher_suite_names.h" |
| 13 #include "net/ssl/ssl_connection_status_flags.h" | 15 #include "net/ssl/ssl_connection_status_flags.h" |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 | 18 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 const SecurityStateModel::VisibleSecurityState& other) const { | 271 const SecurityStateModel::VisibleSecurityState& other) const { |
| 270 return (url == other.url && | 272 return (url == other.url && |
| 271 initial_security_level == other.initial_security_level && | 273 initial_security_level == other.initial_security_level && |
| 272 cert_id == other.cert_id && cert_status == other.cert_status && | 274 cert_id == other.cert_id && cert_status == other.cert_status && |
| 273 connection_status == other.connection_status && | 275 connection_status == other.connection_status && |
| 274 security_bits == other.security_bits && | 276 security_bits == other.security_bits && |
| 275 sct_verify_statuses == other.sct_verify_statuses && | 277 sct_verify_statuses == other.sct_verify_statuses && |
| 276 displayed_mixed_content == other.displayed_mixed_content && | 278 displayed_mixed_content == other.displayed_mixed_content && |
| 277 ran_mixed_content == other.ran_mixed_content); | 279 ran_mixed_content == other.ran_mixed_content); |
| 278 } | 280 } |
| OLD | NEW |