OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_FTP_FTP_UTIL_H_ |
| 6 #define NET_FTP_FTP_UTIL_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace net { |
| 11 |
| 12 class FtpUtil { |
| 13 public: |
| 14 // Convert Unix file path to VMS path (must be a file, and not a directory). |
| 15 static std::string UnixFilePathToVMS(const std::string& unix_path); |
| 16 |
| 17 // Convert Unix directory path to VMS path (must be a directory). |
| 18 static std::string UnixDirectoryPathToVMS(const std::string& unix_path); |
| 19 |
| 20 // Convert VMS path to Unix-style path. |
| 21 static std::string VMSPathToUnix(const std::string& vms_path); |
| 22 }; |
| 23 |
| 24 } // namespace net |
| 25 |
| 26 #endif // NET_FTP_FTP_UTIL_H_ |
OLD | NEW |