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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.cc

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 years, 3 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
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 dcfff81083080c48324aecc7190454f422b38768..101f6c83c326766364fe05c3efbe9e27a57a97ce 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -1742,13 +1742,13 @@ void ResourceDispatcherHost::OnResponseCompleted(net::URLRequest* request) {
// since it will probably cause the user to see an error page.
if (!request->status().is_success() &&
info->resource_type() == ResourceType::MAIN_FRAME &&
- request->status().os_error() != net::ERR_ABORTED) {
+ request->status().error() != net::ERR_ABORTED) {
// This enumeration has "2" appended to its name to distinguish it from
// its original version. We changed the buckets at one point (added
// guard buckets by using CustomHistogram::ArrayToCustomRanges).
UMA_HISTOGRAM_CUSTOM_ENUMERATION(
"Net.ErrorCodesForMainFrame2",
- -request->status().os_error(),
+ -request->status().error(),
base::CustomHistogram::ArrayToCustomRanges(
kAllNetErrorCodes, arraysize(kAllNetErrorCodes)));
}

Powered by Google App Engine
This is Rietveld 408576698