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

Side by Side Diff: remoting/protocol/fake_authenticator.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/fake_authenticator.h" 5 #include "remoting/protocol/fake_authenticator.h"
6 6
7 #include <utility>
8
7 #include "base/base64.h" 9 #include "base/base64.h"
8 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "base/rand_util.h" 12 #include "base/rand_util.h"
11 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
12 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
13 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
14 #include "remoting/base/constants.h" 16 #include "remoting/base/constants.h"
15 #include "remoting/protocol/p2p_stream_socket.h" 17 #include "remoting/protocol/p2p_stream_socket.h"
16 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 const std::string& remote_jid, 218 const std::string& remote_jid,
217 const buzz::XmlElement* first_message) { 219 const buzz::XmlElement* first_message) {
218 scoped_ptr<FakeAuthenticator> authenticator(new FakeAuthenticator( 220 scoped_ptr<FakeAuthenticator> authenticator(new FakeAuthenticator(
219 FakeAuthenticator::HOST, round_trips_, action_, async_)); 221 FakeAuthenticator::HOST, round_trips_, action_, async_));
220 authenticator->set_messages_till_started(messages_till_started_); 222 authenticator->set_messages_till_started(messages_till_started_);
221 return std::move(authenticator); 223 return std::move(authenticator);
222 } 224 }
223 225
224 } // namespace protocol 226 } // namespace protocol
225 } // namespace remoting 227 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/content_description_unittest.cc ('k') | remoting/protocol/fake_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698