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

Unified Diff: third_party/crashpad/crashpad/client/crash_report_database.h

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium 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: 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.
« no previous file with comments | « third_party/crashpad/README.chromium ('k') | third_party/crashpad/crashpad/client/crash_report_database_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698