initialization.h 685 B

1234567891011121314151617181920212223
  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. #ifndef SQL_INITIALIZATION_H_
  5. #define SQL_INITIALIZATION_H_
  6. #include "base/component_export.h"
  7. namespace sql {
  8. // Makes sure that sqlite3_initialize() is called.
  9. //
  10. // Users of the APIs exposed in //sql do not need to worry about SQLite
  11. // initialization, because sql::Database calls this function internally.
  12. //
  13. // The function is exposed for other components that use SQLite indirectly, such
  14. // as Blink.
  15. COMPONENT_EXPORT(SQL) void EnsureSqliteInitialized();
  16. } // namespace sql
  17. #endif // SQL_INITIALIZATION_H_