| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/autocomplete/autocomplete_input.h" | 5 #include "components/omnibox/autocomplete_input.h" |
| 6 | 6 |
| 7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "components/autocomplete/autocomplete_scheme_classifier.h" | |
| 10 #include "components/metrics/proto/omnibox_event.pb.h" | 9 #include "components/metrics/proto/omnibox_event.pb.h" |
| 10 #include "components/omnibox/autocomplete_scheme_classifier.h" |
| 11 #include "components/url_fixer/url_fixer.h" | 11 #include "components/url_fixer/url_fixer.h" |
| 12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
| 13 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 13 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| 14 #include "url/url_canon_ip.h" | 14 #include "url/url_canon_ip.h" |
| 15 #include "url/url_util.h" | 15 #include "url/url_util.h" |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| 19 // Hardcode constant to avoid any dependencies on content/. | 19 // Hardcode constant to avoid any dependencies on content/. |
| 20 const char kViewSourceScheme[] = "view-source"; | 20 const char kViewSourceScheme[] = "view-source"; |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 current_page_classification_ = metrics::OmniboxEventProto::INVALID_SPEC; | 513 current_page_classification_ = metrics::OmniboxEventProto::INVALID_SPEC; |
| 514 type_ = metrics::OmniboxInputType::INVALID; | 514 type_ = metrics::OmniboxInputType::INVALID; |
| 515 parts_ = url::Parsed(); | 515 parts_ = url::Parsed(); |
| 516 scheme_.clear(); | 516 scheme_.clear(); |
| 517 canonicalized_url_ = GURL(); | 517 canonicalized_url_ = GURL(); |
| 518 prevent_inline_autocomplete_ = false; | 518 prevent_inline_autocomplete_ = false; |
| 519 prefer_keyword_ = false; | 519 prefer_keyword_ = false; |
| 520 allow_exact_keyword_match_ = false; | 520 allow_exact_keyword_match_ = false; |
| 521 want_asynchronous_matches_ = true; | 521 want_asynchronous_matches_ = true; |
| 522 } | 522 } |
| OLD | NEW |