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