Index: content/browser/renderer_host/resource_dispatcher_host.cc |
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc |
index 46d2cc2abd3442ae08c956f9d31d8608da39f35c..6a2d6a4bf1cf60f2421821b25edacb9a911c6837 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host.cc |
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc |
@@ -1777,6 +1777,15 @@ void ResourceDispatcherHost::OnResponseCompleted(net::URLRequest* request) { |
-request->status().error(), |
base::CustomHistogram::ArrayToCustomRanges( |
kAllNetErrorCodes, arraysize(kAllNetErrorCodes))); |
+ |
+ if (request->url().SchemeIsSecure() && |
+ request->url().host() == "www.google.com") { |
+ UMA_HISTOGRAM_CUSTOM_ENUMERATION( |
+ "Net.ErrorCodesForHTTPSGoogleMainFrame", |
+ -request->status().error(), |
+ base::CustomHistogram::ArrayToCustomRanges( |
+ kAllNetErrorCodes, arraysize(kAllNetErrorCodes))); |
+ } |
} |
std::string security_info; |