Chromium Code Reviews| Index: third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h |
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h |
| index a3e1fdf2fda4c53efb4a232bb5522623063e0e2f..057ad46b9fb7eeeb10dc2fa5e3d1022feb351423 100644 |
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h |
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h |
| @@ -318,6 +318,11 @@ class PLATFORM_EXPORT ResourceRequest final { |
| } |
| bool IsSameDocumentNavigation() const { return is_same_document_navigation_; } |
| + void SetIsMojoIPCForced(bool is_mojo_ipc_forced) { |
| + is_mojo_ipc_forced_ = is_mojo_ipc_forced; |
|
kinuko
2017/05/12 08:41:45
nit: maybe call this method OverrideIPCType() and
horo
2017/05/12 09:06:02
Done.
|
| + } |
| + bool IsMojoIPCForced() const { return is_mojo_ipc_forced_; } |
| + |
| private: |
| const CacheControlHeader& GetCacheControlHeader() const; |
| @@ -368,6 +373,8 @@ class PLATFORM_EXPORT ResourceRequest final { |
| RedirectStatus redirect_status_; |
| double navigation_start_ = 0; |
| + |
| + bool is_mojo_ipc_forced_ = false; |
| }; |
| struct CrossThreadResourceRequestData { |