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

Unified Diff: net/base/net_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: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index e5200e77f7647c62caa5e95617fa715db9f8ce28..4a4ff525f1328e7e12faa7dacda9583482f2ac6d 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -773,7 +773,7 @@ void SanitizeGeneratedFileName(base::FilePath::StringType* filename,
if (trimmed)
filename->insert(filename->end(), trimmed, kReplace[0]);
}
- TrimString(*filename, FILE_PATH_LITERAL("."), filename);
+ base::TrimString(*filename, FILE_PATH_LITERAL("."), filename);
if (filename->empty())
return;
// Replace any path information by changing path separators.

Powered by Google App Engine
This is Rietveld 408576698