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

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

Issue 6611023: The optional Malware Details also collects HTTP cache information. See design... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/safe_browsing_service.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.h (revision 80624)
+++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy)
@@ -239,9 +239,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 on the IO thread by the MalwareDetails with the serialized
+ // protocol buffer, so the service can send it over.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698