Chromium Code Reviews| 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 6947315aa4c436bd5229336d669cef4b125e25e7..807f3658e1ab90d49c5568457f1fe3f996f5ed3f 100644 |
| --- a/content/browser/loader/resource_request_info_impl.h |
| +++ b/content/browser/loader/resource_request_info_impl.h |
| @@ -51,6 +51,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| PageTransition transition_type, |
| bool is_download, |
| bool is_stream, |
| + bool is_detachable, |
| bool allow_download, |
| bool has_user_gesture, |
| WebKit::WebReferrerPolicy referrer_policy, |
| @@ -123,6 +124,11 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| bool is_stream() const { return is_stream_; } |
| void set_is_stream(bool stream) { is_stream_ = stream; } |
| + // Whether this is a detachable resource. Detachable resource requests can |
| + // live beyond the life of the renderer. |
|
asanka
2013/10/14 21:06:49
Nit: In practice this flag means the request is al
|
| + bool is_detachable() const { return is_detachable_; } |
| + void set_is_detachable(bool is_detachable) { is_detachable_ = is_detachable; } |
| + |
| void set_was_ignored_by_handler(bool value) { |
| was_ignored_by_handler_ = value; |
| } |
| @@ -147,6 +153,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| int64 parent_frame_id_; |
| bool is_download_; |
| bool is_stream_; |
| + bool is_detachable_; |
| bool allow_download_; |
| bool has_user_gesture_; |
| bool was_ignored_by_handler_; |