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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

Issue 451623002: Getting rid of net::LOAD_ENABLE_LOAD_TIMING (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content/browser/loader/resource_scheduler_unittest.cc. Created 6 years, 4 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/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index 0e5778aa170b449712c3a3ae1b40f404f425370d..16a64bb4194d5f0ef7c58258c6e94321804015be 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -48,6 +48,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
false, // is_stream
true, // allow_download
false, // has_user_gesture
+ false, // enable load timing
blink::WebReferrerPolicyDefault, // referrer_policy
blink::WebPageVisibilityStateVisible, // visibility_state
context, // context
@@ -102,6 +103,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
bool is_stream,
bool allow_download,
bool has_user_gesture,
+ bool enable_load_timing,
blink::WebReferrerPolicy referrer_policy,
blink::WebPageVisibilityState visibility_state,
ResourceContext* context,
@@ -123,6 +125,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
is_stream_(is_stream),
allow_download_(allow_download),
has_user_gesture_(has_user_gesture),
+ enable_load_timing_(enable_load_timing),
was_ignored_by_handler_(false),
resource_type_(resource_type),
transition_type_(transition_type),
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/resource_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698