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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 2208803002: Remove SCT counters from DevTools security panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 { 334 {
335 blink::ResourceResponse::SignedCertificateTimestampList sctList; 335 blink::ResourceResponse::SignedCertificateTimestampList sctList;
336 for (const auto& iter : webSecurityDetails.sctList) 336 for (const auto& iter : webSecurityDetails.sctList)
337 sctList.append(static_cast<blink::ResourceResponse::SignedCertificateTim estamp>(iter)); 337 sctList.append(static_cast<blink::ResourceResponse::SignedCertificateTim estamp>(iter));
338 m_resourceResponse->setSecurityDetails( 338 m_resourceResponse->setSecurityDetails(
339 webSecurityDetails.protocol, 339 webSecurityDetails.protocol,
340 webSecurityDetails.keyExchange, 340 webSecurityDetails.keyExchange,
341 webSecurityDetails.cipher, 341 webSecurityDetails.cipher,
342 webSecurityDetails.mac, 342 webSecurityDetails.mac,
343 webSecurityDetails.certId, 343 webSecurityDetails.certId,
344 webSecurityDetails.numUnknownScts,
345 webSecurityDetails.numInvalidScts,
346 webSecurityDetails.numValidScts,
347 sctList); 344 sctList);
348 } 345 }
349 346
350 ResourceResponse& WebURLResponse::toMutableResourceResponse() 347 ResourceResponse& WebURLResponse::toMutableResourceResponse()
351 { 348 {
352 return *m_resourceResponse; 349 return *m_resourceResponse;
353 } 350 }
354 351
355 const ResourceResponse& WebURLResponse::toResourceResponse() const 352 const ResourceResponse& WebURLResponse::toResourceResponse() const
356 { 353 {
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 { 528 {
532 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); 529 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData));
533 } 530 }
534 531
535 WebURLResponse::WebURLResponse(ResourceResponse& r) 532 WebURLResponse::WebURLResponse(ResourceResponse& r)
536 : m_resourceResponse(&r) 533 : m_resourceResponse(&r)
537 { 534 {
538 } 535 }
539 536
540 } // namespace blink 537 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698