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

Side by Side Diff: ui/base/l10n/l10n_util.cc

Issue 11734021: Roll ICU and convert include style to standard Chromium style, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « printing/backend/print_backend.cc ('k') | ui/base/l10n/l10n_util_collator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ui/base/l10n/l10n_util.h" 5 #include "ui/base/l10n/l10n_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstdlib> 8 #include <cstdlib>
9 #include <iterator> 9 #include <iterator>
10 #include <string> 10 #include <string>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/i18n/file_util_icu.h" 15 #include "base/i18n/file_util_icu.h"
16 #include "base/i18n/rtl.h" 16 #include "base/i18n/rtl.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/stringprintf.h" 19 #include "base/stringprintf.h"
20 #include "base/string_number_conversions.h" 20 #include "base/string_number_conversions.h"
21 #include "base/string_split.h" 21 #include "base/string_split.h"
22 #include "base/string_util.h" 22 #include "base/string_util.h"
23 #include "base/sys_string_conversions.h" 23 #include "base/sys_string_conversions.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/utf_string_conversions.h"
25 #include "build/build_config.h" 25 #include "build/build_config.h"
26 #include "third_party/icu/public/common/unicode/rbbi.h"
27 #include "third_party/icu/public/common/unicode/uloc.h"
26 #include "ui/base/l10n/l10n_util_collator.h" 28 #include "ui/base/l10n/l10n_util_collator.h"
27 #include "ui/base/resource/resource_bundle.h" 29 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/base/ui_base_paths.h" 30 #include "ui/base/ui_base_paths.h"
29 #include "unicode/rbbi.h"
30 #include "unicode/uloc.h"
31 31
32 #if defined(OS_ANDROID) 32 #if defined(OS_ANDROID)
33 #include "base/android/locale_utils.h" 33 #include "base/android/locale_utils.h"
34 #endif 34 #endif
35 35
36 #if defined(OS_LINUX) 36 #if defined(OS_LINUX)
37 #include <glib.h> 37 #include <glib.h>
38 #endif 38 #endif
39 39
40 #if defined(OS_WIN) 40 #if defined(OS_WIN)
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) { 840 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) {
841 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale)) 841 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale))
842 // TODO(jungshik) : Put them at the of the list with language codes 842 // TODO(jungshik) : Put them at the of the list with language codes
843 // enclosed by brackets instead of skipping. 843 // enclosed by brackets instead of skipping.
844 continue; 844 continue;
845 locale_codes->push_back(kAcceptLanguageList[i]); 845 locale_codes->push_back(kAcceptLanguageList[i]);
846 } 846 }
847 } 847 }
848 848
849 } // namespace l10n_util 849 } // namespace l10n_util
OLDNEW
« no previous file with comments | « printing/backend/print_backend.cc ('k') | ui/base/l10n/l10n_util_collator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698