| 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 11a264e01d46c48afe5363a1022a1d4414ee6aa5..2b3db3a0dba14397896ed71c7d6563127319f877 100644
|
| --- a/chrome/browser/safe_browsing/protocol_manager.h
|
| +++ b/chrome/browser/safe_browsing/protocol_manager.h
|
| @@ -132,13 +132,14 @@ 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);
|
| + SafeBrowsingService::UrlCheckResult threat_type,
|
| + const std::string& post_data);
|
|
|
| // Users can opt-in on the SafeBrowsing interstitial to send detailed
|
| // malware reports. |report| is the serialized report.
|
|
|