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 CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
7 #pragma once | |
8 | 7 |
9 #include <stddef.h> | 8 #include <stddef.h> |
10 | 9 |
11 #include <map> | 10 #include <map> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "chrome/browser/autocomplete/autocomplete_match.h" | 13 #include "chrome/browser/autocomplete/autocomplete_match.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 | 15 |
17 class AutocompleteInput; | 16 class AutocompleteInput; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // user's local intranet contains site "foo", and the user types "foo", we | 151 // user's local intranet contains site "foo", and the user types "foo", we |
153 // default to searching for "foo" when the user may have meant to navigate | 152 // default to searching for "foo" when the user may have meant to navigate |
154 // there. In cases like this, the default match will point to the "search for | 153 // there. In cases like this, the default match will point to the "search for |
155 // 'foo'" result, and this will contain "http://foo/". | 154 // 'foo'" result, and this will contain "http://foo/". |
156 GURL alternate_nav_url_; | 155 GURL alternate_nav_url_; |
157 | 156 |
158 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); | 157 DISALLOW_COPY_AND_ASSIGN(AutocompleteResult); |
159 }; | 158 }; |
160 | 159 |
161 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ | 160 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_H_ |
OLD | NEW |