Index: third_party/crashpad/crashpad/client/crash_report_database.h |
diff --git a/third_party/crashpad/crashpad/client/crash_report_database.h b/third_party/crashpad/crashpad/client/crash_report_database.h |
index 550fd3ccaecd53bb5456a61de95509f5afa5663c..63501e0cf8bac506a76069ace33941ae1648c75c 100644 |
--- a/third_party/crashpad/crashpad/client/crash_report_database.h |
+++ b/third_party/crashpad/crashpad/client/crash_report_database.h |
@@ -17,12 +17,12 @@ |
#include <time.h> |
+#include <memory> |
#include <string> |
#include <vector> |
#include "base/files/file_path.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "util/file/file_io.h" |
#include "util/misc/uuid.h" |
@@ -176,7 +176,8 @@ class CrashReportDatabase { |
//! logged. |
//! |
//! \sa InitializeWithoutCreating |
- static scoped_ptr<CrashReportDatabase> Initialize(const base::FilePath& path); |
+ static std::unique_ptr<CrashReportDatabase> Initialize( |
+ const base::FilePath& path); |
//! \brief Opens an existing database of crash reports. |
//! |
@@ -190,7 +191,7 @@ class CrashReportDatabase { |
//! logged. |
//! |
//! \sa Initialize |
- static scoped_ptr<CrashReportDatabase> InitializeWithoutCreating( |
+ static std::unique_ptr<CrashReportDatabase> InitializeWithoutCreating( |
const base::FilePath& path); |
//! \brief Returns the Settings object for this database. |