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

Unified Diff: chrome/browser/net/chrome_fraudulent_certificate_reporter.h

Issue 949633002: Include both certificate chains in invalid cert reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a comment to cert logger pb Created 5 years, 10 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: chrome/browser/net/chrome_fraudulent_certificate_reporter.h
diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter.h b/chrome/browser/net/chrome_fraudulent_certificate_reporter.h
index 987a485bceb5e4704e5c00bfb76adb84a77f0cd2..4b4ebdb0b7857e7401696292bb77fa22721cb04a 100644
--- a/chrome/browser/net/chrome_fraudulent_certificate_reporter.h
+++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter.h
@@ -46,6 +46,11 @@ class ChromeFraudulentCertificateReporter
const GURL pinning_violation_upload_url_;
const GURL invalid_chain_upload_url_;
+ static std::string BuildReport(
+ ChromeFraudulentCertificateReporter::ReportType type,
+ const std::string& hostname,
+ const net::SSLInfo& ssl_info);
+
private:
// Performs post-report cleanup.
void RequestComplete(net::URLRequest* request);

Powered by Google App Engine
This is Rietveld 408576698