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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 bool WebURLRequest::skipServiceWorker() const | 302 bool WebURLRequest::skipServiceWorker() const |
303 { | 303 { |
304 return m_private->m_resourceRequest->skipServiceWorker(); | 304 return m_private->m_resourceRequest->skipServiceWorker(); |
305 } | 305 } |
306 | 306 |
307 void WebURLRequest::setSkipServiceWorker(bool skipServiceWorker) | 307 void WebURLRequest::setSkipServiceWorker(bool skipServiceWorker) |
308 { | 308 { |
309 m_private->m_resourceRequest->setSkipServiceWorker(skipServiceWorker); | 309 m_private->m_resourceRequest->setSkipServiceWorker(skipServiceWorker); |
310 } | 310 } |
311 | 311 |
312 bool WebURLRequest::useStreamOnResponse() const | |
313 { | |
314 return m_private->m_resourceRequest->useStreamOnResponse(); | |
315 } | |
316 | |
317 void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse) | |
318 { | |
319 m_private->m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse); | |
320 } | |
321 | |
tyoshino (SeeGerritForStatus)
2014/11/12 04:22:03
how about putting this next to downloadToFile as b
yhirano
2014/11/12 04:52:09
Done.
| |
312 WebURLRequest::FetchRequestMode WebURLRequest::fetchRequestMode() const | 322 WebURLRequest::FetchRequestMode WebURLRequest::fetchRequestMode() const |
313 { | 323 { |
314 return m_private->m_resourceRequest->fetchRequestMode(); | 324 return m_private->m_resourceRequest->fetchRequestMode(); |
315 } | 325 } |
316 | 326 |
317 void WebURLRequest::setFetchRequestMode(WebURLRequest::FetchRequestMode mode) | 327 void WebURLRequest::setFetchRequestMode(WebURLRequest::FetchRequestMode mode) |
318 { | 328 { |
319 return m_private->m_resourceRequest->setFetchRequestMode(mode); | 329 return m_private->m_resourceRequest->setFetchRequestMode(mode); |
320 } | 330 } |
321 | 331 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
375 // Subclasses may call this directly so a self-assignment check is needed | 385 // Subclasses may call this directly so a self-assignment check is needed |
376 // here as well as in the public assign method. | 386 // here as well as in the public assign method. |
377 if (m_private == p) | 387 if (m_private == p) |
378 return; | 388 return; |
379 if (m_private) | 389 if (m_private) |
380 m_private->dispose(); | 390 m_private->dispose(); |
381 m_private = p; | 391 m_private = p; |
382 } | 392 } |
383 | 393 |
384 } // namespace blink | 394 } // namespace blink |
OLD | NEW |