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

Unified Diff: remoting/client/plugin/pepper_port_allocator_factory.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
Index: remoting/client/plugin/pepper_port_allocator_factory.h
diff --git a/remoting/client/plugin/pepper_port_allocator_factory.h b/remoting/client/plugin/pepper_port_allocator_factory.h
index 566817d4965d6ba2ca83924e8a00ca1be081e16c..eb27d8eae327a651cf5fcc0322aaf052f3470b14 100644
--- a/remoting/client/plugin/pepper_port_allocator_factory.h
+++ b/remoting/client/plugin/pepper_port_allocator_factory.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_FACTORY_H_
#define REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_FACTORY_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/cpp/instance_handle.h"
#include "remoting/protocol/port_allocator_factory.h"
@@ -19,7 +20,7 @@ class PepperPortAllocatorFactory : public protocol::PortAllocatorFactory {
~PepperPortAllocatorFactory() override;
// PortAllocatorFactory interface.
- scoped_ptr<cricket::PortAllocator> CreatePortAllocator(
+ std::unique_ptr<cricket::PortAllocator> CreatePortAllocator(
scoped_refptr<protocol::TransportContext> transport_context) override;
private:
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/client/plugin/pepper_port_allocator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698