| 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/UnionTypesModules.h" | 10 #include "bindings/modules/v8/UnionTypesModules.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 static Request* create(ScriptState*, const String&, ExceptionState&); | 37 static Request* create(ScriptState*, const String&, ExceptionState&); |
| 38 static Request* create(ScriptState*, const String&, const Dictionary&, Excep
tionState&); | 38 static Request* create(ScriptState*, const String&, const Dictionary&, Excep
tionState&); |
| 39 static Request* create(ScriptState*, Request*, ExceptionState&); | 39 static Request* create(ScriptState*, Request*, ExceptionState&); |
| 40 static Request* create(ScriptState*, Request*, const Dictionary&, ExceptionS
tate&); | 40 static Request* create(ScriptState*, Request*, const Dictionary&, ExceptionS
tate&); |
| 41 static Request* create(ExecutionContext*, FetchRequestData*); | 41 static Request* create(ExecutionContext*, FetchRequestData*); |
| 42 static Request* create(ExecutionContext*, const WebServiceWorkerRequest&); | 42 static Request* create(ExecutionContext*, const WebServiceWorkerRequest&); |
| 43 | 43 |
| 44 // From Request.idl: | 44 // From Request.idl: |
| 45 String method() const; | 45 String method() const; |
| 46 KURL url() const; | 46 KURL url() const; |
| 47 Headers* headers() const { return m_headers; } | 47 Headers* getHeaders() const { return m_headers; } |
| 48 String context() const; | 48 String context() const; |
| 49 String referrer() const; | 49 String referrer() const; |
| 50 String mode() const; | 50 String mode() const; |
| 51 String credentials() const; | 51 String credentials() const; |
| 52 String redirect() const; | 52 String redirect() const; |
| 53 String integrity() const; | 53 String integrity() const; |
| 54 | 54 |
| 55 // From Request.idl: | 55 // From Request.idl: |
| 56 Request* clone(ExceptionState&); | 56 Request* clone(ExceptionState&); |
| 57 | 57 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 75 | 75 |
| 76 String mimeType() const override; | 76 String mimeType() const override; |
| 77 | 77 |
| 78 const Member<FetchRequestData> m_request; | 78 const Member<FetchRequestData> m_request; |
| 79 const Member<Headers> m_headers; | 79 const Member<Headers> m_headers; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif // Request_h | 84 #endif // Request_h |
| OLD | NEW |