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

Unified Diff: base/file_util_icu.cc

Issue 171012: Use 'icu::' namespace explicitly (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « app/table_model.cc ('k') | base/file_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_icu.cc
===================================================================
--- base/file_util_icu.cc (revision 23559)
+++ base/file_util_icu.cc (working copy)
@@ -24,7 +24,7 @@
}
bool containsNone(const string16 &s) {
- return !!set->containsNone(UnicodeString(s.c_str(), s.size()));
+ return !!set->containsNone(icu::UnicodeString(s.c_str(), s.size()));
}
private:
@@ -34,7 +34,7 @@
IllegalCharacters();
~IllegalCharacters() { }
- scoped_ptr<UnicodeSet> set;
+ scoped_ptr<icu::UnicodeSet> set;
DISALLOW_COPY_AND_ASSIGN(IllegalCharacters);
};
@@ -52,10 +52,10 @@
// freeze it only once. Note that there's a trade-off between memory and
// speed.
#if defined(WCHAR_T_IS_UTF16)
- set.reset(new UnicodeSet(UnicodeString(
+ set.reset(new icu::UnicodeSet(icu::UnicodeString(
L"[[\"*/:<>?\\\\|][:Cc:][:Cf:] - [\u200c\u200d]]"), status));
#else
- set.reset(new UnicodeSet(UNICODE_STRING_SIMPLE(
+ set.reset(new icu::UnicodeSet(UNICODE_STRING_SIMPLE(
"[[\"*/:<>?\\\\|][:Cc:][:Cf:] - [\\u200c\\u200d]]").unescape(),
status));
#endif
« no previous file with comments | « app/table_model.cc ('k') | base/file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698