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

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

Issue 10918007: Delay predictor DB access until after the first main frame load complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/autocomplete_action_predictor_unittest.cc
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
index 11f82c442c7f64d7a41ad83330ae531df923ac94..5da0b9a0da12e92724de0065aff80ac84cdd5a85 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
+++ b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
@@ -94,6 +94,7 @@ class AutocompleteActionPredictorTest : public testing::Test {
switches::kPrerenderFromOmnibox,
switches::kPrerenderFromOmniboxSwitchValueEnabled);
+ predictor_->CreateLocalCachesFromDatabase();
profile_.CreateHistoryService(true, false);
profile_.BlockUntilHistoryProcessesPendingRequests();

Powered by Google App Engine
This is Rietveld 408576698