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

Side by Side Diff: remoting/protocol/ssl_hmac_channel_authenticator_unittest.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 "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "base/test/test_timeouts.h" 13 #include "base/test/test_timeouts.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
14 #include "crypto/rsa_private_key.h" 15 #include "crypto/rsa_private_key.h"
15 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
16 #include "net/base/test_data_directory.h" 17 #include "net/base/test_data_directory.h"
17 #include "net/test/cert_test_util.h" 18 #include "net/test/cert_test_util.h"
18 #include "remoting/base/rsa_key_pair.h" 19 #include "remoting/base/rsa_key_pair.h"
19 #include "remoting/protocol/connection_tester.h" 20 #include "remoting/protocol/connection_tester.h"
20 #include "remoting/protocol/fake_session.h" 21 #include "remoting/protocol/fake_session.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( 194 host_auth_ = SslHmacChannelAuthenticator::CreateForHost(
194 host_cert_, key_pair_, kTestSharedSecret); 195 host_cert_, key_pair_, kTestSharedSecret);
195 196
196 RunChannelAuth(net::ERR_CERT_INVALID, net::ERR_CONNECTION_CLOSED); 197 RunChannelAuth(net::ERR_CERT_INVALID, net::ERR_CONNECTION_CLOSED);
197 198
198 ASSERT_TRUE(host_socket_.get() == nullptr); 199 ASSERT_TRUE(host_socket_.get() == nullptr);
199 } 200 }
200 201
201 } // namespace protocol 202 } // namespace protocol
202 } // namespace remoting 203 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator.cc ('k') | remoting/protocol/stream_channel_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698