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

Side by Side 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: test case 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/i18n/file_util_icu.cc » ('j') | base/i18n/file_util_icu.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_I18N_FILE_UTIL_ICU_H_ 5 #ifndef BASE_I18N_FILE_UTIL_ICU_H_
6 #define BASE_I18N_FILE_UTIL_ICU_H_ 6 #define BASE_I18N_FILE_UTIL_ICU_H_
7 #pragma once 7 #pragma once
8 8
9 // File utilities that use the ICU library go in this file. 9 // File utilities that use the ICU library go in this file.
10 10
(...skipping 17 matching lines...) Expand all
28 BASE_I18N_EXPORT void ReplaceIllegalCharactersInPath( 28 BASE_I18N_EXPORT void ReplaceIllegalCharactersInPath(
29 FilePath::StringType* file_name, 29 FilePath::StringType* file_name,
30 char replace_char); 30 char replace_char);
31 31
32 // Compares two filenames using the current locale information. This can be 32 // Compares two filenames using the current locale information. This can be
33 // used to sort directory listings. It behaves like "operator<" for use in 33 // used to sort directory listings. It behaves like "operator<" for use in
34 // std::sort. 34 // std::sort.
35 BASE_I18N_EXPORT bool LocaleAwareCompareFilenames(const FilePath& a, 35 BASE_I18N_EXPORT bool LocaleAwareCompareFilenames(const FilePath& a,
36 const FilePath& b); 36 const FilePath& b);
37 37
38 // If running on ChromeOS, normalizes file name.
asanka 2012/03/26 22:08:35 // Calculates the canonical file-system representa
tbarzic 2012/03/26 22:57:26 Done.
39 BASE_I18N_EXPORT void NormalizeFileNameOnChromeOS(FilePath* file_name);
40
38 } // namespace file_util 41 } // namespace file_util
39 42
40 #endif // BASE_I18N_FILE_UTIL_ICU_H_ 43 #endif // BASE_I18N_FILE_UTIL_ICU_H_
OLDNEW
« no previous file with comments | « no previous file | base/i18n/file_util_icu.cc » ('j') | base/i18n/file_util_icu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698