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

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

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « net/dns/dns_hosts.cc ('k') | 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 <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 15 matching lines...) Expand all
26 class ClientSocketFactory; 26 class ClientSocketFactory;
27 class FtpNetworkSession; 27 class FtpNetworkSession;
28 class StreamSocket; 28 class StreamSocket;
29 29
30 class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction { 30 class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction {
31 public: 31 public:
32 FtpNetworkTransaction(FtpNetworkSession* session, 32 FtpNetworkTransaction(FtpNetworkSession* session,
33 ClientSocketFactory* socket_factory); 33 ClientSocketFactory* socket_factory);
34 ~FtpNetworkTransaction() override; 34 ~FtpNetworkTransaction() override;
35 35
36 virtual int Stop(int error); 36 int Stop(int error);
37 virtual int RestartIgnoringLastError(const CompletionCallback& callback);
38 37
39 // FtpTransaction methods: 38 // FtpTransaction methods:
40 int Start(const FtpRequestInfo* request_info, 39 int Start(const FtpRequestInfo* request_info,
41 const CompletionCallback& callback, 40 const CompletionCallback& callback,
42 const BoundNetLog& net_log) override; 41 const BoundNetLog& net_log) override;
43 int RestartWithAuth(const AuthCredentials& credentials, 42 int RestartWithAuth(const AuthCredentials& credentials,
44 const CompletionCallback& callback) override; 43 const CompletionCallback& callback) override;
45 int Read(IOBuffer* buf, 44 int Read(IOBuffer* buf,
46 int buf_len, 45 int buf_len,
47 const CompletionCallback& callback) override; 46 const CompletionCallback& callback) override;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 255
257 State next_state_; 256 State next_state_;
258 257
259 // State to switch to after data connection is complete. 258 // State to switch to after data connection is complete.
260 State state_after_data_connect_complete_; 259 State state_after_data_connect_complete_;
261 }; 260 };
262 261
263 } // namespace net 262 } // namespace net
264 263
265 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ 264 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/dns/dns_hosts.cc ('k') | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698