| 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..8771ac102a597a2468a9520a7639aaa568d0f5eb 100644
|
| --- a/chrome/browser/safe_browsing/ui_manager.h
|
| +++ b/chrome/browser/safe_browsing/ui_manager.h
|
| @@ -26,6 +26,10 @@ namespace base {
|
| class Thread;
|
| } // namespace base
|
|
|
| +namespace chrome_browser_net {
|
| +class CertLoggerRequest;
|
| +}
|
| +
|
| namespace net {
|
| class SSLInfo;
|
| } // namespace net
|
| @@ -130,9 +134,9 @@ 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,
|
| - const base::Closure& callback);
|
| + void ReportInvalidCertificateChain(
|
| + const chrome_browser_net::CertLoggerRequest& report,
|
| + const base::Closure& callback);
|
|
|
| // Add and remove observers. These methods must be invoked on the UI thread.
|
| void AddObserver(Observer* observer);
|
| @@ -156,8 +160,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 chrome_browser_net::CertLoggerRequest& report);
|
|
|
| // Adds the given entry to the whitelist. Called on the UI thread.
|
| void UpdateWhitelist(const UnsafeResource& resource);
|
|
|