blob: 01eca433ef5a464a03ee5e515ff49037e0a7cedc [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
Victor Costane56cc682018-12-27 01:53:468#include "base/component_export.h"
Victor Costan3653df62018-02-08 21:38:169
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.
Victor Costane56cc682018-12-27 01:53:4619COMPONENT_EXPORT(SQL) void EnsureSqliteInitialized();
Victor Costan3653df62018-02-08 21:38:1620
21} // namespace sql
22
23#endif // SQL_INITIALIZATION_H_