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

Unified Diff: content/browser/zygote_host/zygote_communication_linux.h

Issue 1874893002: Convert //content/browser 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: content/browser/zygote_host/zygote_communication_linux.h
diff --git a/content/browser/zygote_host/zygote_communication_linux.h b/content/browser/zygote_host/zygote_communication_linux.h
index d3f4403cb15112820f4f70a8098b1200a06fdfdc..5bb80962129ddedae12903142549f358388a2be0 100644
--- a/content/browser/zygote_host/zygote_communication_linux.h
+++ b/content/browser/zygote_host/zygote_communication_linux.h
@@ -5,10 +5,10 @@
#ifndef CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_
#define CONTENT_BROWSER_ZYGOTE_HOST_ZYGOTE_COMMUNICATION_LINUX_H_
+#include <memory>
#include <set>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/process/kill.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
@@ -26,7 +26,7 @@ class CONTENT_EXPORT ZygoteCommunication {
// Tries to start a process of type indicated by process_type.
// Returns its pid on success, otherwise base::kNullProcessHandle;
pid_t ForkRequest(const std::vector<std::string>& command_line,
- scoped_ptr<FileDescriptorInfo> mapping,
+ std::unique_ptr<FileDescriptorInfo> mapping,
const std::string& process_type);
void EnsureProcessTerminated(pid_t process);
« no previous file with comments | « content/browser/webui/web_ui_mojo_browsertest.cc ('k') | content/browser/zygote_host/zygote_communication_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698