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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 935963002: Use int64 time stamp when storing metadata to the HTTP cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test case Created 5 years, 10 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 | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 3274fb49d9e6324f9a215761b9145cac1950be93..690bfe9d75baec9c301b74a63017375097bcdfe6 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -968,6 +968,9 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url,
WebURLResponse* response) {
response->setURL(url);
response->setResponseTime(info.response_time.ToDoubleT());
+ // FIXME: remove static cast once setResponseTime is no longer overloaded.
+ response->setResponseTime(
+ static_cast<long long>(info.response_time.ToInternalValue()));
response->setMIMEType(WebString::fromUTF8(info.mime_type));
response->setTextEncodingName(WebString::fromUTF8(info.charset));
response->setExpectedContentLength(info.content_length);
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698