Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: Source/modules/fetch/Request.h

Issue 953123003: IDL: Put generated union type containers in separate files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
11 #include "modules/fetch/Body.h" 10 #include "modules/fetch/Body.h"
12 #include "modules/fetch/FetchRequestData.h" 11 #include "modules/fetch/FetchRequestData.h"
13 #include "modules/fetch/Headers.h" 12 #include "modules/fetch/Headers.h"
14 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
15 #include "platform/weborigin/KURL.h" 14 #include "platform/weborigin/KURL.h"
16 #include "public/platform/WebURLRequest.h" 15 #include "public/platform/WebURLRequest.h"
17 #include "wtf/RefPtr.h" 16 #include "wtf/RefPtr.h"
18 #include "wtf/text/WTFString.h" 17 #include "wtf/text/WTFString.h"
19 18
20 namespace blink { 19 namespace blink {
21 20
22 class BodyStreamBuffer; 21 class BodyStreamBuffer;
23 class RequestInit; 22 class RequestInit;
23 class RequestOrUSVString;
24 class WebServiceWorkerRequest; 24 class WebServiceWorkerRequest;
25 25
26 typedef RequestOrUSVString RequestInfo; 26 typedef RequestOrUSVString RequestInfo;
27 27
28 class Request final : public Body { 28 class Request final : public Body {
29 DEFINE_WRAPPERTYPEINFO(); 29 DEFINE_WRAPPERTYPEINFO();
30 public: 30 public:
31 ~Request() override { } 31 ~Request() override { }
32 32
33 // From Request.idl: 33 // From Request.idl:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 BodyStreamBuffer* buffer() const override; 75 BodyStreamBuffer* buffer() const override;
76 String contentTypeForBuffer() const override; 76 String contentTypeForBuffer() 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
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2DTest.cpp ('k') | Source/modules/fetch/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698