Victor Costan | 4c2f3e92 | 2018-08-21 04:47:59 | [diff] [blame^] | 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 | // SQLite databases only use RAM for temporary storage. |
| 12 | // |
| 13 | // Enabling this feature matches the SQLITE_TEMP_STORE=3 build option, which is |
| 14 | // used on Android. |
| 15 | // |
| 16 | // TODO(pwnall): After the memory impact of the config change is assessed, land |
| 17 | // https://crrev.com/c/1146493 and remove this flag. |
| 18 | const base::Feature kSqlTempStoreMemory{"SqlTempStoreMemory", |
| 19 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 20 | |
| 21 | } // namespace features |
| 22 | |
| 23 | } // namespace sql |