diff options
Diffstat (limited to 'chrome/renderer/net')
-rw-r--r-- | chrome/renderer/net/net_error_helper.cc | 2 | ||||
-rw-r--r-- | chrome/renderer/net/net_error_helper_core.cc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/net/net_error_helper.cc b/chrome/renderer/net/net_error_helper.cc index af615f7..7a011b1 100644 --- a/chrome/renderer/net/net_error_helper.cc +++ b/chrome/renderer/net/net_error_helper.cc @@ -126,6 +126,7 @@ void NetErrorHelper::GenerateLocalizedErrorPage(const blink::WebURLError& error, base::DictionaryValue error_strings; LocalizedError::GetStrings(error.reason, error.domain.utf8(), error.unreachableURL, is_failed_post, + error.staleCopyInCache, RenderThread::Get()->GetLocale(), render_frame()->GetRenderView()-> GetAcceptLanguages(), @@ -151,6 +152,7 @@ void NetErrorHelper::UpdateErrorPage(const blink::WebURLError& error, error.domain.utf8(), error.unreachableURL, is_failed_post, + error.staleCopyInCache, RenderThread::Get()->GetLocale(), render_frame()->GetRenderView()-> GetAcceptLanguages(), diff --git a/chrome/renderer/net/net_error_helper_core.cc b/chrome/renderer/net/net_error_helper_core.cc index 55cb771..2501ec18 100644 --- a/chrome/renderer/net/net_error_helper_core.cc +++ b/chrome/renderer/net/net_error_helper_core.cc @@ -313,6 +313,7 @@ blink::WebURLError NetErrorHelperCore::GetUpdatedError( chrome_common_net::kDnsProbeErrorDomain); updated_error.reason = last_probe_status_; updated_error.unreachableURL = error.unreachableURL; + updated_error.staleCopyInCache = error.staleCopyInCache; return updated_error; } |