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

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

Issue 351363002: Revert of Port HistoryService::GetVisibleVisitCountToHost to CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/client_side_detection_host.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
index eca7c48592dd3c00dc3ef3c5ad96be08a1d60ed3..83e3d542bc2157719eec05c7897e9776ea222c8d 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -643,7 +643,7 @@
void ClientSideDetectionHost::FeatureExtractionDone(
bool success,
- scoped_ptr<ClientPhishingRequest> request) {
+ ClientPhishingRequest* request) {
DCHECK(request);
DVLOG(2) << "Feature extraction done (success:" << success << ") for URL: "
<< request->url() << ". Start sending client phishing request.";
@@ -656,7 +656,7 @@
}
// Send ping even if the browser feature extraction failed.
csd_service_->SendClientReportPhishingRequest(
- request.release(), // The service takes ownership of the request object.
+ request, // The service takes ownership of the request object.
callback);
}

Powered by Google App Engine
This is Rietveld 408576698