Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: components/omnibox/autocomplete_input.h

Issue 1152373003: url: Fix the TODO in url_parse.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_ 5 #ifndef COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_
6 #define COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_ 6 #define COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/metrics/proto/omnibox_event.pb.h" 13 #include "components/metrics/proto/omnibox_event.pb.h"
14 #include "components/metrics/proto/omnibox_input_type.pb.h" 14 #include "components/metrics/proto/omnibox_input_type.pb.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 #include "url/url_parse.h" 16 #include "url/third_party/mozilla/url_parse.h"
17 17
18 class AutocompleteSchemeClassifier; 18 class AutocompleteSchemeClassifier;
19 19
20 // The user input for an autocomplete query. Allows copying. 20 // The user input for an autocomplete query. Allows copying.
21 class AutocompleteInput { 21 class AutocompleteInput {
22 public: 22 public:
23 AutocompleteInput(); 23 AutocompleteInput();
24 // |text| and |cursor_position| represent the input query and location of 24 // |text| and |cursor_position| represent the input query and location of
25 // the cursor with the query respectively. |cursor_position| may be set to 25 // the cursor with the query respectively. |cursor_position| may be set to
26 // base::string16::npos if the input |text| doesn't come directly from the 26 // base::string16::npos if the input |text| doesn't come directly from the
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 url::Parsed parts_; 200 url::Parsed parts_;
201 base::string16 scheme_; 201 base::string16 scheme_;
202 GURL canonicalized_url_; 202 GURL canonicalized_url_;
203 bool prevent_inline_autocomplete_; 203 bool prevent_inline_autocomplete_;
204 bool prefer_keyword_; 204 bool prefer_keyword_;
205 bool allow_exact_keyword_match_; 205 bool allow_exact_keyword_match_;
206 bool want_asynchronous_matches_; 206 bool want_asynchronous_matches_;
207 }; 207 };
208 208
209 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_ 209 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/test/perf/url_parse_perftest.cc ('k') | components/omnibox/autocomplete_input_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698