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

Unified Diff: remoting/protocol/transport.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/token_validator.h ('k') | remoting/protocol/transport_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/transport.h
diff --git a/remoting/protocol/transport.h b/remoting/protocol/transport.h
index c9f24d36fa9ed8363cb7c3a27adb2c6ca0c45f89..8512d0bfc1c1a8661b8524cc825fe89824e184f1 100644
--- a/remoting/protocol/transport.h
+++ b/remoting/protocol/transport.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_PROTOCOL_TRANSPORT_H_
#define REMOTING_PROTOCOL_TRANSPORT_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "net/base/ip_endpoint.h"
#include "remoting/protocol/errors.h"
@@ -58,7 +58,7 @@ struct TransportRoute {
// Implementations should provide other methods to send and receive data.
class Transport {
public:
- typedef base::Callback<void(scoped_ptr<buzz::XmlElement> transport_info)>
+ typedef base::Callback<void(std::unique_ptr<buzz::XmlElement> transport_info)>
SendTransportInfoCallback;
virtual ~Transport() {}
« no previous file with comments | « remoting/protocol/token_validator.h ('k') | remoting/protocol/transport_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698