icu_util.h revision 23730a6e56a168d1879203e4b3819bb36e3d8f1f
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_I18N_ICU_UTIL_H_
6#define BASE_I18N_ICU_UTIL_H_
7
8#include "base/i18n/base_i18n_export.h"
9
10namespace base {
11namespace i18n {
12
13// Call this function to load ICU's data tables for the current process.  This
14// function should be called before ICU is used.
15BASE_I18N_EXPORT bool InitializeICU();
16
17// In a test binary, the call above might occur twice.
18BASE_I18N_EXPORT void AllowMultipleInitializeCallsForTesting();
19
20}  // namespace i18n
21}  // namespace base
22
23#endif  // BASE_I18N_ICU_UTIL_H_
24