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

Unified Diff: third_party/crashpad/crashpad/minidump/minidump_unloaded_module_writer.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/minidump/minidump_unloaded_module_writer.h
diff --git a/third_party/crashpad/crashpad/minidump/minidump_unloaded_module_writer.h b/third_party/crashpad/crashpad/minidump/minidump_unloaded_module_writer.h
index dbefd602784c59c1737c6e72fb89ae850e66b63e..ad83aa50d37b896ebea236d809f580183d641e37 100644
--- a/third_party/crashpad/crashpad/minidump/minidump_unloaded_module_writer.h
+++ b/third_party/crashpad/crashpad/minidump/minidump_unloaded_module_writer.h
@@ -19,11 +19,11 @@
#include <dbghelp.h>
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "minidump/minidump_stream_writer.h"
#include "minidump/minidump_string_writer.h"
#include "minidump/minidump_writable.h"
@@ -96,7 +96,7 @@ class MinidumpUnloadedModuleWriter final : public internal::MinidumpWritable {
private:
MINIDUMP_UNLOADED_MODULE unloaded_module_;
- scoped_ptr<internal::MinidumpUTF16StringWriter> name_;
+ std::unique_ptr<internal::MinidumpUTF16StringWriter> name_;
DISALLOW_COPY_AND_ASSIGN(MinidumpUnloadedModuleWriter);
};
@@ -130,7 +130,7 @@ class MinidumpUnloadedModuleListWriter final
//!
//! \note Valid in #kStateMutable.
void AddUnloadedModule(
- scoped_ptr<MinidumpUnloadedModuleWriter> unloaded_module);
+ std::unique_ptr<MinidumpUnloadedModuleWriter> unloaded_module);
protected:
// MinidumpWritable:

Powered by Google App Engine
This is Rietveld 408576698