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

Side by Side Diff: remoting/protocol/transport_context.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 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/transport_context.h" 5 #include "remoting/protocol/transport_context.h"
6 6
7 #include <utility>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/location.h" 10 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
11 #include "remoting/protocol/port_allocator_factory.h" 13 #include "remoting/protocol/port_allocator_factory.h"
12 #include "third_party/webrtc/p2p/client/httpportallocator.h" 14 #include "third_party/webrtc/p2p/client/httpportallocator.h"
13 15
14 namespace remoting { 16 namespace remoting {
15 namespace protocol { 17 namespace protocol {
16 18
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 115
114 result->set_flags(flags); 116 result->set_flags(flags);
115 result->SetPortRange(network_settings_.port_range.min_port, 117 result->SetPortRange(network_settings_.port_range.min_port,
116 network_settings_.port_range.max_port); 118 network_settings_.port_range.max_port);
117 119
118 return std::move(result); 120 return std::move(result);
119 } 121 }
120 122
121 } // namespace protocol 123 } // namespace protocol
122 } // namespace remoting 124 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/third_party_host_authenticator.cc ('k') | remoting/protocol/v2_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698