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

Unified Diff: chrome/common/mac/mock_launchd.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/logging_chrome.cc ('k') | chrome/common/mac/mock_launchd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mac/mock_launchd.h
diff --git a/chrome/common/mac/mock_launchd.h b/chrome/common/mac/mock_launchd.h
index 64d37ace460f39226277d5ccc447b80c73db7b66..4d056c79e78e17f34397ff02326442a487d75c17 100644
--- a/chrome/common/mac/mock_launchd.h
+++ b/chrome/common/mac/mock_launchd.h
@@ -7,11 +7,11 @@
#include <launch.h>
+#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/mac/scoped_cftyperef.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/common/mac/launchd.h"
#include "chrome/common/multi_process_lock.h"
@@ -60,7 +60,7 @@ class MockLaunchd : public Launchd {
base::FilePath file_;
std::string pipe_name_;
base::MessageLoop* message_loop_;
- scoped_ptr<MultiProcessLock> running_lock_;
+ std::unique_ptr<MultiProcessLock> running_lock_;
bool create_socket_;
bool as_service_;
bool restart_called_;
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/common/mac/mock_launchd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698