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

Unified Diff: chrome/browser/safe_browsing/ui_manager.h

Issue 1117173004: Split cert reporter class into report building/serializing and sending (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move //c/b/ssl classes into global namespace Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/ui_manager.h
diff --git a/chrome/browser/safe_browsing/ui_manager.h b/chrome/browser/safe_browsing/ui_manager.h
index 42be1453cabf0dde2ede10ff65ed31128a1db163..cdef1be84ecc2d57882ccf888f575afff343cb4d 100644
--- a/chrome/browser/safe_browsing/ui_manager.h
+++ b/chrome/browser/safe_browsing/ui_manager.h
@@ -130,8 +130,7 @@ class SafeBrowsingUIManager
// Report an invalid TLS/SSL certificate chain to the server. Can only
// be called on UI thread.
- void ReportInvalidCertificateChain(const std::string& hostname,
- const net::SSLInfo& ssl_info,
+ void ReportInvalidCertificateChain(const std::string& serialized_report,
const base::Closure& callback);
// Add and remove observers. These methods must be invoked on the UI thread.
@@ -156,8 +155,8 @@ class SafeBrowsingUIManager
const std::string& post_data);
// Sends an invalid certificate chain report over the network.
- void ReportInvalidCertificateChainOnIOThread(const std::string& hostname,
- const net::SSLInfo& ssl_info);
+ void ReportInvalidCertificateChainOnIOThread(
+ const std::string& serialized_report);
// Adds the given entry to the whitelist. Called on the UI thread.
void UpdateWhitelist(const UnsafeResource& resource);

Powered by Google App Engine
This is Rietveld 408576698