Commit 80917c3e authored by David Maunder's avatar David Maunder Committed by Commit Bot

Make NumSuggestionsChanged metric consistent between

histograms.xml and the code in TabSuggestionsOrchestrator

Bug: 1043425
Change-Id: Ic3f65e303ffcdbe1a755bca664e976f9ca54117c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040675Reviewed-by: default avatarYusuf Ozuysal <yusufo@chromium.org>
Commit-Queue: David Maunder <davidjm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#739419}
parent 67200a9a
...@@ -176,7 +176,8 @@ public class TabSuggestionsOrchestrator implements TabSuggestions, Destroyable { ...@@ -176,7 +176,8 @@ public class TabSuggestionsOrchestrator implements TabSuggestions, Destroyable {
} }
int numChanged = tabSuggestionFeedback.tabSuggestion.getTabsInfo().size() int numChanged = tabSuggestionFeedback.tabSuggestion.getTabsInfo().size()
- numSelectFromSuggestion + numSelectOutsideSuggestion; - numSelectFromSuggestion + numSelectOutsideSuggestion;
// This was previously TabsSuggestions.Close.NumSuggestionsChanged
RecordHistogram.recordCount100Histogram( RecordHistogram.recordCount100Histogram(
"TabsSuggestions.Close.NumSuggestionsChanged", numChanged); "Tabs.Suggestions.Close.NumSuggestionsChanged", numChanged);
} }
} }
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