Index: chrome/browser/extensions/api/messaging/native_message_process_host.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.cc b/chrome/browser/extensions/api/messaging/native_message_process_host.cc |
index a26df3e0cf63c8f1526165ade125cee76af0ca32..681ec348fef667b4d068e43ba5aaea0c3b7920f0 100644 |
--- a/chrome/browser/extensions/api/messaging/native_message_process_host.cc |
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host.cc |
@@ -44,7 +44,7 @@ namespace extensions { |
NativeMessageProcessHost::NativeMessageProcessHost( |
const std::string& source_extension_id, |
const std::string& native_host_name, |
- scoped_ptr<NativeProcessLauncher> launcher) |
+ std::unique_ptr<NativeProcessLauncher> launcher) |
: client_(NULL), |
source_extension_id_(source_extension_id), |
native_host_name_(native_host_name), |
@@ -80,7 +80,7 @@ NativeMessageProcessHost::~NativeMessageProcessHost() { |
} |
// static |
-scoped_ptr<NativeMessageHost> NativeMessageHost::Create( |
+std::unique_ptr<NativeMessageHost> NativeMessageHost::Create( |
gfx::NativeView native_view, |
const std::string& source_extension_id, |
const std::string& native_host_name, |
@@ -93,13 +93,13 @@ scoped_ptr<NativeMessageHost> NativeMessageHost::Create( |
} |
// static |
-scoped_ptr<NativeMessageHost> NativeMessageProcessHost::CreateWithLauncher( |
+std::unique_ptr<NativeMessageHost> NativeMessageProcessHost::CreateWithLauncher( |
const std::string& source_extension_id, |
const std::string& native_host_name, |
- scoped_ptr<NativeProcessLauncher> launcher) { |
+ std::unique_ptr<NativeProcessLauncher> launcher) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
- scoped_ptr<NativeMessageHost> process(new NativeMessageProcessHost( |
+ std::unique_ptr<NativeMessageHost> process(new NativeMessageProcessHost( |
source_extension_id, native_host_name, std::move(launcher))); |
return process; |