[M85 Migration] Add an evas gl option for rotation
[platform/framework/web/chromium-efl.git] / sql / sql_features.cc
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
5 #include "sql/sql_features.h"
6
7 namespace sql {
8
9 namespace features {
10
11 // Skip the logic for preloading databases.
12 //
13 // Enabling this feature turns sql::Database::Preload() into a noop.
14 // https://crbug.com/243949 suggests that sql::Database::Preload() was added
15 // without any proper benchmarking, and the logic is a pessimization for modern
16 // OS schedulers.
17 //
18 // TODO(pwnall): After the performance impact of the change is assessed, remove
19 //               sql::Database::Preload() and this flag.
20 const base::Feature kSqlSkipPreload{"SqlSkipPreload",
21                                     base::FEATURE_DISABLED_BY_DEFAULT};
22
23 // Enable WAL mode for all SQLite databases.
24 const base::Feature kEnableWALModeByDefault{"EnableWALModeByDefault",
25                                             base::FEATURE_DISABLED_BY_DEFAULT};
26
27 }  // namespace features
28
29 }  // namespace sql