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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 16324002: Expose net::LoadTimingInfo through content_shell (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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 | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index e1371ac7de895a8ba26dc9aee15b8b1169352e4b..493275aab0ae6415e714166f599afec3df442b9e 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -497,10 +497,6 @@ void ChromeResourceDispatcherHostDelegate::OnResponseStarted(
content::ResourceContext* resource_context,
content::ResourceResponse* response,
IPC::Sender* sender) {
- // TODO(mmenke): Figure out if LOAD_ENABLE_LOAD_TIMING is safe to remove.
- if (request->load_flags() & net::LOAD_ENABLE_LOAD_TIMING)
- request->GetLoadTimingInfo(&response->head.load_timing);
-
const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request);
if (request->url().SchemeIsSecure()) {
@@ -558,10 +554,6 @@ void ChromeResourceDispatcherHostDelegate::OnRequestRedirected(
net::URLRequest* request,
content::ResourceContext* resource_context,
content::ResourceResponse* response) {
- // TODO(mmenke): Figure out if LOAD_ENABLE_LOAD_TIMING is safe to remove.
- if (request->load_flags() & net::LOAD_ENABLE_LOAD_TIMING)
- request->GetLoadTimingInfo(&response->head.load_timing);
-
ProfileIOData* io_data = ProfileIOData::FromResourceContext(resource_context);
#if defined(ENABLE_ONE_CLICK_SIGNIN)
« no previous file with comments | « no previous file | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698