summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 09:08:10 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 09:08:10 +0000
commite326922daea12d085dc61eec267148e284a1bb0e (patch)
tree4e5bbf2ff781147be0c9d5668f5b1965be704a70 /chrome/browser/autocomplete
parent66da158f592f654fab11b6c98d2d9d5290c7ece4 (diff)
downloadchromium_src-e326922daea12d085dc61eec267148e284a1bb0e.zip
chromium_src-e326922daea12d085dc61eec267148e284a1bb0e.tar.gz
chromium_src-e326922daea12d085dc61eec267148e284a1bb0e.tar.bz2
Update the Preconnect logic to use the new HttpStreamFactory for
creating connections rather than doing it manually. With this update, I believe we no longer need to avoid preconnects through proxies. The new logic can handle that case. Also updated the predictor_api slightly for the next wave of work. BUG=none TEST=existing Review URL: http://codereview.chromium.org/3226011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index 418f9ef..1162943 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -705,8 +705,8 @@ void AutocompleteEditModel::Observe(NotificationType type,
if (!match->destination_url.SchemeIs(chrome::kExtensionScheme)) {
// Warm up DNS Prefetch cache, or preconnect to a search service.
- chrome_browser_net::AnticipateUrl(match->destination_url,
- IsPreconnectable(match->type));
+ chrome_browser_net::AnticipateOmniboxUrl(match->destination_url,
+ IsPreconnectable(match->type));
}
// We could prefetch the alternate nav URL, if any, but because there