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

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

Issue 2272603003: Route key_exchange_group over to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 3 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 Vector<String> sanList; 327 Vector<String> sanList;
328 sanList.append(webSecurityDetails.sanList.data(), webSecurityDetails.sanList .size()); 328 sanList.append(webSecurityDetails.sanList.data(), webSecurityDetails.sanList .size());
329 Vector<AtomicString> certificate; 329 Vector<AtomicString> certificate;
330 for (const auto& iter : webSecurityDetails.certificate) { 330 for (const auto& iter : webSecurityDetails.certificate) {
331 AtomicString cert = iter; 331 AtomicString cert = iter;
332 certificate.append(cert); 332 certificate.append(cert);
333 } 333 }
334 m_resourceResponse->setSecurityDetails( 334 m_resourceResponse->setSecurityDetails(
335 webSecurityDetails.protocol, 335 webSecurityDetails.protocol,
336 webSecurityDetails.keyExchange, 336 webSecurityDetails.keyExchange,
337 webSecurityDetails.keyExchangeGroup,
337 webSecurityDetails.cipher, 338 webSecurityDetails.cipher,
338 webSecurityDetails.mac, 339 webSecurityDetails.mac,
339 webSecurityDetails.subjectName, 340 webSecurityDetails.subjectName,
340 sanList, 341 sanList,
341 webSecurityDetails.issuer, 342 webSecurityDetails.issuer,
342 static_cast<time_t>(webSecurityDetails.validFrom), 343 static_cast<time_t>(webSecurityDetails.validFrom),
343 static_cast<time_t>(webSecurityDetails.validTo), 344 static_cast<time_t>(webSecurityDetails.validTo),
344 certificate, 345 certificate,
345 sctList); 346 sctList);
346 } 347 }
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 { 540 {
540 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); 541 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData));
541 } 542 }
542 543
543 WebURLResponse::WebURLResponse(ResourceResponse& r) 544 WebURLResponse::WebURLResponse(ResourceResponse& r)
544 : m_resourceResponse(&r) 545 : m_resourceResponse(&r)
545 { 546 {
546 } 547 }
547 548
548 } // namespace blink 549 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698