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

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

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « base/win/i18n.h ('k') | base/win/i18n_unittest.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 "base/win/i18n.h" 5 #include "base/win/i18n.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 11
11 namespace { 12 namespace {
12 13
13 // Keep this enum in sync with kLanguageFunctionNames. 14 // Keep this enum in sync with kLanguageFunctionNames.
14 enum LanguageFunction { 15 enum LanguageFunction {
15 SYSTEM_LANGUAGES, 16 SYSTEM_LANGUAGES,
16 USER_LANGUAGES, 17 USER_LANGUAGES,
17 PROCESS_LANGUAGES, 18 PROCESS_LANGUAGES,
18 THREAD_LANGUAGES, 19 THREAD_LANGUAGES,
19 NUM_FUNCTIONS 20 NUM_FUNCTIONS
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bool GetThreadPreferredUILanguageList(std::vector<std::wstring>* languages) { 162 bool GetThreadPreferredUILanguageList(std::vector<std::wstring>* languages) {
162 DCHECK(languages); 163 DCHECK(languages);
163 return GetPreferredUILanguageList( 164 return GetPreferredUILanguageList(
164 THREAD_LANGUAGES, MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK, 165 THREAD_LANGUAGES, MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK,
165 languages); 166 languages);
166 } 167 }
167 168
168 } // namespace i18n 169 } // namespace i18n
169 } // namespace win 170 } // namespace win
170 } // namespace base 171 } // namespace base
OLDNEW
« no previous file with comments | « base/win/i18n.h ('k') | base/win/i18n_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698