Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: components/security_state/content/content_utils.cc

Issue 2881513003: DevTools: Convert Security Panel to Sentence case (Closed)
Patch Set: Fix unit test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/security_state/content/content_utils_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 l10n_util::GetStringUTF8(IDS_PRIVATE_KEY_PINNING_BYPASSED),
310 "Public-key pinning was bypassed by a local root certificate.")); 310 l10n_util::GetStringUTF8(
311 IDS_PRIVATE_KEY_PINNING_BYPASSED_DESCRIPTION)));
311 } 312 }
312 313
313 return security_style; 314 return security_style;
314 } 315 }
315 316
316 } // namespace security_state 317 } // namespace security_state
OLDNEW
« no previous file with comments | « no previous file | components/security_state/content/content_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698