Index: content/browser/loader/resource_request_info_impl.h |
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h |
index 30532bdcb082a3a75f0bfa8c4efdd127e391acc5..bf0c6b9ca56b5acec87df22b882c5316d9be3229 100644 |
--- a/content/browser/loader/resource_request_info_impl.h |
+++ b/content/browser/loader/resource_request_info_impl.h |
@@ -52,6 +52,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
ResourceType::Type resource_type, |
PageTransition transition_type, |
bool is_download, |
+ bool is_stream, |
bool allow_download, |
bool has_user_gesture, |
WebKit::WebReferrerPolicy referrer_policy, |
@@ -103,6 +104,10 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
bool is_download() const { return is_download_; } |
void set_is_download(bool download) { is_download_ = download; } |
+ // Whether this is a stream. |
+ bool is_stream() const { return is_stream_; } |
+ void set_is_stream(bool stream) { is_stream_ = stream; } |
+ |
void set_was_ignored_by_handler(bool value) { |
was_ignored_by_handler_ = value; |
} |
@@ -133,6 +138,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
bool parent_is_main_frame_; |
int64 parent_frame_id_; |
bool is_download_; |
+ bool is_stream_; |
bool allow_download_; |
bool has_user_gesture_; |
bool was_ignored_by_handler_; |