blob: 6f13458577045953e19299e89db3167f158e404e [file] [log] [blame]
Victor Costan3653df62018-02-08 21:38:161// Copyright 2018 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 SQL_INITIALIZATION_H_
6#define SQL_INITIALIZATION_H_
7
8#include "sql/sql_export.h"
9
10namespace sql {
11
12// Makes sure that sqlite3_initialize() is called.
13//
14// Users of the APIs exposed in //sql do not need to worry about SQLite
15// initialization, because sql::Connection calls this function internally.
16//
17// The function is exposed for other components that use SQLite indirectly, such
18// as Blink.
19SQL_EXPORT void EnsureSqliteInitialized();
20
21} // namespace sql
22
23#endif // SQL_INITIALIZATION_H_