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

Side by Side Diff: net/ftp/ftp_network_transaction.h

Issue 2836503002: Handle empty response to FTP QUIT message. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_
6 #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ 6 #define NET_FTP_FTP_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 bool use_epsv_; 241 bool use_epsv_;
242 242
243 AuthCredentials credentials_; 243 AuthCredentials credentials_;
244 244
245 // Current directory on the remote server, as returned by last PWD command, 245 // Current directory on the remote server, as returned by last PWD command,
246 // with any trailing slash removed. 246 // with any trailing slash removed.
247 std::string current_remote_directory_; 247 std::string current_remote_directory_;
248 248
249 uint16_t data_connection_port_; 249 uint16_t data_connection_port_;
250 250
251 ClientSocketFactory* socket_factory_; 251 ClientSocketFactory* const socket_factory_;
252 252
253 std::unique_ptr<StreamSocket> ctrl_socket_; 253 std::unique_ptr<StreamSocket> ctrl_socket_;
254 std::unique_ptr<StreamSocket> data_socket_; 254 std::unique_ptr<StreamSocket> data_socket_;
255 255
256 State next_state_; 256 State next_state_;
257 257
258 // State to switch to after data connection is complete. 258 // State to switch to after data connection is complete.
259 State state_after_data_connect_complete_; 259 State state_after_data_connect_complete_;
260 }; 260 };
261 261
262 } // namespace net 262 } // namespace net
263 263
264 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ 264 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698