| Index: ui/app_list/search_result.h
|
| diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
|
| index 1eb49a78ad02f14a2436c3bd0bf5da244caaed8f..c88751dccd11d9981e7cc67b5841a1c54e8594bd 100644
|
| --- a/ui/app_list/search_result.h
|
| +++ b/ui/app_list/search_result.h
|
| @@ -113,6 +113,12 @@ class APP_LIST_EXPORT SearchResult {
|
| const Tags& details_tags() const { return details_tags_; }
|
| void set_details_tags(const Tags& tags) { details_tags_ = tags; }
|
|
|
| + float rating() const { return rating_; }
|
| + void SetRating(float rating);
|
| +
|
| + const base::string16& formatted_price() const { return formatted_price_; }
|
| + void SetFormattedPrice(const base::string16& formatted_price);
|
| +
|
| views::View* view() const { return view_; }
|
| void set_view(views::View* view) { view_ = view; }
|
|
|
| @@ -198,6 +204,12 @@ class APP_LIST_EXPORT SearchResult {
|
| base::string16 details_;
|
| Tags details_tags_;
|
|
|
| + // Amount of the app's stars in play store. Not exist if set to negative.
|
| + float rating_ = -1.0f;
|
| +
|
| + // Formatted price label of the app in play store. Not exist if set to empty.
|
| + base::string16 formatted_price_;
|
| +
|
| // Unowned pointer to a view containing a rendered result, or nullptr if there
|
| // is no such view for the result.
|
| // The view has set_owned_by_client() property set. It's a responsibility of
|
|
|