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

Side by Side Diff: remoting/protocol/channel_dispatcher_base.cc

Issue 1547603004: Include <utility> in files that use std::move() in remoting/protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/protocol/channel_dispatcher_base.h" 5 #include "remoting/protocol/channel_dispatcher_base.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "remoting/protocol/p2p_stream_socket.h" 10 #include "remoting/protocol/p2p_stream_socket.h"
9 #include "remoting/protocol/stream_channel_factory.h" 11 #include "remoting/protocol/stream_channel_factory.h"
10 12
11 namespace remoting { 13 namespace remoting {
12 namespace protocol { 14 namespace protocol {
13 15
14 ChannelDispatcherBase::ChannelDispatcherBase(const char* channel_name) 16 ChannelDispatcherBase::ChannelDispatcherBase(const char* channel_name)
15 : channel_name_(channel_name), 17 : channel_name_(channel_name),
16 channel_factory_(nullptr), 18 channel_factory_(nullptr),
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 52
51 event_handler_->OnChannelInitialized(this); 53 event_handler_->OnChannelInitialized(this);
52 } 54 }
53 55
54 void ChannelDispatcherBase::OnReadWriteFailed(int error) { 56 void ChannelDispatcherBase::OnReadWriteFailed(int error) {
55 event_handler_->OnChannelError(this, CHANNEL_CONNECTION_ERROR); 57 event_handler_->OnChannelError(this, CHANNEL_CONNECTION_ERROR);
56 } 58 }
57 59
58 } // namespace protocol 60 } // namespace protocol
59 } // namespace remoting 61 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/capture_scheduler_unittest.cc ('k') | remoting/protocol/channel_multiplexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698