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

Side by Side Diff: app/l10n_util.h

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | app/resource_bundle_linux.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 // This file contains utility functions for dealing with localized 5 // This file contains utility functions for dealing with localized
6 // content. 6 // content.
7 7
8 #ifndef APP_L10N_UTIL_H_ 8 #ifndef APP_L10N_UTIL_H_
9 #define APP_L10N_UTIL_H_ 9 #define APP_L10N_UTIL_H_
10 #pragma once 10 #pragma once
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <functional> 13 #include <functional>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 18
19 #include "base/basictypes.h" 19 #include "base/basictypes.h"
20 #include "base/logging.h"
21 #include "base/scoped_ptr.h" 20 #include "base/scoped_ptr.h"
22 #include "base/string16.h" 21 #include "base/string16.h"
23 #include "base/string_util.h" 22 #include "base/string_util.h"
24 23
25 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
26 #include "app/l10n_util_mac.h" 25 #include "app/l10n_util_mac.h"
27 #endif // OS_MACOSX 26 #endif // OS_MACOSX
28 27
29 namespace l10n_util { 28 namespace l10n_util {
30 29
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 const std::vector<std::string>& GetAvailableLocales(); 184 const std::vector<std::string>& GetAvailableLocales();
186 185
187 // Returns a vector of locale codes usable for accept-languages. 186 // Returns a vector of locale codes usable for accept-languages.
188 void GetAcceptLanguagesForLocale(const std::string& display_locale, 187 void GetAcceptLanguagesForLocale(const std::string& display_locale,
189 std::vector<std::string>* locale_codes); 188 std::vector<std::string>* locale_codes);
190 189
191 190
192 } // namespace l10n_util 191 } // namespace l10n_util
193 192
194 #endif // APP_L10N_UTIL_H_ 193 #endif // APP_L10N_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | app/resource_bundle_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698