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

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

Issue 215058: Correctly talk to VMS servers (translate UNIX paths to VMS and vice versa). (Closed)
Patch Set: fixes Created 11 years, 2 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/ftp/ftp_network_transaction_unittest.cc ('k') | net/ftp/ftp_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/ftp/ftp_network_transaction_unittest.cc ('k') | net/ftp/ftp_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698