Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
|
tapted
2014/10/03 02:59:17
nit: no (c)
Jun Mukai
2014/10/03 20:23:36
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/app_list/search/search_util.h" | |
| 6 | |
| 7 #include "base/metrics/histogram.h" | |
| 8 | |
| 9 namespace { | |
| 10 const char kAppListSearchResultOpenTypeHistogram[] = | |
| 11 "Apps.AppListSearchResultOpenType"; | |
| 12 } | |
| 13 | |
| 14 namespace app_list { | |
| 15 | |
| 16 void RecordHistogram(SearchResultType type) { | |
| 17 UMA_HISTOGRAM_ENUMERATION(kAppListSearchResultOpenTypeHistogram, | |
| 18 type, | |
| 19 SEARCH_RESULT_TYPE_BOUNDARY); | |
| 20 } | |
| 21 | |
| 22 } // namespace app_list | |
| OLD | NEW |