#ifndef COMPONENTS_OMNIBOX_BROWSER_ACTIONS_HISTORY_CLUSTERS_ACTION_H_
#define COMPONENTS_OMNIBOX_BROWSER_ACTIONS_HISTORY_CLUSTERS_ACTION_H_
#include "build/build_config.h"
#include "components/history/core/browser/history_types.h"
#include "components/omnibox/browser/actions/omnibox_action.h"
struct AutocompleteMatch;
class AutocompleteResult;
namespace gfx {
struct VectorIcon;
}
namespace history_clusters {
class HistoryClustersService;
enum class TopRelevanceFilter : int { … };
int TopRelevance(std::vector<AutocompleteMatch>::const_iterator matches_begin,
std::vector<AutocompleteMatch>::const_iterator matches_end,
TopRelevanceFilter filter);
bool IsNavigationIntent(int top_search_relevance,
int top_navigation_relevance,
int navigation_intent_score_threshold);
GURL GetFullJourneysUrlForQuery(const std::string& query);
class HistoryClustersAction : public OmniboxAction { … };
void AttachHistoryClustersActions(
history_clusters::HistoryClustersService* service,
AutocompleteResult& result);
}
#endif