Index: chrome/common/service_process_util_linux.cc |
diff --git a/chrome/common/service_process_util_linux.cc b/chrome/common/service_process_util_linux.cc |
index e2bcb656985861366d085f88d79e6b66eb3f9ee3..7d5ef7ea62bd59e0b69cce42d0d3c7a7b7dd827b 100644 |
--- a/chrome/common/service_process_util_linux.cc |
+++ b/chrome/common/service_process_util_linux.cc |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/common/service_process_util_posix.h" |
- |
#include <signal.h> |
#include <unistd.h> |
+#include <memory> |
+ |
#include "base/base_paths.h" |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
@@ -15,6 +15,7 @@ |
#include "base/threading/platform_thread.h" |
#include "chrome/common/auto_start_linux.h" |
#include "chrome/common/multi_process_lock.h" |
+#include "chrome/common/service_process_util_posix.h" |
namespace { |
@@ -61,7 +62,7 @@ IPC::ChannelHandle GetServiceProcessChannel() { |
bool CheckServiceProcessReady() { |
- scoped_ptr<MultiProcessLock> running_lock(TakeServiceRunningLock(false)); |
+ std::unique_ptr<MultiProcessLock> running_lock(TakeServiceRunningLock(false)); |
return running_lock.get() == NULL; |
} |