Commit 7b178e6d authored by Tomasz Wiszkowski's avatar Tomasz Wiszkowski Committed by Commit Bot

Fix typo in metric name.

This change fixes a typo in recorded histogram name.
- Android.Omnibox.Suggestion[s]View.CreateTime

The metric has been introduced just few days ago so we dont care
about losing data yet.

Change-Id: I1ec41fd76ca0015fbc07b0df5e1676251a6ae297
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2052595Reviewed-by: default avatarBrandon Wylie <wylieb@chromium.org>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Ender <ender@google.com>
Cr-Commit-Position: refs/heads/master@{#741087}
parent f9dab035
...@@ -75,7 +75,7 @@ class SuggestionsMetrics { ...@@ -75,7 +75,7 @@ class SuggestionsMetrics {
static final void recordSuggestionViewCreateTime(long startTimeNs, long endTimeNs) { static final void recordSuggestionViewCreateTime(long startTimeNs, long endTimeNs) {
final long duration = getDurationInHundredsOfMicroseconds(startTimeNs, endTimeNs); final long duration = getDurationInHundredsOfMicroseconds(startTimeNs, endTimeNs);
if (duration < 0) return; if (duration < 0) return;
RecordHistogram.recordCustomTimesHistogram("Android.Omnibox.SuggestionsView.CreateTime", RecordHistogram.recordCustomTimesHistogram("Android.Omnibox.SuggestionView.CreateTime",
duration, MIN_HISTOGRAM_DURATION_US, MAX_HISTOGRAM_DURATION_US, duration, MIN_HISTOGRAM_DURATION_US, MAX_HISTOGRAM_DURATION_US,
NUM_DURATION_BUCKETS); NUM_DURATION_BUCKETS);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment