Chromium Code Reviews| Index: chrome/browser/safe_browsing/safe_browsing_service.h |
| =================================================================== |
| --- chrome/browser/safe_browsing/safe_browsing_service.h (revision 79632) |
| +++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy) |
| @@ -236,9 +236,9 @@ |
| // the current page is 'safe'. |
| void LogPauseDelay(base::TimeDelta time); |
| - // When a safebrowsing blocking page goes away, it calls this method |
| - // so the service can serialize and send MalwareDetails. |
| - virtual void ReportMalwareDetails(scoped_refptr<MalwareDetails> details); |
| + // Called by the MalwareDetails with the serialized protocol buffer, |
| + // so the service can send it over. |
|
noelutz
2011/04/06 20:34:19
maybe mention that you expect this to be called on
panayiotis
2011/04/07 20:08:32
Done.
|
| + virtual void SendSerializedMalwareDetails(const std::string& serialized); |
| // Report hits to the unsafe contents (malware, phishing, unsafe download URL) |
| // to the server. Can only be called on UI thread. |