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

Unified Diff: net/http/http_server_properties.cc

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties.cc
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index 601646a35c05c12c33c96232cff4f95460859463..a9cbd7230e5eea4f24daf499cd2dd9a924a087aa 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -31,20 +31,9 @@ COMPILE_ASSERT(
} // namespace
-void HistogramAlternateProtocolUsage(
- AlternateProtocolUsage usage,
- AlternateProtocolExperiment alternate_protocol_experiment) {
+void HistogramAlternateProtocolUsage(AlternateProtocolUsage usage) {
UMA_HISTOGRAM_ENUMERATION("Net.AlternateProtocolUsage", usage,
ALTERNATE_PROTOCOL_USAGE_MAX);
- if (alternate_protocol_experiment ==
- ALTERNATE_PROTOCOL_TRUNCATED_200_SERVERS) {
- UMA_HISTOGRAM_ENUMERATION("Net.AlternateProtocolUsage.200Truncated", usage,
- ALTERNATE_PROTOCOL_USAGE_MAX);
- } else if (alternate_protocol_experiment ==
- ALTERNATE_PROTOCOL_TRUNCATED_1000_SERVERS) {
- UMA_HISTOGRAM_ENUMERATION("Net.AlternateProtocolUsage.1000Truncated", usage,
- ALTERNATE_PROTOCOL_USAGE_MAX);
- }
}
void HistogramBrokenAlternateProtocolLocation(
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698