summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/extension_app_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/extension_app_provider.cc')
-rw-r--r--chrome/browser/autocomplete/extension_app_provider.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/extension_app_provider.cc b/chrome/browser/autocomplete/extension_app_provider.cc
index 0a68e8c..8fef3a5 100644
--- a/chrome/browser/autocomplete/extension_app_provider.cc
+++ b/chrome/browser/autocomplete/extension_app_provider.cc
@@ -56,7 +56,11 @@ void ExtensionAppProvider::Start(const AutocompleteInput& input,
// We have a match, might be a partial match.
// TODO(finnur): Figure out what type to return here, might want to have
// the extension icon/a generic icon show up in the Omnibox.
- AutocompleteMatch match(this, 0, false,
+ // TODO(dominich): Confidence would require us to create a match set and
+ // then iterate over to create the AutocompleteMatch objects. Currently
+ // confidence is used for instant/prerender/DNS preconnect and we may
+ // not want to do those for extension apps anyway.
+ AutocompleteMatch match(this, 0, 0.0f, false,
AutocompleteMatch::EXTENSION_APP);
match.fill_into_edit = url;
match.destination_url = GURL(url);