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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments Created 4 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/incident_reporting/delayed_analysis_callback.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h b/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
index 78404025760ec4959a28bfa8e1e0f9f4d6573499..8125b9b8efe9018e545719c0857a3442c859246a 100644
--- a/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
+++ b/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DELAYED_ANALYSIS_CALLBACK_H_
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DELAYED_ANALYSIS_CALLBACK_H_
+#include <memory>
+
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
namespace safe_browsing {
@@ -16,7 +17,7 @@ class IncidentReceiver;
// step. The callback will be run after some delay following process launch in
// the blocking pool. The argument is a receiver by which the consumer can add
// incidents to the incident reporting service.
-typedef base::Callback<void(scoped_ptr<IncidentReceiver>)>
+typedef base::Callback<void(std::unique_ptr<IncidentReceiver>)>
DelayedAnalysisCallback;
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698