// 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");
inline constexpr base::FilePath::CharType kWalIndexFileExtension[] =
    FILE_PATH_LITERAL(".db-shm");

}  // namespace sqlite_vfs

#endif  // COMPONENTS_SQLITE_VFS_CONSTANTS_H_
