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

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp

Issue 2296953004: Send certificates to devtools when it's open instead of using certId (Closed)
Patch Set: self review 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
index f159f5400ecd8a39ceb1d8d4480477757fc141d5..27570728b02c726e70a2182114585d9109431c30 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
@@ -306,6 +306,14 @@ XHRReplayData* NetworkResourcesData::xhrReplayData(const String& requestId)
return resourceData->xhrReplayData();
}
+void NetworkResourcesData::setCertificate(const String& requestId, const Vector<AtomicString>& certificate)
+{
+ ResourceData* resourceData = resourceDataForRequestId(requestId);
+ if (!resourceData)
+ return;
+ resourceData->setCertificate(certificate);
+}
+
void NetworkResourcesData::setXHRReplayData(const String& requestId, XHRReplayData* xhrReplayData)
{
ResourceData* resourceData = resourceDataForRequestId(requestId);

Powered by Google App Engine
This is Rietveld 408576698