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

Unified Diff: net/ftp/ftp_util.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/http/http_auth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_util.cc
diff --git a/net/ftp/ftp_util.cc b/net/ftp/ftp_util.cc
index b5580664736bc1aa613dc680c569e67f6a789270..77ba363ee149d1153404a4f4b8ec7575a03ffc65 100644
--- a/net/ftp/ftp_util.cc
+++ b/net/ftp/ftp_util.cc
@@ -108,12 +108,12 @@ std::string FtpUtil::VMSPathToUnix(const std::string& vms_path) {
std::string result(vms_path);
if (vms_path[0] == '[') {
// It's a relative path.
- ReplaceFirstSubstringAfterOffset(&result, 0, "[.", std::string());
+ base::ReplaceFirstSubstringAfterOffset(&result, 0, "[.", std::string());
} else {
// It's an absolute path.
result.insert(0, "/");
- ReplaceSubstringsAfterOffset(&result, 0, ":[000000]", "/");
- ReplaceSubstringsAfterOffset(&result, 0, ":[", "/");
+ base::ReplaceSubstringsAfterOffset(&result, 0, ":[000000]", "/");
+ base::ReplaceSubstringsAfterOffset(&result, 0, ":[", "/");
}
std::replace(result.begin(), result.end(), '.', '/');
std::replace(result.begin(), result.end(), ']', '/');
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/http/http_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698