| Index: chrome/browser/safe_browsing/protocol_manager.h
|
| diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
|
| index 61f0713f262d847828bc774a93e8796eee376038..ab82eff950654b3b969441f51ec5830b196b2c05 100644
|
| --- a/chrome/browser/safe_browsing/protocol_manager.h
|
| +++ b/chrome/browser/safe_browsing/protocol_manager.h
|
| @@ -132,14 +132,22 @@ class SafeBrowsingProtocolManager : public URLFetcher::Delegate {
|
| void OnChunkInserted();
|
|
|
| // For UMA users we report to Google when a SafeBrowsing interstitial is shown
|
| - // to the user. We assume that the threat type is either URL_MALWARE or
|
| - // URL_PHISHING.
|
| + // to the user. |threat_type| should be one of the types known by
|
| + // SafeBrowsingHitUrl.
|
| void ReportSafeBrowsingHit(const GURL& malicious_url,
|
| const GURL& page_url,
|
| const GURL& referrer_url,
|
| bool is_subresource,
|
| SafeBrowsingService::UrlCheckResult threat_type);
|
|
|
| + // Report a hit, including the full redirect chain as POST data.
|
| + // |threat_type| should be one of the types known by SafeBrowsingHitUrl.
|
| + void ReportSafeBrowsingHitWithChain(
|
| + const std::vector<GURL>& url_chain,
|
| + const GURL& referrer_url,
|
| + bool is_subresource,
|
| + SafeBrowsingService::UrlCheckResult threat_type);
|
| +
|
| // Users can opt-in on the SafeBrowsing interstitial to send detailed
|
| // malware reports. |report| is the serialized report.
|
| void ReportMalwareDetails(const std::string& report);
|
|
|