OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 5 #ifndef COMPONENTS_OMNIBOX_AUTOCOMPLETE_RESULT_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 6 #define COMPONENTS_OMNIBOX_AUTOCOMPLETE_RESULT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "components/metrics/proto/omnibox_event.pb.h" | 13 #include "components/metrics/proto/omnibox_event.pb.h" |
14 #include "components/omnibox/autocomplete_match.h" | 14 #include "components/omnibox/autocomplete_match.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // URL of the default match but intended something else. For example, if the | 195 // URL of the default match but intended something else. For example, if the |
196 // user's local intranet contains site "foo", and the user types "foo", we | 196 // user's local intranet contains site "foo", and the user types "foo", we |
197 // default to searching for "foo" when the user may have meant to navigate | 197 // default to searching for "foo" when the user may have meant to navigate |
198 // there. In cases like this, the default match will point to the "search for | 198 // there. In cases like this, the default match will point to the "search for |
199 // 'foo'" result, and this will contain "http://foo/". | 199 // 'foo'" result, and this will contain "http://foo/". |
200 GURL alternate_nav_url_; | 200 GURL alternate_nav_url_; |
201 | 201 |
202 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); | 202 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); |
203 }; | 203 }; |
204 | 204 |
205 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 205 #endif // COMPONENTS_OMNIBOX_AUTOCOMPLETE_RESULT_H_ |
OLD | NEW |