OLD | NEW |
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 Loading... |
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 |
OLD | NEW |