Index: chrome/browser/extensions/api/messaging/native_process_launcher.h |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.h b/chrome/browser/extensions/api/messaging/native_process_launcher.h |
index 6f6e653e864b8a9927d8f0b7912f0daa8f1575ee..8ebf09c3bd1cb6997d266b028aaed553e892a63b 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.h |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.h |
@@ -5,10 +5,11 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_ |
+#include <memory> |
+ |
#include "base/callback_forward.h" |
#include "base/files/file.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/process/process.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -42,7 +43,7 @@ class NativeProcessLauncher { |
// Creates default launcher for the current OS. |native_view| refers to the |
// window that contains calling page. Can be nullptr, e.g. for background |
// pages. |
- static scoped_ptr<NativeProcessLauncher> CreateDefault( |
+ static std::unique_ptr<NativeProcessLauncher> CreateDefault( |
bool allow_user_level_hosts, |
gfx::NativeView native_view); |