| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 // If true, the response body will be downloaded to a file managed by the | 222 // If true, the response body will be downloaded to a file managed by the |
| 223 // WebURLLoader. See WebURLResponse::downloadedFilePath. | 223 // WebURLLoader. See WebURLResponse::downloadedFilePath. |
| 224 BLINK_PLATFORM_EXPORT bool downloadToFile() const; | 224 BLINK_PLATFORM_EXPORT bool downloadToFile() const; |
| 225 BLINK_PLATFORM_EXPORT void setDownloadToFile(bool); | 225 BLINK_PLATFORM_EXPORT void setDownloadToFile(bool); |
| 226 | 226 |
| 227 // True if the request should not be handled by the ServiceWorker. | 227 // True if the request should not be handled by the ServiceWorker. |
| 228 BLINK_PLATFORM_EXPORT bool skipServiceWorker() const; | 228 BLINK_PLATFORM_EXPORT bool skipServiceWorker() const; |
| 229 BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool); | 229 BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool); |
| 230 | 230 |
| 231 // True if the requestor wants to receive the response body as a stream. |
| 232 BLINK_PLATFORM_EXPORT bool useStreamOnResponse() const; |
| 233 BLINK_PLATFORM_EXPORT void setUseStreamOnResponse(bool); |
| 234 |
| 231 // The request mode which will be passed to the ServiceWorker. | 235 // The request mode which will be passed to the ServiceWorker. |
| 232 BLINK_PLATFORM_EXPORT FetchRequestMode fetchRequestMode() const; | 236 BLINK_PLATFORM_EXPORT FetchRequestMode fetchRequestMode() const; |
| 233 BLINK_PLATFORM_EXPORT void setFetchRequestMode(FetchRequestMode); | 237 BLINK_PLATFORM_EXPORT void setFetchRequestMode(FetchRequestMode); |
| 234 | 238 |
| 235 // The credentials mode which will be passed to the ServiceWorker. | 239 // The credentials mode which will be passed to the ServiceWorker. |
| 236 BLINK_PLATFORM_EXPORT FetchCredentialsMode fetchCredentialsMode() const; | 240 BLINK_PLATFORM_EXPORT FetchCredentialsMode fetchCredentialsMode() const; |
| 237 BLINK_PLATFORM_EXPORT void setFetchCredentialsMode(FetchCredentialsMode); | 241 BLINK_PLATFORM_EXPORT void setFetchCredentialsMode(FetchCredentialsMode); |
| 238 | 242 |
| 239 // Extra data associated with the underlying resource request. Resource | 243 // Extra data associated with the underlying resource request. Resource |
| 240 // requests can be copied. If non-null, each copy of a resource requests | 244 // requests can be copied. If non-null, each copy of a resource requests |
| (...skipping 15 matching lines...) Expand all Loading... |
| 256 protected: | 260 protected: |
| 257 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 261 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 258 | 262 |
| 259 private: | 263 private: |
| 260 WebURLRequestPrivate* m_private; | 264 WebURLRequestPrivate* m_private; |
| 261 }; | 265 }; |
| 262 | 266 |
| 263 } // namespace blink | 267 } // namespace blink |
| 264 | 268 |
| 265 #endif | 269 #endif |
| OLD | NEW |