| Index: ui/app_list/search_controller.cc
|
| diff --git a/ui/app_list/search_controller.cc b/ui/app_list/search_controller.cc
|
| index 9894492aac597c89ea6fd4126a51b65708a93156..9fe2cbf3ca733c0ca9cc5884821554978dce627c 100644
|
| --- a/ui/app_list/search_controller.cc
|
| +++ b/ui/app_list/search_controller.cc
|
| @@ -84,6 +84,11 @@ void SearchController::OpenResult(SearchResult* result, int event_flags) {
|
|
|
| UMA_HISTOGRAM_COUNTS_100(kSearchQueryLength, search_box_->text().size());
|
|
|
| + if (result->distance_from_origin() >= 0) {
|
| + UMA_HISTOGRAM_COUNTS_100(kSearchResultDistanceFromOrigin,
|
| + result->distance_from_origin());
|
| + }
|
| +
|
| result->Open(event_flags);
|
|
|
| if (history_ && history_->IsReady()) {
|
|
|