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

Side by Side Diff: app/l10n_util.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app/gfx/gl/gl_implementation_linux.cc ('k') | app/l10n_util_dummy.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h" 5 #include "app/l10n_util.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 8
9 #include "app/app_paths.h" 9 #include "app/app_paths.h"
10 #include "app/app_switches.h"
11 #include "app/l10n_util_collator.h" 10 #include "app/l10n_util_collator.h"
12 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/file_util.h" 13 #include "base/file_util.h"
15 #include "base/i18n/file_util_icu.h" 14 #include "base/i18n/file_util_icu.h"
16 #include "base/i18n/rtl.h" 15 #include "base/i18n/rtl.h"
17 #include "base/path_service.h" 16 #include "base/path_service.h"
18 #include "base/scoped_ptr.h" 17 #include "base/scoped_ptr.h"
19 #include "base/string16.h" 18 #include "base/string16.h"
20 #include "base/string_piece.h" 19 #include "base/string_piece.h"
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) { 852 for (size_t i = 0; i < arraysize(kAcceptLanguageList); ++i) {
854 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale)) 853 if (!IsLocaleNameTranslated(kAcceptLanguageList[i], display_locale))
855 // TODO(jungshik) : Put them at the of the list with language codes 854 // TODO(jungshik) : Put them at the of the list with language codes
856 // enclosed by brackets instead of skipping. 855 // enclosed by brackets instead of skipping.
857 continue; 856 continue;
858 locale_codes->push_back(kAcceptLanguageList[i]); 857 locale_codes->push_back(kAcceptLanguageList[i]);
859 } 858 }
860 } 859 }
861 860
862 } // namespace l10n_util 861 } // namespace l10n_util
OLDNEW
« no previous file with comments | « app/gfx/gl/gl_implementation_linux.cc ('k') | app/l10n_util_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698