| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 BLINK_PLATFORM_EXPORT void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) cons
t; | 142 BLINK_PLATFORM_EXPORT void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) cons
t; |
| 143 | 143 |
| 144 BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const; | 144 BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const; |
| 145 BLINK_PLATFORM_EXPORT void setHTTPBody(const WebHTTPBody&); | 145 BLINK_PLATFORM_EXPORT void setHTTPBody(const WebHTTPBody&); |
| 146 | 146 |
| 147 // Controls whether upload progress events are generated when a request | 147 // Controls whether upload progress events are generated when a request |
| 148 // has a body. | 148 // has a body. |
| 149 BLINK_PLATFORM_EXPORT bool reportUploadProgress() const; | 149 BLINK_PLATFORM_EXPORT bool reportUploadProgress() const; |
| 150 BLINK_PLATFORM_EXPORT void setReportUploadProgress(bool); | 150 BLINK_PLATFORM_EXPORT void setReportUploadProgress(bool); |
| 151 | 151 |
| 152 // Controls whether load timing info is collected for the request. | |
| 153 BLINK_PLATFORM_EXPORT bool reportLoadTiming() const; | |
| 154 BLINK_PLATFORM_EXPORT void setReportLoadTiming(bool); | |
| 155 | |
| 156 // Controls whether actual headers sent and received for request are | 152 // Controls whether actual headers sent and received for request are |
| 157 // collected and reported. | 153 // collected and reported. |
| 158 BLINK_PLATFORM_EXPORT bool reportRawHeaders() const; | 154 BLINK_PLATFORM_EXPORT bool reportRawHeaders() const; |
| 159 BLINK_PLATFORM_EXPORT void setReportRawHeaders(bool); | 155 BLINK_PLATFORM_EXPORT void setReportRawHeaders(bool); |
| 160 | 156 |
| 161 BLINK_PLATFORM_EXPORT TargetType targetType() const; | 157 BLINK_PLATFORM_EXPORT TargetType targetType() const; |
| 162 BLINK_PLATFORM_EXPORT void setTargetType(TargetType); | 158 BLINK_PLATFORM_EXPORT void setTargetType(TargetType); |
| 163 | 159 |
| 164 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const; | 160 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const; |
| 165 | 161 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 protected: | 201 protected: |
| 206 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 202 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 207 | 203 |
| 208 private: | 204 private: |
| 209 WebURLRequestPrivate* m_private; | 205 WebURLRequestPrivate* m_private; |
| 210 }; | 206 }; |
| 211 | 207 |
| 212 } // namespace blink | 208 } // namespace blink |
| 213 | 209 |
| 214 #endif | 210 #endif |
| OLD | NEW |