Index: chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h |
diff --git a/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h b/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h |
index 317937a12e01e7e7af4a099924d52bd32f6e8c2a..3fef372568353687bb1b1a865531cd36b4325b7a 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h |
+++ b/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DOWNLOAD_METADATA_MANAGER_H_ |
#include <map> |
+#include <memory> |
#include "base/callback_forward.h" |
#include "base/macros.h" |
@@ -35,7 +36,8 @@ class DownloadMetadataManager : public content::DownloadManager::Observer { |
// A callback run when the results of a call to GetDownloadDetails are ready. |
// The supplied parameter may be null, indicating that there are no persisted |
// details for the |browser_context| passed to GetDownloadDetails. |
- typedef base::Callback<void(scoped_ptr<ClientIncidentReport_DownloadDetails>)> |
+ typedef base::Callback<void( |
+ std::unique_ptr<ClientIncidentReport_DownloadDetails>)> |
GetDownloadDetailsCallback; |
// Constructs a new instance for which disk IO operations will take place in |