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

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

Issue 2526293002: [wrapper-tracing] Untangle non-trivial mixin ctors (Closed)
Patch Set: Revet BodyStreamBufffer changes Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Request.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/RequestOrUSVString.h" 10 #include "bindings/modules/v8/RequestOrUSVString.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 PassRefPtr<EncodedFormData> attachedCredential() const { 79 PassRefPtr<EncodedFormData> attachedCredential() const {
80 return m_request->attachedCredential(); 80 return m_request->attachedCredential();
81 } 81 }
82 82
83 DECLARE_VIRTUAL_TRACE(); 83 DECLARE_VIRTUAL_TRACE();
84 84
85 private: 85 private:
86 Request(ScriptState*, FetchRequestData*, Headers*); 86 Request(ScriptState*, FetchRequestData*, Headers*);
87 Request(ScriptState*, FetchRequestData*); 87 Request(ScriptState*, FetchRequestData*);
88 Request(ScriptState*, const WebServiceWorkerRequest&);
89 88
90 const FetchRequestData* request() const { return m_request; } 89 const FetchRequestData* request() const { return m_request; }
91 static Request* createRequestWithRequestOrString(ScriptState*, 90 static Request* createRequestWithRequestOrString(ScriptState*,
92 Request*, 91 Request*,
93 const String&, 92 const String&,
94 RequestInit&, 93 RequestInit&,
95 ExceptionState&); 94 ExceptionState&);
96 95
97 String mimeType() const override; 96 String mimeType() const override;
98 void refreshBody(ScriptState*); 97 void refreshBody(ScriptState*);
99 98
100 const Member<FetchRequestData> m_request; 99 const Member<FetchRequestData> m_request;
101 const Member<Headers> m_headers; 100 const Member<Headers> m_headers;
102 }; 101 };
103 102
104 } // namespace blink 103 } // namespace blink
105 104
106 #endif // Request_h 105 #endif // Request_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698