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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index 29ee8ac66041811b2403f0dac0a39907f72500ff..48b70cc49b5383363ad751729a0be00644c8ef90 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -304,7 +304,7 @@ std::string NormalizeFileName(const std::string& input) {
std::string output;
if (!base::ConvertToUtf8AndNormalize(input, base::kCodepageUTF8, &output))
output = input;
- ReplaceChars(output, kSlash, std::string(kEscapedChars), &output);
+ base::ReplaceChars(output, kSlash, std::string(kEscapedChars), &output);
if (!output.empty() && output.find_first_not_of(kDot, 0) == std::string::npos)
output = kEscapedChars;
return output;

Powered by Google App Engine
This is Rietveld 408576698