blob: 0c17664e0f5008b14b6ae26818372cc37e5ed48c [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sql/sql_features.h"
#include "base/feature_list.h"
namespace sql::features {
// Enable WAL mode for all SQLite databases.
BASE_FEATURE(kEnableWALModeByDefault,
"EnableWALModeByDefault",
base::FEATURE_DISABLED_BY_DEFAULT);
// Preload database before opening the file.
BASE_FEATURE(kPreOpenPreloadDatabase,
"PreOpenPreloadDatabase",
base::FEATURE_DISABLED_BY_DEFAULT);
// Explicitly unlock the database on close to ensure lock is released.
BASE_FEATURE(kUnlockDatabaseOnClose,
"UnlockDatabaseOnClose",
base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace sql::features