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

Unified Diff: remoting/signaling/server_log_entry.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/signaling/push_notification_subscriber.cc ('k') | remoting/signaling/server_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/server_log_entry.h
diff --git a/remoting/signaling/server_log_entry.h b/remoting/signaling/server_log_entry.h
index fbcba0f0118bd8715d93440e72c90b382d3ee947..395432f6b83264c5bac1a0edfa525e0e1f2d7a17 100644
--- a/remoting/signaling/server_log_entry.h
+++ b/remoting/signaling/server_log_entry.h
@@ -6,9 +6,9 @@
#define REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_
#include <map>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace buzz {
class XmlElement;
@@ -49,10 +49,10 @@ class ServerLogEntry {
// Constructs a log stanza. The caller should add one or more log entry
// stanzas as children of this stanza, before sending the log stanza to
// the remoting bot.
- static scoped_ptr<buzz::XmlElement> MakeStanza();
+ static std::unique_ptr<buzz::XmlElement> MakeStanza();
// Converts this object to an XML stanza.
- scoped_ptr<buzz::XmlElement> ToStanza() const;
+ std::unique_ptr<buzz::XmlElement> ToStanza() const;
private:
typedef std::map<std::string, std::string> ValuesMap;
« no previous file with comments | « remoting/signaling/push_notification_subscriber.cc ('k') | remoting/signaling/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698