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

Unified Diff: third_party/crashpad/crashpad/test/win/win_child_process.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/test/win/win_child_process.h
diff --git a/third_party/crashpad/crashpad/test/win/win_child_process.h b/third_party/crashpad/crashpad/test/win/win_child_process.h
index 6b8fed197ce089fde3d9c1a08e01ac7cf9396573..626a0e0bbbb94c0eee43f740af7f696c7a6e729e 100644
--- a/third_party/crashpad/crashpad/test/win/win_child_process.h
+++ b/third_party/crashpad/crashpad/test/win/win_child_process.h
@@ -15,8 +15,9 @@
#ifndef CRASHPAD_TEST_WIN_WIN_CHILD_PROCESS_H_
#define CRASHPAD_TEST_WIN_WIN_CHILD_PROCESS_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "util/file/file_io.h"
#include "util/win/scoped_handle.h"
@@ -63,7 +64,7 @@ class WinChildProcess {
//! \brief Launches a child process and returns the Handles for that process.
//! The process is guaranteed to be executing by the time this method
//! returns. Returns null and logs a GTest failure in case of failure.
- static scoped_ptr<Handles> Launch();
+ static std::unique_ptr<Handles> Launch();
protected:
//! \brief Returns a handle to read from an anonymous pipe shared with the
« no previous file with comments | « third_party/crashpad/crashpad/test/multiprocess_posix.cc ('k') | third_party/crashpad/crashpad/test/win/win_child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698