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 FetchRequestData_h | 5 #ifndef FetchRequestData_h |
6 #define FetchRequestData_h | 6 #define FetchRequestData_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "platform/weborigin/KURL.h" | 9 #include "platform/weborigin/KURL.h" |
10 #include "platform/weborigin/Referrer.h" | 10 #include "platform/weborigin/Referrer.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool sameOriginDataURLFlag() { return m_sameOriginDataURLFlag; } | 76 bool sameOriginDataURLFlag() { return m_sameOriginDataURLFlag; } |
77 const Referrer& referrer() const { return m_referrer; } | 77 const Referrer& referrer() const { return m_referrer; } |
78 void setMode(Mode mode) { m_mode = mode; } | 78 void setMode(Mode mode) { m_mode = mode; } |
79 Mode mode() const { return m_mode; } | 79 Mode mode() const { return m_mode; } |
80 void setCredentials(Credentials credentials) { m_credentials = credentials;
} | 80 void setCredentials(Credentials credentials) { m_credentials = credentials;
} |
81 Credentials credentials() const { return m_credentials; } | 81 Credentials credentials() const { return m_credentials; } |
82 void setResponseTainting(Tainting tainting) { m_responseTainting = tainting;
} | 82 void setResponseTainting(Tainting tainting) { m_responseTainting = tainting;
} |
83 Tainting tainting() const { return m_responseTainting; } | 83 Tainting tainting() const { return m_responseTainting; } |
84 FetchHeaderList* headerList() { return m_headerList.get(); } | 84 FetchHeaderList* headerList() { return m_headerList.get(); } |
85 PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle;
} | 85 PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle;
} |
| 86 void setBlobDataHandle(PassRefPtr<BlobDataHandle> blobHandle) { m_blobDataHa
ndle = blobHandle; } |
86 | 87 |
87 void trace(Visitor*); | 88 void trace(Visitor*); |
88 | 89 |
89 private: | 90 private: |
90 FetchRequestData(); | 91 FetchRequestData(); |
91 | 92 |
92 static PassRefPtrWillBeRawPtr<FetchRequestData> create(); | 93 static PassRefPtrWillBeRawPtr<FetchRequestData> create(); |
93 | 94 |
94 AtomicString m_method; | 95 AtomicString m_method; |
95 KURL m_url; | 96 KURL m_url; |
(...skipping 12 matching lines...) Expand all Loading... |
108 Credentials m_credentials; | 109 Credentials m_credentials; |
109 // FIXME: Support m_useURLCredentialsFlag; | 110 // FIXME: Support m_useURLCredentialsFlag; |
110 // FIXME: Support m_manualRedirectFlag; | 111 // FIXME: Support m_manualRedirectFlag; |
111 // FIXME: Support m_redirectCount; | 112 // FIXME: Support m_redirectCount; |
112 Tainting m_responseTainting; | 113 Tainting m_responseTainting; |
113 }; | 114 }; |
114 | 115 |
115 } // namespace blink | 116 } // namespace blink |
116 | 117 |
117 #endif // FetchRequestData_h | 118 #endif // FetchRequestData_h |
OLD | NEW |