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

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

Issue 2847183002: predictors: Introduce GlowplugPredictor. (Closed)
Patch Set: GlowplugPredictor -> LoadingPredictor Created 3 years, 7 months 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 ebc515ff5521ef78ec8adaa124ed88f3677314c7..7a4cf73a680d9885cdeade697e5576e377d68aab 100644
--- a/chrome/browser/predictors/predictor_database.cc
+++ b/chrome/browser/predictors/predictor_database.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/predictors/predictor_database.h"
-#include <stdint.h>
+#include <cstdint>
#include <memory>
#include "base/bind.h"
@@ -13,6 +13,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "chrome/browser/predictors/autocomplete_action_predictor_table.h"
+#include "chrome/browser/predictors/loading_predictor_config.h"
#include "chrome/browser/predictors/resource_prefetch_predictor.h"
#include "chrome/browser/predictors/resource_prefetch_predictor_tables.h"
#include "chrome/browser/profiles/profile.h"
@@ -74,9 +75,8 @@ PredictorDatabaseInternal::PredictorDatabaseInternal(Profile* profile)
// This db does not use [meta] table, store mmap status data elsewhere.
db_->set_mmap_alt_status();
- ResourcePrefetchPredictorConfig config;
is_resource_prefetch_predictor_enabled_ =
- IsSpeculativeResourcePrefetchingEnabled(profile, &config);
+ IsSpeculativeResourcePrefetchingEnabled(profile, nullptr);
}
PredictorDatabaseInternal::~PredictorDatabaseInternal() {
« no previous file with comments | « chrome/browser/predictors/loading_predictor_factory.cc ('k') | chrome/browser/predictors/resource_prefetch_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698