
TBR: jsbell Change-Id: I5b998afa31810577e0bfd9d4d29ef9d462bce5b7 Reviewed-on: https://chromium-review.googlesource.com/c/1390332 Reviewed-by: Victor Costan <pwnall@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#618989}
24 lines
685 B
C++
24 lines
685 B
C++
// Copyright 2018 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 SQL_INITIALIZATION_H_
|
|
#define SQL_INITIALIZATION_H_
|
|
|
|
#include "base/component_export.h"
|
|
|
|
namespace sql {
|
|
|
|
// Makes sure that sqlite3_initialize() is called.
|
|
//
|
|
// Users of the APIs exposed in //sql do not need to worry about SQLite
|
|
// initialization, because sql::Database calls this function internally.
|
|
//
|
|
// The function is exposed for other components that use SQLite indirectly, such
|
|
// as Blink.
|
|
COMPONENT_EXPORT(SQL) void EnsureSqliteInitialized();
|
|
|
|
} // namespace sql
|
|
|
|
#endif // SQL_INITIALIZATION_H_
|