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

Unified Diff: remoting/protocol/message_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
Index: remoting/protocol/message_channel_factory.h
diff --git a/remoting/protocol/message_channel_factory.h b/remoting/protocol/message_channel_factory.h
index 430791490c1c64d38d4efaae427a76d6109c48a3..a9ecc44b7e5434498b7cd6d4a6f9c3cb2000ae45 100644
--- a/remoting/protocol/message_channel_factory.h
+++ b/remoting/protocol/message_channel_factory.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_PROTOCOL_MESSAGE_CHANNEL_FACTORY_H_
#define REMOTING_PROTOCOL_MESSAGE_CHANNEL_FACTORY_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
namespace remoting {
namespace protocol {
@@ -17,7 +17,8 @@ class MessagePipe;
class MessageChannelFactory {
public:
- typedef base::Callback<void(scoped_ptr<MessagePipe>)> ChannelCreatedCallback;
+ typedef base::Callback<void(std::unique_ptr<MessagePipe>)>
+ ChannelCreatedCallback;
virtual ~MessageChannelFactory() {}
« no previous file with comments | « remoting/protocol/me2me_host_authenticator_factory.cc ('k') | remoting/protocol/message_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698