| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef Request_h | 5 #ifndef Request_h |
| 6 #define Request_h | 6 #define Request_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "bindings/modules/v8/RequestOrUSVString.h" | 10 #include "bindings/modules/v8/RequestOrUSVString.h" |
| 11 #include "modules/ModulesExport.h" | 11 #include "modules/ModulesExport.h" |
| 12 #include "modules/fetch/Body.h" | 12 #include "modules/fetch/Body.h" |
| 13 #include "modules/fetch/FetchRequestData.h" | 13 #include "modules/fetch/FetchRequestData.h" |
| 14 #include "modules/fetch/Headers.h" | 14 #include "modules/fetch/Headers.h" |
| 15 #include "platform/heap/Handle.h" | 15 #include "platform/heap/Handle.h" |
| 16 #include "platform/network/EncodedFormData.h" | 16 #include "platform/network/EncodedFormData.h" |
| 17 #include "platform/weborigin/KURL.h" | 17 #include "platform/weborigin/KURL.h" |
| 18 #include "platform/wtf/text/WTFString.h" |
| 18 #include "public/platform/WebURLRequest.h" | 19 #include "public/platform/WebURLRequest.h" |
| 19 #include "wtf/text/WTFString.h" | |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 | 22 |
| 23 class BodyStreamBuffer; | 23 class BodyStreamBuffer; |
| 24 class EncodedFormData; | 24 class EncodedFormData; |
| 25 class RequestInit; | 25 class RequestInit; |
| 26 class WebServiceWorkerRequest; | 26 class WebServiceWorkerRequest; |
| 27 | 27 |
| 28 using RequestInfo = RequestOrUSVString; | 28 using RequestInfo = RequestOrUSVString; |
| 29 | 29 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 String MimeType() const override; | 96 String MimeType() const override; |
| 97 void RefreshBody(ScriptState*); | 97 void RefreshBody(ScriptState*); |
| 98 | 98 |
| 99 const Member<FetchRequestData> request_; | 99 const Member<FetchRequestData> request_; |
| 100 const Member<Headers> headers_; | 100 const Member<Headers> headers_; |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif // Request_h | 105 #endif // Request_h |
| OLD | NEW |