| OLD | NEW |
| 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_SESSION_H_ | 5 #ifndef NET_FTP_FTP_NETWORK_SESSION_H_ |
| 6 #define NET_FTP_FTP_NETWORK_SESSION_H_ | 6 #define NET_FTP_FTP_NETWORK_SESSION_H_ |
| 7 | 7 |
| 8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
| 9 #include "net/ftp/ftp_auth_cache.h" | 9 #include "net/ftp/ftp_auth_cache.h" |
| 10 | 10 |
| 11 |
| 11 namespace net { | 12 namespace net { |
| 12 | 13 |
| 13 // This class holds session objects used by FtpNetworkTransaction objects. | 14 // This class holds session objects used by FtpNetworkTransaction objects. |
| 14 class FtpNetworkSession : public base::RefCounted<FtpNetworkSession> { | 15 class FtpNetworkSession : public base::RefCounted<FtpNetworkSession> { |
| 15 public: | 16 public: |
| 16 FtpNetworkSession() {} | 17 FtpNetworkSession() {} |
| 17 | 18 |
| 18 FtpAuthCache* auth_cache() { return &auth_cache_; } | 19 FtpAuthCache* auth_cache() { return &auth_cache_; } |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 FtpAuthCache auth_cache_; | 22 FtpAuthCache auth_cache_; |
| 22 }; | 23 }; |
| 23 | 24 |
| 24 } // namespace net | 25 } // namespace net |
| 25 | 26 |
| 26 #endif // NET_FTP_FTP_NETWORK_SESSION_H_ | 27 #endif // NET_FTP_FTP_NETWORK_SESSION_H_ |
| OLD | NEW |