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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.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/binary_integrity_analyzer.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
index e428537880702dc52021d527d7458efadd87c6fe..9bb697f541277e2493e47a9b24090bfbdf872799 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
@@ -7,9 +7,9 @@
#include <stddef.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace base {
class FilePath;
@@ -27,7 +27,7 @@ void RegisterBinaryIntegrityAnalysis();
// Callback to pass to the incident reporting service. The incident reporting
// service will decide when to start the analysis.
-void VerifyBinaryIntegrity(scoped_ptr<IncidentReceiver> incident_receiver);
+void VerifyBinaryIntegrity(std::unique_ptr<IncidentReceiver> incident_receiver);
// Record how long the signature verification took.
void RecordSignatureVerificationTime(size_t file_index,

Powered by Google App Engine
This is Rietveld 408576698