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

Unified Diff: net/base/sdch_manager.cc

Issue 1137753006: sdch: add Sdch3.AdvertisedWithSecureScheme histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more detail for histogram Created 5 years, 7 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 | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_manager.cc
diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
index c43c8b08c955afa6c441ce5ffbf89408e074abd0..2e474a9a78cfa8db3a0e8ac71682232287427aec 100644
--- a/net/base/sdch_manager.cc
+++ b/net/base/sdch_manager.cc
@@ -282,6 +282,8 @@ SdchManager::GetDictionarySet(const GURL& target_url) {
return NULL;
UMA_HISTOGRAM_COUNTS("Sdch3.Advertisement_Count", count);
+ UMA_HISTOGRAM_BOOLEAN("Sdch3.AdvertisedWithSecureScheme",
+ target_url.SchemeIsSecure());
return result.Pass();
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698