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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.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_incident.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h
index 809e7c0e2fefc4c317cd02689fb92cb6a4330f53..538913fd219ea61fde4a759afea683566206d5d8 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_incident.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/safe_browsing/incident_reporting/incident.h"
namespace safe_browsing {
@@ -19,7 +20,7 @@ class ClientIncidentReport_IncidentData_BinaryIntegrityIncident;
class BinaryIntegrityIncident : public Incident {
public:
explicit BinaryIntegrityIncident(
- scoped_ptr<ClientIncidentReport_IncidentData_BinaryIntegrityIncident>
+ std::unique_ptr<ClientIncidentReport_IncidentData_BinaryIntegrityIncident>
binary_integrity);
~BinaryIntegrityIncident() override;

Powered by Google App Engine
This is Rietveld 408576698