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

Unified Diff: base/i18n/file_util_icu.h

Issue 9854011: Normalize download file name on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | « no previous file | base/i18n/file_util_icu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/file_util_icu.h
diff --git a/base/i18n/file_util_icu.h b/base/i18n/file_util_icu.h
index 57acea64de8a99e314247ae2d2c12335dfd22bfd..dab3bf1c6e62b3372ad197653e80a0e0ef9733d1 100644
--- a/base/i18n/file_util_icu.h
+++ b/base/i18n/file_util_icu.h
@@ -35,6 +35,10 @@ BASE_I18N_EXPORT void ReplaceIllegalCharactersInPath(
BASE_I18N_EXPORT bool LocaleAwareCompareFilenames(const FilePath& a,
const FilePath& b);
+// Calculates the canonical file-system representation of |file_name| base name.
+// Modifies |file_name| in place. No-op if not on ChromeOS.
+BASE_I18N_EXPORT void NormalizeFileNameEncoding(FilePath* file_name);
+
} // namespace file_util
#endif // BASE_I18N_FILE_UTIL_ICU_H_
« no previous file with comments | « no previous file | base/i18n/file_util_icu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698