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

Side by Side Diff: remoting/protocol/ssl_hmac_channel_authenticator.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-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>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
9 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "build/build_config.h"
11 #include "crypto/secure_util.h" 14 #include "crypto/secure_util.h"
12 #include "net/base/host_port_pair.h" 15 #include "net/base/host_port_pair.h"
13 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
14 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
15 #include "net/cert/cert_status_flags.h" 18 #include "net/cert/cert_status_flags.h"
16 #include "net/cert/cert_verifier.h" 19 #include "net/cert/cert_verifier.h"
17 #include "net/cert/cert_verify_result.h" 20 #include "net/cert/cert_verify_result.h"
18 #include "net/cert/x509_certificate.h" 21 #include "net/cert/x509_certificate.h"
19 #include "net/http/transport_security_state.h" 22 #include "net/http/transport_security_state.h"
20 #include "net/socket/client_socket_handle.h" 23 #include "net/socket/client_socket_handle.h"
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 make_scoped_ptr(new P2PStreamSocketAdapter(socket_.Pass()))); 432 make_scoped_ptr(new P2PStreamSocketAdapter(socket_.Pass())));
430 } 433 }
431 } 434 }
432 435
433 void SslHmacChannelAuthenticator::NotifyError(int error) { 436 void SslHmacChannelAuthenticator::NotifyError(int error) {
434 base::ResetAndReturn(&done_callback_).Run(error, nullptr); 437 base::ResetAndReturn(&done_callback_).Run(error, nullptr);
435 } 438 }
436 439
437 } // namespace protocol 440 } // namespace protocol
438 } // namespace remoting 441 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator.h ('k') | remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698