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

Side by Side Diff: remoting/protocol/ssl_hmac_channel_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/ssl_hmac_channel_authenticator.h" 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility>
10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
11 #include "base/callback_helpers.h" 13 #include "base/callback_helpers.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "build/build_config.h" 15 #include "build/build_config.h"
14 #include "crypto/secure_util.h" 16 #include "crypto/secure_util.h"
15 #include "net/base/host_port_pair.h" 17 #include "net/base/host_port_pair.h"
16 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
17 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
18 #include "net/cert/cert_status_flags.h" 20 #include "net/cert/cert_status_flags.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 make_scoped_ptr(new P2PStreamSocketAdapter(std::move(socket_)))); 434 make_scoped_ptr(new P2PStreamSocketAdapter(std::move(socket_))));
433 } 435 }
434 } 436 }
435 437
436 void SslHmacChannelAuthenticator::NotifyError(int error) { 438 void SslHmacChannelAuthenticator::NotifyError(int error) {
437 base::ResetAndReturn(&done_callback_).Run(error, nullptr); 439 base::ResetAndReturn(&done_callback_).Run(error, nullptr);
438 } 440 }
439 441
440 } // namespace protocol 442 } // namespace protocol
441 } // namespace remoting 443 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/secure_channel_factory.cc ('k') | remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698