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

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

Issue 39130: FTP Transaction code for new Portable FTP(Patch SET-3) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/ftp/ftp_network_layer.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) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef NET_FTP_FTP_NETWORK_LAYER_H_ 5 #ifndef NET_FTP_FTP_NETWORK_LAYER_H_
6 #define NET_FTP_FTP_NETWORK_LAYER_H_ 6 #define NET_FTP_FTP_NETWORK_LAYER_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "net/ftp/ftp_transaction_factory.h" 9 #include "net/ftp/ftp_transaction_factory.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class FtpNetworkSession; 13 class FtpNetworkSession;
14 class FtpAuthCache;
14 15
15 class FtpNetworkLayer : public FtpTransactionFactory { 16 class FtpNetworkLayer : public FtpTransactionFactory {
16 public: 17 public:
17 FtpNetworkLayer(); 18 FtpNetworkLayer();
18 ~FtpNetworkLayer(); 19 ~FtpNetworkLayer();
19 20
21 static FtpTransactionFactory* CreateFactory();
22
20 // FtpTransactionFactory methods: 23 // FtpTransactionFactory methods:
21 virtual FtpTransaction* CreateTransaction(); 24 virtual FtpTransaction* CreateTransaction();
22 virtual FtpAuthCache* GetAuthCache();
23 virtual void Suspend(bool suspend); 25 virtual void Suspend(bool suspend);
24 26
25 private: 27 private:
26 scoped_refptr<FtpNetworkSession> session_; 28 scoped_refptr<FtpNetworkSession> session_;
27 bool suspended_; 29 bool suspended_;
28 }; 30 };
29 31
30 } // namespace net 32 } // namespace net
31 33
32 #endif // NET_FTP_FTP_NETWORK_LAYER_H_ 34 #endif // NET_FTP_FTP_NETWORK_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | net/ftp/ftp_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698