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

Unified Diff: sandbox/mac/os_compatibility.h

Issue 1849323003: Convert //sandbox to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 9 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: sandbox/mac/os_compatibility.h
diff --git a/sandbox/mac/os_compatibility.h b/sandbox/mac/os_compatibility.h
index 4f18c34a5908a66fc1170df88bb074e5a7d282bb..c34188865fe9bac663cf9ef574de692b69cb40b4 100644
--- a/sandbox/mac/os_compatibility.h
+++ b/sandbox/mac/os_compatibility.h
@@ -15,9 +15,9 @@
#include <mach/mach.h>
#include <stdint.h>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "sandbox/mac/message_server.h"
namespace sandbox {
@@ -25,7 +25,7 @@ namespace sandbox {
class OSCompatibility {
public:
// Creates an OSCompatibility instance for the current OS X version.
- static scoped_ptr<OSCompatibility> CreateForPlatform();
+ static std::unique_ptr<OSCompatibility> CreateForPlatform();
virtual ~OSCompatibility();

Powered by Google App Engine
This is Rietveld 408576698