Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: components/error_page/renderer/net_error_helper_core.cc

Issue 1560683002: Fix Link Doctor UMA histogram name typo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/renderer/net_error_helper_core.cc
diff --git a/components/error_page/renderer/net_error_helper_core.cc b/components/error_page/renderer/net_error_helper_core.cc
index 56381ff87fd12bdc79aceb85529142804ceba7fa..847ff0d22ddeb258bc2755f9fc17f0e0720e3150 100644
--- a/components/error_page/renderer/net_error_helper_core.cc
+++ b/components/error_page/renderer/net_error_helper_core.cc
@@ -283,7 +283,7 @@ scoped_ptr<NavigationCorrectionResponse> ParseNavigationCorrectionResponse(
void LogCorrectionTypeShown(int type_id) {
UMA_HISTOGRAM_ENUMERATION(
- "Net.ErrorpageCounts.NavigationCorrectionLinksShown", type_id,
+ "Net.ErrorPageCounts.NavigationCorrectionLinksShown", type_id,
kWebSearchQueryUMAId + 1);
}
@@ -390,7 +390,7 @@ void TrackClickUMA(std::string type_id) {
// Web search suggestion isn't in |kCorrectionResourceTable| array.
if (type_id == "webSearchQuery") {
UMA_HISTOGRAM_ENUMERATION(
- "Net.ErrorpageCounts.NavigationCorrectionLinksUsed",
+ "Net.ErrorPageCounts.NavigationCorrectionLinksUsed",
kWebSearchQueryUMAId, kWebSearchQueryUMAId + 1);
return;
}
@@ -402,7 +402,7 @@ void TrackClickUMA(std::string type_id) {
if (kCorrectionResourceTable[correction_index].correction_type ==
type_id) {
UMA_HISTOGRAM_ENUMERATION(
- "Net.ErrorpageCounts.NavigationCorrectionLinksUsed",
+ "Net.ErrorPageCounts.NavigationCorrectionLinksUsed",
static_cast<int>(correction_index), kWebSearchQueryUMAId + 1);
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698