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 1e383504c0b26d41a9c388781d5774920cc9c8f3..6ee96f712eb2bd2b50f34435b0f242a960ee1919 100644 |
| --- a/content/browser/loader/resource_request_info_impl.h |
| +++ b/content/browser/loader/resource_request_info_impl.h |
| @@ -13,6 +13,7 @@ |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/supports_user_data.h" |
| +#include "content/common/resource_request_body.h" |
|
Łukasz Anforowicz
2016/05/10 00:49:37
It turns out that this violates DEPS, because of "
|
| #include "content/public/browser/resource_request_info.h" |
| #include "content/public/common/referrer.h" |
| #include "content/public/common/resource_type.h" |
| @@ -66,7 +67,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| bool report_raw_headers, |
| bool is_async, |
| bool is_using_lofi, |
| - const std::string& original_headers); |
| + const std::string& original_headers, |
| + const scoped_refptr<ResourceRequestBody> body); |
| ~ResourceRequestInfoImpl() override; |
| // ResourceRequestInfo implementation: |
| @@ -184,6 +186,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| } |
| const std::string& original_headers() const { return original_headers_; } |
| + const scoped_refptr<ResourceRequestBody>& body() { return body_; } |
| + |
| private: |
| FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, |
| DeletedFilterDetached); |
| @@ -225,6 +229,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
| bool is_async_; |
| bool is_using_lofi_; |
| const std::string original_headers_; |
| + scoped_refptr<ResourceRequestBody> body_; |
| DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
| }; |