Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/security_state/content/content_utils.h" | 5 #include "components/security_state/content/content_utils.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 299 !!security_info.certificate)); | 299 !!security_info.certificate)); |
| 300 } | 300 } |
| 301 } | 301 } |
| 302 | 302 |
| 303 AddConnectionExplanation(security_info, security_style_explanations); | 303 AddConnectionExplanation(security_info, security_style_explanations); |
| 304 | 304 |
| 305 security_style_explanations->pkp_bypassed = security_info.pkp_bypassed; | 305 security_style_explanations->pkp_bypassed = security_info.pkp_bypassed; |
| 306 if (security_info.pkp_bypassed) { | 306 if (security_info.pkp_bypassed) { |
| 307 security_style_explanations->info_explanations.push_back( | 307 security_style_explanations->info_explanations.push_back( |
| 308 content::SecurityStyleExplanation( | 308 content::SecurityStyleExplanation( |
| 309 "Public-Key Pinning Bypassed", | 309 "Public-Key-Pinning bypassed", |
|
estark
2017/05/19 18:35:07
Huh. These should be in components/security_state_
elawrence
2017/05/19 19:02:24
Done.
| |
| 310 "Public-key pinning was bypassed by a local root certificate.")); | 310 "Public-Key-Pinning was bypassed by a local root certificate.")); |
| 311 } | 311 } |
| 312 | 312 |
| 313 return security_style; | 313 return security_style; |
| 314 } | 314 } |
| 315 | 315 |
| 316 } // namespace security_state | 316 } // namespace security_state |
| OLD | NEW |