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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/blacklist_load_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/blacklist_load_incident.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.h b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.h
index d983905c823c0e5808bb72eb770919e4f8767cf2..93b80399cd85b9e13db20354f728b7288c6f24fb 100644
--- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.h
+++ b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_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 {
@@ -18,8 +19,9 @@ class ClientIncidentReport_IncidentData_BlacklistLoadIncident;
// An incident representing a module that evades the browser DLL blacklist.
class BlacklistLoadIncident : public Incident {
public:
- explicit BlacklistLoadIncident(scoped_ptr<
- ClientIncidentReport_IncidentData_BlacklistLoadIncident> blacklist_load);
+ explicit BlacklistLoadIncident(
+ std::unique_ptr<ClientIncidentReport_IncidentData_BlacklistLoadIncident>
+ blacklist_load);
~BlacklistLoadIncident() override;
// Incident methods:

Powered by Google App Engine
This is Rietveld 408576698