| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 // Flag whether this request was made when "Alternate-Protocol: xxx" | 160 // Flag whether this request was made when "Alternate-Protocol: xxx" |
| 161 // is present in server's response. | 161 // is present in server's response. |
| 162 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const; | 162 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const; |
| 163 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool); | 163 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool); |
| 164 | 164 |
| 165 // Flag whether this request was loaded via an explicit proxy (HTTP, SOCKS,
etc). | 165 // Flag whether this request was loaded via an explicit proxy (HTTP, SOCKS,
etc). |
| 166 BLINK_PLATFORM_EXPORT bool wasFetchedViaProxy() const; | 166 BLINK_PLATFORM_EXPORT bool wasFetchedViaProxy() const; |
| 167 BLINK_PLATFORM_EXPORT void setWasFetchedViaProxy(bool); | 167 BLINK_PLATFORM_EXPORT void setWasFetchedViaProxy(bool); |
| 168 | 168 |
| 169 // Flag whether this request was loaded via a ServiceWorker. |
| 170 BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const; |
| 171 BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool); |
| 172 |
| 169 // Flag whether this request is part of a multipart response. | 173 // Flag whether this request is part of a multipart response. |
| 170 BLINK_PLATFORM_EXPORT bool isMultipartPayload() const; | 174 BLINK_PLATFORM_EXPORT bool isMultipartPayload() const; |
| 171 BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool); | 175 BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool); |
| 172 | 176 |
| 173 // This indicates the location of a downloaded response if the | 177 // This indicates the location of a downloaded response if the |
| 174 // WebURLRequest had the downloadToFile flag set to true. This file path | 178 // WebURLRequest had the downloadToFile flag set to true. This file path |
| 175 // remains valid for the lifetime of the WebURLLoader used to create it. | 179 // remains valid for the lifetime of the WebURLLoader used to create it. |
| 176 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; | 180 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; |
| 177 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); | 181 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); |
| 178 | 182 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 196 protected: | 200 protected: |
| 197 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); | 201 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); |
| 198 | 202 |
| 199 private: | 203 private: |
| 200 WebURLResponsePrivate* m_private; | 204 WebURLResponsePrivate* m_private; |
| 201 }; | 205 }; |
| 202 | 206 |
| 203 } // namespace blink | 207 } // namespace blink |
| 204 | 208 |
| 205 #endif | 209 #endif |
| OLD | NEW |