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

Side by Side Diff: base/win/i18n.h

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « base/win/event_trace_provider.h ('k') | base/win/i18n.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) 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_WIN_I18N_H_ 5 #ifndef BASE_WIN_I18N_H_
6 #define BASE_WIN_I18N_H_ 6 #define BASE_WIN_I18N_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/base_export.h" 11 #include "base/base_export.h"
12 #include "base/basictypes.h"
13 12
14 namespace base { 13 namespace base {
15 namespace win { 14 namespace win {
16 namespace i18n { 15 namespace i18n {
17 16
18 // Adds to |languages| the list of user preferred UI languages from MUI, if 17 // Adds to |languages| the list of user preferred UI languages from MUI, if
19 // available, falling-back on the user default UI language otherwise. Returns 18 // available, falling-back on the user default UI language otherwise. Returns
20 // true if at least one language is added. 19 // true if at least one language is added.
21 BASE_EXPORT bool GetUserPreferredUILanguageList( 20 BASE_EXPORT bool GetUserPreferredUILanguageList(
22 std::vector<std::wstring>* languages); 21 std::vector<std::wstring>* languages);
23 22
24 // Adds to |languages| the list of thread, process, user, and system preferred 23 // Adds to |languages| the list of thread, process, user, and system preferred
25 // UI languages from MUI, if available, falling-back on the user default UI 24 // UI languages from MUI, if available, falling-back on the user default UI
26 // language otherwise. Returns true if at least one language is added. 25 // language otherwise. Returns true if at least one language is added.
27 BASE_EXPORT bool GetThreadPreferredUILanguageList( 26 BASE_EXPORT bool GetThreadPreferredUILanguageList(
28 std::vector<std::wstring>* languages); 27 std::vector<std::wstring>* languages);
29 28
30 } // namespace i18n 29 } // namespace i18n
31 } // namespace win 30 } // namespace win
32 } // namespace base 31 } // namespace base
33 32
34 #endif // BASE_WIN_I18N_H_ 33 #endif // BASE_WIN_I18N_H_
OLDNEW
« no previous file with comments | « base/win/event_trace_provider.h ('k') | base/win/i18n.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698