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

Unified Diff: chrome/browser/web_applications/web_app.cc

Issue 447403002: Move file_util_icu to base::i18n namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: chrome/browser/web_applications/web_app.cc
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index a675bfba5246826ca5524cd5af31d9bc6b14ffbd..0da4bcecf29dbaac00f8c9ef9a322ee404717f0f 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -141,7 +141,7 @@ base::FilePath GetSanitizedFileName(const base::string16& name) {
#else
std::string file_name = base::UTF16ToUTF8(name);
#endif
- file_util::ReplaceIllegalCharactersInPath(&file_name, '_');
+ base::i18n::ReplaceIllegalCharactersInPath(&file_name, '_');
return base::FilePath(file_name);
}
@@ -426,7 +426,7 @@ void GetIconsInfo(const WebApplicationInfo& app_info,
#if defined(OS_LINUX)
std::string GetWMClassFromAppName(std::string app_name) {
- file_util::ReplaceIllegalCharactersInPath(&app_name, '_');
+ base::i18n::ReplaceIllegalCharactersInPath(&app_name, '_');
base::TrimString(app_name, "_", &app_name);
return app_name;
}
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698