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

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

Issue 25772002: Allows prefetch requests to live beyond the renderer by delaying (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created a detached state. Data is sent to renderer until detached. Fixed up tests. Created 7 years, 2 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_scheduler_unittest.cc
diff --git a/content/browser/loader/resource_scheduler_unittest.cc b/content/browser/loader/resource_scheduler_unittest.cc
index 6a0bd289a1fe17a84bd5173c5dcaf0c52c1de85e..3c1e4b84c80aa76faf0404fc084adf364254431f 100644
--- a/content/browser/loader/resource_scheduler_unittest.cc
+++ b/content/browser/loader/resource_scheduler_unittest.cc
@@ -155,6 +155,7 @@ class ResourceSchedulerTest : public testing::Test {
PAGE_TRANSITION_LINK, // transition_type
false, // is_download
false, // is_stream
+ false, // is_detachable
true, // allow_download
false, // has_user_gesture
WebKit::WebReferrerPolicyDefault, // referrer_policy

Powered by Google App Engine
This is Rietveld 408576698