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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.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: 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/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..65da12feb681418cc3bbd1a3bd108c05dd783ab1 100644
--- a/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h
+++ b/chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h
@@ -35,7 +35,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

Powered by Google App Engine
This is Rietveld 408576698