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

Unified Diff: chrome/browser/autocomplete/autocomplete_match.h

Issue 165163002: Handle Search suggest subtypes for Shortcuts DB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Submit candidate Created 6 years, 9 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
Index: chrome/browser/autocomplete/autocomplete_match.h
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h
index 07a73872175d6ed072ed01bc8e16542dea58d888..004b218ec47c8afc97d6fa3a0270f320c1e397ee 100644
--- a/chrome/browser/autocomplete/autocomplete_match.h
+++ b/chrome/browser/autocomplete/autocomplete_match.h
@@ -162,6 +162,10 @@ struct AutocompleteMatch {
// an extension).
static bool IsSearchType(Type type);
+ // Convenience function to check if |type| is a special search suggest type -
+ // like entity, personalized, profile or postfix.
+ static bool IsSpecializedSearchType(Type type);
+
// Copies the destination_url with "www." stripped off to
// |stripped_destination_url| and also converts https protocol to
// http. These two conversions are merely to allow comparisons to
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_match.cc » ('j') | chrome/browser/autocomplete/shortcuts_backend.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698