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

Unified Diff: remoting/protocol/host_event_dispatcher.cc

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/host_event_dispatcher.h ('k') | remoting/protocol/host_video_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_event_dispatcher.cc
diff --git a/remoting/protocol/host_event_dispatcher.cc b/remoting/protocol/host_event_dispatcher.cc
index 4032c0a2dc5a68d766779dcd2950e99f75802b4c..0ee78d0d59185dc0d63728b826c913bbba6b60cd 100644
--- a/remoting/protocol/host_event_dispatcher.cc
+++ b/remoting/protocol/host_event_dispatcher.cc
@@ -19,10 +19,12 @@ HostEventDispatcher::HostEventDispatcher()
: ChannelDispatcherBase(kEventChannelName) {}
HostEventDispatcher::~HostEventDispatcher() {}
-void HostEventDispatcher::OnIncomingMessage(scoped_ptr<CompoundBuffer> buffer) {
+void HostEventDispatcher::OnIncomingMessage(
+ std::unique_ptr<CompoundBuffer> buffer) {
DCHECK(input_stub_);
- scoped_ptr<EventMessage> message = ParseMessage<EventMessage>(buffer.get());
+ std::unique_ptr<EventMessage> message =
+ ParseMessage<EventMessage>(buffer.get());
if (!message)
return;
« no previous file with comments | « remoting/protocol/host_event_dispatcher.h ('k') | remoting/protocol/host_video_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698