~alinuxninja/nginx-edge/trunk

« back to all changes in this revision

Viewing changes to debian/modules/ngx_pagespeed/psol/include/third_party/chromium/src/base/win/i18n.h

  • Committer: Vivian
  • Date: 2015-12-04 18:20:11 UTC
  • Revision ID: git-v1:a36f2bc32e884f7473b3a47040e5411306144d7d
* Do not extract psol.tar.gz

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
3
 
// found in the LICENSE file.
4
 
 
5
 
#ifndef BASE_WIN_I18N_H_
6
 
#define BASE_WIN_I18N_H_
7
 
 
8
 
#include <string>
9
 
#include <vector>
10
 
 
11
 
#include "base/base_export.h"
12
 
#include "base/basictypes.h"
13
 
 
14
 
namespace base {
15
 
namespace win {
16
 
namespace i18n {
17
 
 
18
 
// 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
20
 
// true if at least one language is added.
21
 
BASE_EXPORT bool GetUserPreferredUILanguageList(
22
 
    std::vector<std::wstring>* languages);
23
 
 
24
 
// 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
26
 
// language otherwise.  Returns true if at least one language is added.
27
 
BASE_EXPORT bool GetThreadPreferredUILanguageList(
28
 
    std::vector<std::wstring>* languages);
29
 
 
30
 
}  // namespace i18n
31
 
}  // namespace win
32
 
}  // namespace base
33
 
 
34
 
#endif  // BASE_WIN_I18N_H_