diff options
Diffstat (limited to 'chromium/third_party/sqlite/sqlite_shell_icu_helper.h')
-rw-r--r-- | chromium/third_party/sqlite/sqlite_shell_icu_helper.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/third_party/sqlite/sqlite_shell_icu_helper.h b/chromium/third_party/sqlite/sqlite_shell_icu_helper.h new file mode 100644 index 00000000000..70eb76f2f55 --- /dev/null +++ b/chromium/third_party/sqlite/sqlite_shell_icu_helper.h @@ -0,0 +1,23 @@ +// Copyright 2019 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef THIRD_PARTY_SQLITE_SQLITE_SHELL_ICU_HELPER_H_ +#define THIRD_PARTY_SQLITE_SQLITE_SHELL_ICU_HELPER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +// Exposes base::i18n::InitializeICU() to the SQLite shell. +// +// Chrome's startup sequence calls base::i18n::InitializeICU(). This function +// exposes the same logic to SQLite's shell, so Chrome developers can debug +// SQLite with the ICU tables used in production. +void InitializeICUForSqliteShell(); + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif // THIRD_PARTY_SQLITE_SQLITE_SHELL_ICU_HELPER_H_ |