OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 BLINK_PLATFORM_EXPORT void setHTTPMethod(const WebString&); | 195 BLINK_PLATFORM_EXPORT void setHTTPMethod(const WebString&); |
196 | 196 |
197 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const
; | 197 BLINK_PLATFORM_EXPORT WebString httpHeaderField(const WebString& name) const
; |
198 // It's not possible to set the referrer header using this method. Use setHT
TPReferrer instead. | 198 // It's not possible to set the referrer header using this method. Use setHT
TPReferrer instead. |
199 BLINK_PLATFORM_EXPORT void setHTTPHeaderField(const WebString& name, const W
ebString& value); | 199 BLINK_PLATFORM_EXPORT void setHTTPHeaderField(const WebString& name, const W
ebString& value); |
200 BLINK_PLATFORM_EXPORT void setHTTPReferrer(const WebString& referrer, WebRef
errerPolicy); | 200 BLINK_PLATFORM_EXPORT void setHTTPReferrer(const WebString& referrer, WebRef
errerPolicy); |
201 BLINK_PLATFORM_EXPORT void addHTTPHeaderField(const WebString& name, const W
ebString& value); | 201 BLINK_PLATFORM_EXPORT void addHTTPHeaderField(const WebString& name, const W
ebString& value); |
202 BLINK_PLATFORM_EXPORT void clearHTTPHeaderField(const WebString& name); | 202 BLINK_PLATFORM_EXPORT void clearHTTPHeaderField(const WebString& name); |
203 BLINK_PLATFORM_EXPORT void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) cons
t; | 203 BLINK_PLATFORM_EXPORT void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) cons
t; |
204 | 204 |
| 205 BLINK_PLATFORM_EXPORT WebString defaultHTTPUserAgent() const; |
| 206 |
205 BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const; | 207 BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const; |
206 BLINK_PLATFORM_EXPORT void setHTTPBody(const WebHTTPBody&); | 208 BLINK_PLATFORM_EXPORT void setHTTPBody(const WebHTTPBody&); |
207 | 209 |
208 BLINK_PLATFORM_EXPORT WebHTTPBody attachedCredential() const; | 210 BLINK_PLATFORM_EXPORT WebHTTPBody attachedCredential() const; |
209 BLINK_PLATFORM_EXPORT void setAttachedCredential(const WebHTTPBody&); | 211 BLINK_PLATFORM_EXPORT void setAttachedCredential(const WebHTTPBody&); |
210 | 212 |
211 // Controls whether upload progress events are generated when a request | 213 // Controls whether upload progress events are generated when a request |
212 // has a body. | 214 // has a body. |
213 BLINK_PLATFORM_EXPORT bool reportUploadProgress() const; | 215 BLINK_PLATFORM_EXPORT bool reportUploadProgress() const; |
214 BLINK_PLATFORM_EXPORT void setReportUploadProgress(bool); | 216 BLINK_PLATFORM_EXPORT void setReportUploadProgress(bool); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // instance it contains. | 333 // instance it contains. |
332 std::unique_ptr<ResourceRequestContainer> m_ownedResourceRequest; | 334 std::unique_ptr<ResourceRequestContainer> m_ownedResourceRequest; |
333 | 335 |
334 // Should never be null. | 336 // Should never be null. |
335 ResourceRequest* m_resourceRequest; | 337 ResourceRequest* m_resourceRequest; |
336 }; | 338 }; |
337 | 339 |
338 } // namespace blink | 340 } // namespace blink |
339 | 341 |
340 #endif | 342 #endif |
OLD | NEW |