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

Side by Side Diff: net/socket/ssl_server_socket_unittest.cc

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 // This test suite uses SSLClientSocket to test the implementation of 5 // This test suite uses SSLClientSocket to test the implementation of
6 // SSLServerSocket. In order to establish connections between the sockets 6 // SSLServerSocket. In order to establish connections between the sockets
7 // we need two additional classes: 7 // we need two additional classes:
8 // 1. FakeSocket 8 // 1. FakeSocket
9 // Connects SSL socket to FakeDataChannel. This class is just a stub. 9 // Connects SSL socket to FakeDataChannel. This class is just a stub.
10 // 10 //
(...skipping 15 matching lines...) Expand all
26 26
27 #include "base/callback_helpers.h" 27 #include "base/callback_helpers.h"
28 #include "base/compiler_specific.h" 28 #include "base/compiler_specific.h"
29 #include "base/files/file_path.h" 29 #include "base/files/file_path.h"
30 #include "base/files/file_util.h" 30 #include "base/files/file_util.h"
31 #include "base/location.h" 31 #include "base/location.h"
32 #include "base/logging.h" 32 #include "base/logging.h"
33 #include "base/macros.h" 33 #include "base/macros.h"
34 #include "base/message_loop/message_loop.h" 34 #include "base/message_loop/message_loop.h"
35 #include "base/single_thread_task_runner.h" 35 #include "base/single_thread_task_runner.h"
36 #include "base/thread_task_runner_handle.h" 36 #include "base/threading/thread_task_runner_handle.h"
37 #include "build/build_config.h" 37 #include "build/build_config.h"
38 #include "crypto/nss_util.h" 38 #include "crypto/nss_util.h"
39 #include "crypto/rsa_private_key.h" 39 #include "crypto/rsa_private_key.h"
40 #include "crypto/scoped_openssl_types.h" 40 #include "crypto/scoped_openssl_types.h"
41 #include "crypto/signature_creator.h" 41 #include "crypto/signature_creator.h"
42 #include "net/base/address_list.h" 42 #include "net/base/address_list.h"
43 #include "net/base/completion_callback.h" 43 #include "net/base/completion_callback.h"
44 #include "net/base/host_port_pair.h" 44 #include "net/base/host_port_pair.h"
45 #include "net/base/io_buffer.h" 45 #include "net/base/io_buffer.h"
46 #include "net/base/ip_address.h" 46 #include "net/base/ip_address.h"
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 int server_ret = server_socket_->Handshake(handshake_callback.callback()); 1066 int server_ret = server_socket_->Handshake(handshake_callback.callback());
1067 1067
1068 client_ret = connect_callback.GetResult(client_ret); 1068 client_ret = connect_callback.GetResult(client_ret);
1069 server_ret = handshake_callback.GetResult(server_ret); 1069 server_ret = handshake_callback.GetResult(server_ret);
1070 1070
1071 ASSERT_EQ(ERR_SSL_VERSION_OR_CIPHER_MISMATCH, client_ret); 1071 ASSERT_EQ(ERR_SSL_VERSION_OR_CIPHER_MISMATCH, client_ret);
1072 ASSERT_EQ(ERR_SSL_VERSION_OR_CIPHER_MISMATCH, server_ret); 1072 ASSERT_EQ(ERR_SSL_VERSION_OR_CIPHER_MISMATCH, server_ret);
1073 } 1073 }
1074 1074
1075 } // namespace net 1075 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_unittest.cc ('k') | net/socket/transport_client_socket_pool_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698