Chromium Code Reviews| 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..c6864d40a11b8259f6cab1151f782a9d97d355a0 100644 |
| --- a/chrome/browser/predictors/predictor_database.cc |
| +++ b/chrome/browser/predictors/predictor_database.cc |
| @@ -5,6 +5,7 @@ |
| #include "chrome/browser/predictors/predictor_database.h" |
| #include <stdint.h> |
|
alexilin
2017/05/12 14:26:46
nit:
/stdint.h/cstdint
and get rid of empty line?
Benoit L
2017/05/12 15:13:12
Done.
|
| + |
| #include <memory> |
| #include "base/bind.h" |
| @@ -13,6 +14,7 @@ |
| #include "base/logging.h" |
| #include "base/macros.h" |
| #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" |
| +#include "chrome/browser/predictors/glowplug_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 +76,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() { |