Index: ui/app_list/search_result.h |
diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h |
index 5f8e371c065bf46507b0e4aaf6f09df188ddbaad..aa3a6b11c9d387877110094a2ce595a3271c84e8 100644 |
--- a/ui/app_list/search_result.h |
+++ b/ui/app_list/search_result.h |
@@ -98,7 +98,9 @@ class APP_LIST_EXPORT SearchResult { |
void set_details_tags(const Tags& tags) { details_tags_ = tags; } |
const std::string& id() const { return id_; } |
+ |
double relevance() const { return relevance_; } |
+ void set_relevance(double relevance) { relevance_ = relevance; } |
DisplayType display_type() const { return display_type_; } |
void set_display_type(DisplayType display_type) { |
@@ -146,7 +148,6 @@ class APP_LIST_EXPORT SearchResult { |
protected: |
void set_id(const std::string& id) { id_ = id; } |
- void set_relevance(double relevance) { relevance_ = relevance; } |
void set_voice_result(bool voice_result) { voice_result_ = voice_result; } |
private: |