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

Unified Diff: chrome/common/service_process_util_posix.h

Issue 1880143002: Convert chrome/common 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
« no previous file with comments | « chrome/common/service_process_util_mac.mm ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util_posix.h
diff --git a/chrome/common/service_process_util_posix.h b/chrome/common/service_process_util_posix.h
index 8d91faf513dda9fa7dc7205695f45d69325b3eb2..2a5339e7099b48088c855868a4f2781aeb751bcf 100644
--- a/chrome/common/service_process_util_posix.h
+++ b/chrome/common/service_process_util_posix.h
@@ -9,8 +9,9 @@
#include <signal.h>
+#include <memory>
+
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "build/build_config.h"
@@ -71,10 +72,10 @@ struct ServiceProcessState::StateData
base::FilePathWatcher executable_watcher;
#endif // OS_MACOSX
#if defined(OS_POSIX) && !defined(OS_MACOSX)
- scoped_ptr<MultiProcessLock> initializing_lock;
- scoped_ptr<MultiProcessLock> running_lock;
+ std::unique_ptr<MultiProcessLock> initializing_lock;
+ std::unique_ptr<MultiProcessLock> running_lock;
#endif
- scoped_ptr<ServiceProcessTerminateMonitor> terminate_monitor;
+ std::unique_ptr<ServiceProcessTerminateMonitor> terminate_monitor;
base::MessageLoopForIO::FileDescriptorWatcher watcher;
int sockets[2];
struct sigaction old_action;
« no previous file with comments | « chrome/common/service_process_util_mac.mm ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698