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

Unified Diff: chrome/common/instant_types.h

Issue 15517007: Change InstantAutocompleteResult::Type to be AutocompleteMatchType::Type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comment. Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index 7e08d72947facaa0632b01fac0a17e44950f3659..1df381cf8610cc17f82f163a6de8bc0cd44e30b2 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -9,6 +9,7 @@
#include <utility>
#include "base/string16.h"
+#include "chrome/common/autocomplete_match_type.h"
#include "content/public/common/page_transition_types.h"
#include "googleurl/src/gurl.h"
@@ -82,8 +83,8 @@ struct InstantAutocompleteResult {
// The provider name, as returned by AutocompleteProvider::GetName().
string16 provider;
- // The type of the result, as returned by AutocompleteMatch::TypeToString().
- string16 type;
+ // The type of the result.
+ AutocompleteMatchType::Type type;
// The description (title), same as AutocompleteMatch::description.
string16 description;
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698