| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 // Allows the request to be matched up with its app cache host. | 218 // Allows the request to be matched up with its app cache host. |
| 219 BLINK_PLATFORM_EXPORT int appCacheHostID() const; | 219 BLINK_PLATFORM_EXPORT int appCacheHostID() const; |
| 220 BLINK_PLATFORM_EXPORT void setAppCacheHostID(int); | 220 BLINK_PLATFORM_EXPORT void setAppCacheHostID(int); |
| 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 requestor wants to receive the response body as a stream. |
| 228 BLINK_PLATFORM_EXPORT bool useStreamOnResponse() const; |
| 229 BLINK_PLATFORM_EXPORT void setUseStreamOnResponse(bool); |
| 230 |
| 227 // True if the request should not be handled by the ServiceWorker. | 231 // True if the request should not be handled by the ServiceWorker. |
| 228 BLINK_PLATFORM_EXPORT bool skipServiceWorker() const; | 232 BLINK_PLATFORM_EXPORT bool skipServiceWorker() const; |
| 229 BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool); | 233 BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool); |
| 230 | 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; |
| (...skipping 19 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 |