Index: components/omnibox/browser/history_url_provider.h |
diff --git a/components/omnibox/browser/history_url_provider.h b/components/omnibox/browser/history_url_provider.h |
index cf6a3b6bf342c61a74496169aec023f1db4bd488..d7d67e85e887f40c4c780e2b937ea3e736d68e2d 100644 |
--- a/components/omnibox/browser/history_url_provider.h |
+++ b/components/omnibox/browser/history_url_provider.h |
@@ -333,6 +333,15 @@ class HistoryURLProvider : public HistoryProvider { |
// keep this member is so we can set the cancel bit on it. |
HistoryURLProviderParams* params_; |
+ // Whether to query the history URL database to match. Even if false, we |
+ // still use the URL database to decide if the URL-what-you-typed was visited |
+ // before or not. If false, the only possible result that HistoryURL provider |
+ // can return is URL-what-you-typed. This variable is not part of params_ |
+ // because it never changes after the HistoryURLProvider is initialized. |
+ // It's used to aid the possible transition to get all URLs from history to |
+ // be scored in the HistoryQuick provider only. |
+ bool search_url_database_; |
+ |
// Params controlling experimental behavior of this provider. |
HUPScoringParams scoring_params_; |