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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/resource_request_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/resource_request_incident.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/resource_request_incident.h b/chrome/browser/safe_browsing/incident_reporting/resource_request_incident.h
index 2a602509371bfaf949d7516260fc54d93deebe3c..af26aa0f216b6f60e6cf16dccc712c7b5c991f55 100644
--- a/chrome/browser/safe_browsing/incident_reporting/resource_request_incident.h
+++ b/chrome/browser/safe_browsing/incident_reporting/resource_request_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_ResourceRequestIncident;
class ResourceRequestIncident : public Incident {
public:
explicit ResourceRequestIncident(
- scoped_ptr<ClientIncidentReport_IncidentData_ResourceRequestIncident>
+ std::unique_ptr<ClientIncidentReport_IncidentData_ResourceRequestIncident>
script_detection_incident);
~ResourceRequestIncident() override;

Powered by Google App Engine
This is Rietveld 408576698