OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "net/test/test_server.h" | 5 #include "net/test/test_server.h" |
6 | 6 |
7 #include <poll.h> | 7 #include <poll.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 } | 132 } |
133 | 133 |
134 // We don't need the FD anymore. | 134 // We don't need the FD anymore. |
135 child_fd_closer_.reset(NULL); | 135 child_fd_closer_.reset(NULL); |
136 if (bytes_read < bytes_max) | 136 if (bytes_read < bytes_max) |
137 return false; | 137 return false; |
138 host_port_pair_.set_port(port); | 138 host_port_pair_.set_port(port); |
139 return true; | 139 return true; |
140 } | 140 } |
141 | 141 |
142 bool TestServer::CheckCATrusted() { | |
143 return true; | |
144 } | |
145 | |
146 } // namespace net | 142 } // namespace net |
OLD | NEW |