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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

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, 9 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_blocking_page.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (revision 79632)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (working copy)
@@ -147,7 +147,7 @@
malware_details_ == NULL &&
CanShowMalwareDetailsOption()) {
malware_details_ = MalwareDetails::NewMalwareDetails(
- tab(), unsafe_resources[0]);
+ sb_service_, tab(), unsafe_resources[0]);
}
}
@@ -605,12 +605,11 @@
bool value;
if (pref && pref->GetValue()->GetAsBoolean(&value) && value) {
- // Give the details object to the service class, so it can send it.
+ // Finish the malware details collection, send it over.
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
NewRunnableMethod(
- sb_service_, &SafeBrowsingService::ReportMalwareDetails,
- malware_details_));
+ malware_details_.get(), &MalwareDetails::FinishCollection));
}
}

Powered by Google App Engine
This is Rietveld 408576698