Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: chrome/browser/predictors/predictor_database.cc

Issue 2397753005: [sql] Allow storing mmap status in a VIEW instead of meta table. (Closed)
Patch Set: OK, its an older SQLite on iOS. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/predictors/predictor_database.cc
diff --git a/chrome/browser/predictors/predictor_database.cc b/chrome/browser/predictors/predictor_database.cc
index 81aca016221655535c1d81dff2d38fda5042a79f..04c4919f0c10c344a71755829712867bef54ba6f 100644
--- a/chrome/browser/predictors/predictor_database.cc
+++ b/chrome/browser/predictors/predictor_database.cc
@@ -73,9 +73,8 @@ PredictorDatabaseInternal::PredictorDatabaseInternal(Profile* profile)
resource_prefetch_tables_(new ResourcePrefetchPredictorTables()) {
db_->set_histogram_tag("Predictor");
- // TODO(shess): The current mitigation for http://crbug.com/537742 stores
- // state in the meta table, which this database does not use.
- db_->set_mmap_disabled();
+ // This db does not use [meta] table, store mmap status data elsewhere.
+ db_->set_mmap_alt_status();
ResourcePrefetchPredictorConfig config;
is_resource_prefetch_predictor_enabled_ =
« no previous file with comments | « chrome/browser/extensions/activity_log/activity_database.cc ('k') | components/sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698