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

Unified Diff: remoting/protocol/datagram_channel_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
« no previous file with comments | « remoting/protocol/content_description_unittest.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/datagram_channel_factory.h
diff --git a/remoting/protocol/datagram_channel_factory.h b/remoting/protocol/datagram_channel_factory.h
index 2e19fc2f3c93e3d5889c28083c074d185318610f..d82960a796fb9ed1acf2a29f38d895ae1accadd5 100644
--- a/remoting/protocol/datagram_channel_factory.h
+++ b/remoting/protocol/datagram_channel_factory.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_
#define REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace remoting {
namespace protocol {
@@ -18,7 +18,7 @@ class P2PDatagramSocket;
class DatagramChannelFactory {
public:
- typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)>
+ typedef base::Callback<void(std::unique_ptr<P2PDatagramSocket>)>
ChannelCreatedCallback;
DatagramChannelFactory() {}
« no previous file with comments | « remoting/protocol/content_description_unittest.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698