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

Unified Diff: remoting/host/native_messaging/log_message_handler.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/host/mouse_shape_pump_unittest.cc ('k') | remoting/host/native_messaging/log_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/native_messaging/log_message_handler.h
diff --git a/remoting/host/native_messaging/log_message_handler.h b/remoting/host/native_messaging/log_message_handler.h
index f8b2d1f577997c27a846bd74311bb9ff5a95ce67..201c7ba77cf9df592ece0827b0a17e79bfcbaa82 100644
--- a/remoting/host/native_messaging/log_message_handler.h
+++ b/remoting/host/native_messaging/log_message_handler.h
@@ -7,8 +7,9 @@
#include <stddef.h>
+#include <memory>
+
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
@@ -19,7 +20,7 @@ namespace remoting {
// over a Native Messaging channel.
class LogMessageHandler {
public:
- typedef base::Callback<void (scoped_ptr<base::Value> message)> Delegate;
+ typedef base::Callback<void(std::unique_ptr<base::Value> message)> Delegate;
explicit LogMessageHandler(const Delegate& delegate);
~LogMessageHandler();
« no previous file with comments | « remoting/host/mouse_shape_pump_unittest.cc ('k') | remoting/host/native_messaging/log_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698