Victor Costan | 3653df6 | 2018-02-08 21:38:16 | [diff] [blame] | 1 | // 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 | |
| 10 | namespace 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. |
| 19 | SQL_EXPORT void EnsureSqliteInitialized(); |
| 20 | |
| 21 | } // namespace sql |
| 22 | |
| 23 | #endif // SQL_INITIALIZATION_H_ |