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

Unified Diff: remoting/protocol/fake_session.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/fake_desktop_capturer.cc ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.h
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
index 5717a971098bf5094f6963de7c8e4710cee8b0e4..b7b02c8bd5f78c7321da6eb43f1e5592fcf9c258 100644
--- a/remoting/protocol/fake_session.h
+++ b/remoting/protocol/fake_session.h
@@ -6,11 +6,11 @@
#define REMOTING_PROTOCOL_FAKE_SESSION_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "remoting/protocol/fake_stream_socket.h"
#include "remoting/protocol/session.h"
@@ -44,14 +44,14 @@ class FakeSession : public Session {
private:
// Callback provided to the |transport_|.
- void SendTransportInfo(scoped_ptr<buzz::XmlElement> transport_info);
+ void SendTransportInfo(std::unique_ptr<buzz::XmlElement> transport_info);
EventHandler* event_handler_ = nullptr;
- scoped_ptr<SessionConfig> config_;
+ std::unique_ptr<SessionConfig> config_;
std::string jid_;
- scoped_ptr<FakeAuthenticator> authenticator_;
+ std::unique_ptr<FakeAuthenticator> authenticator_;
Transport* transport_;
ErrorCode error_ = OK;
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.cc ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698