| Index: net/ftp/ftp_util.h
|
| diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c71b919b406fbf38f35c591b37f4efea3f97c5bd
|
| --- /dev/null
|
| +++ b/net/ftp/ftp_util.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_FTP_FTP_UTIL_H_
|
| +#define NET_FTP_FTP_UTIL_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace net {
|
| +
|
| +class FtpUtil {
|
| + public:
|
| + // Convert Unix file path to VMS path (must be a file, and not a directory).
|
| + static std::string UnixFilePathToVMS(const std::string& unix_path);
|
| +
|
| + // Convert Unix directory path to VMS path (must be a directory).
|
| + static std::string UnixDirectoryPathToVMS(const std::string& unix_path);
|
| +
|
| + // Convert VMS path to Unix-style path.
|
| + static std::string VMSPathToUnix(const std::string& vms_path);
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_FTP_FTP_UTIL_H_
|
|
|