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

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

Issue 470523002: Componentize AutocompleteResult (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « components/omnibox/BUILD.gn ('k') | components/omnibox/autocomplete_result.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/omnibox/BUILD.gn ('k') | components/omnibox/autocomplete_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698