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

Side by Side Diff: remoting/protocol/ice_transport_channel.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 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/ice_transport_channel.h" 5 #include "remoting/protocol/ice_transport_channel.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility>
8 9
9 #include "base/callback.h" 10 #include "base/callback.h"
10 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
11 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
13 #include "jingle/glue/utils.h" 14 #include "jingle/glue/utils.h"
14 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
15 #include "remoting/protocol/channel_socket_adapter.h" 16 #include "remoting/protocol/channel_socket_adapter.h"
16 #include "remoting/protocol/transport_context.h" 17 #include "remoting/protocol/transport_context.h"
17 #include "third_party/webrtc/base/network.h" 18 #include "third_party/webrtc/base/network.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 279
279 // Restart ICE by resetting ICE password. 280 // Restart ICE by resetting ICE password.
280 std::string ice_password = rtc::CreateRandomString(cricket::ICE_PWD_LENGTH); 281 std::string ice_password = rtc::CreateRandomString(cricket::ICE_PWD_LENGTH);
281 delegate_->OnTransportIceCredentials(this, ice_username_fragment_, 282 delegate_->OnTransportIceCredentials(this, ice_username_fragment_,
282 ice_password); 283 ice_password);
283 channel_->SetIceCredentials(ice_username_fragment_, ice_password); 284 channel_->SetIceCredentials(ice_username_fragment_, ice_password);
284 } 285 }
285 286
286 } // namespace protocol 287 } // namespace protocol
287 } // namespace remoting 288 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/ice_connection_to_host.cc ('k') | remoting/protocol/ice_transport_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698