summaryrefslogtreecommitdiffstats
path: root/chrome/browser/predictors/predictor_database.cc
diff options
context:
space:
mode:
authorshishir@chromium.org <shishir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 02:15:53 +0000
committershishir@chromium.org <shishir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-17 02:15:53 +0000
commitd53c7433359ac550dc569ff0de8831a8cc0ba795 (patch)
tree4a5c043ee2fbf64a7d3b88344528858a282b9038 /chrome/browser/predictors/predictor_database.cc
parent1e0f6c30cab16f5eb9334669c115ddf4b48e492f (diff)
downloadchromium_src-d53c7433359ac550dc569ff0de8831a8cc0ba795.zip
chromium_src-d53c7433359ac550dc569ff0de8831a8cc0ba795.tar.gz
chromium_src-d53c7433359ac550dc569ff0de8831a8cc0ba795.tar.bz2
ResourcePrefetchPredictor changes to enable experiments via finch.
BUG=164207 Review URL: https://chromiumcodereview.appspot.com/11572053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/predictors/predictor_database.cc')
-rw-r--r--chrome/browser/predictors/predictor_database.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/predictors/predictor_database.cc b/chrome/browser/predictors/predictor_database.cc
index 1949a3f..bf155b3 100644
--- a/chrome/browser/predictors/predictor_database.cc
+++ b/chrome/browser/predictors/predictor_database.cc
@@ -66,9 +66,9 @@ PredictorDatabaseInternal::PredictorDatabaseInternal(Profile* profile)
: db_path_(profile->GetPath().Append(kPredictorDatabaseName)),
autocomplete_table_(new AutocompleteActionPredictorTable()),
resource_prefetch_tables_(new ResourcePrefetchPredictorTables()) {
+ ResourcePrefetchPredictorConfig config;
is_resource_prefetch_predictor_enabled_ =
- prerender::IsSpeculativeResourcePrefetchingLearningEnabled(profile) ||
- prerender::IsSpeculativeResourcePrefetchingEnabled(profile);
+ IsSpeculativeResourcePrefetchingEnabled(profile, &config);
}
PredictorDatabaseInternal::~PredictorDatabaseInternal() {