blob: c874167b3a92fd77c78293905553a33412aab462 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SQLITE_VFS_CONSTANTS_H_
#define COMPONENTS_SQLITE_VFS_CONSTANTS_H_
#include "base/files/file_path.h"
namespace sqlite_vfs {
// TODO(crbug.com/377475540): Migrate from ".db" to no extension for the DB file
// and use "-journal" and "-wal" for the others for consistency with SQLite.
inline constexpr base::FilePath::CharType kDbFileExtension[] =
FILE_PATH_LITERAL(".db");
inline constexpr base::FilePath::CharType kJournalFileExtension[] =
FILE_PATH_LITERAL(".journal");
inline constexpr base::FilePath::CharType kWalJournalFileExtension[] =
FILE_PATH_LITERAL(".db-wal");
} // namespace sqlite_vfs
#endif // COMPONENTS_SQLITE_VFS_CONSTANTS_H_