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

Unified Diff: content/common/resource_request.h

Issue 2262183002: [NoStatePrefetch] Do not send responses to renderer in prefetch mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefetchProto
Patch Set: Fix uninitialized variable Created 4 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/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index 83263cc5c1ccd40cdbae11011e65143a32e1fd3d..337e07529ceb5c345cbb6a4b796df7122391778b 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -173,6 +173,10 @@ struct CONTENT_EXPORT ResourceRequest {
// Wether or not the initiator of this request is a secure context.
bool initiated_in_secure_context = false;
+
+ // Wether the request is in "prefetch-only" mode and is not intended to be
+ // rendered.
+ bool is_prefetch_only = false;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698