blob: 98a625ad5a68a0231c207f10a3536409ea01d445 [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
Victor Costancfbfa602018-08-01 23:24:4615// initialization, because sql::Database calls this function internally.
Victor Costan3653df62018-02-08 21:38:1616//
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_