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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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
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 #include "config.h" 5 #include "config.h"
6 #include "modules/fetch/FetchRequestData.h" 6 #include "modules/fetch/FetchRequestData.h"
7 7
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/fetch/ResourceLoaderOptions.h" 9 #include "core/fetch/ResourceLoaderOptions.h"
10 #include "core/loader/ThreadableLoader.h" 10 #include "core/loader/ThreadableLoader.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 , m_context(WebURLRequest::RequestContextUnspecified) 93 , m_context(WebURLRequest::RequestContextUnspecified)
94 , m_sameOriginDataURLFlag(false) 94 , m_sameOriginDataURLFlag(false)
95 , m_referrer(Referrer(clientReferrerString(), ReferrerPolicyDefault)) 95 , m_referrer(Referrer(clientReferrerString(), ReferrerPolicyDefault))
96 , m_mode(WebURLRequest::FetchRequestModeNoCORS) 96 , m_mode(WebURLRequest::FetchRequestModeNoCORS)
97 , m_credentials(WebURLRequest::FetchCredentialsModeOmit) 97 , m_credentials(WebURLRequest::FetchCredentialsModeOmit)
98 , m_redirect(WebURLRequest::FetchRedirectModeFollow) 98 , m_redirect(WebURLRequest::FetchRedirectModeFollow)
99 , m_responseTainting(BasicTainting) 99 , m_responseTainting(BasicTainting)
100 { 100 {
101 } 101 }
102 102
103 BodyStreamBuffer* FetchRequestData::buffer() const
104 {
105 return m_buffer;
106 }
107
108 void FetchRequestData::setBuffer(BodyStreamBuffer* buffer)
109 {
110 m_buffer = buffer;
111 }
112
113 DEFINE_TRACE(FetchRequestData) 103 DEFINE_TRACE(FetchRequestData)
114 { 104 {
115 visitor->trace(m_buffer); 105 visitor->trace(m_buffer);
116 visitor->trace(m_headerList); 106 visitor->trace(m_headerList);
117 } 107 }
118 108
119 } // namespace blink 109 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698