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/omnibox/browser/autocomplete_input.h" | 5 #include "components/omnibox/browser/autocomplete_input.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/string_split.h" | 8 #include "base/strings/string_split.h" |
8 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
10 #include "components/metrics/proto/omnibox_event.pb.h" | 11 #include "components/metrics/proto/omnibox_event.pb.h" |
11 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" | 12 #include "components/omnibox/browser/autocomplete_scheme_classifier.h" |
12 #include "components/omnibox/browser/omnibox_field_trial.h" | 13 #include "components/omnibox/browser/omnibox_field_trial.h" |
13 #include "components/url_formatter/url_fixer.h" | 14 #include "components/url_formatter/url_fixer.h" |
14 #include "components/url_formatter/url_formatter.h" | 15 #include "components/url_formatter/url_formatter.h" |
15 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
16 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 17 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 parts_ = url::Parsed(); | 566 parts_ = url::Parsed(); |
566 scheme_.clear(); | 567 scheme_.clear(); |
567 canonicalized_url_ = GURL(); | 568 canonicalized_url_ = GURL(); |
568 prevent_inline_autocomplete_ = false; | 569 prevent_inline_autocomplete_ = false; |
569 prefer_keyword_ = false; | 570 prefer_keyword_ = false; |
570 allow_exact_keyword_match_ = false; | 571 allow_exact_keyword_match_ = false; |
571 want_asynchronous_matches_ = true; | 572 want_asynchronous_matches_ = true; |
572 from_omnibox_focus_ = false; | 573 from_omnibox_focus_ = false; |
573 terms_prefixed_by_http_or_https_.clear(); | 574 terms_prefixed_by_http_or_https_.clear(); |
574 } | 575 } |
OLD | NEW |