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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 bool WebURLRequest::useStreamOnResponse() const | 336 bool WebURLRequest::useStreamOnResponse() const |
337 { | 337 { |
338 return m_private->m_resourceRequest->useStreamOnResponse(); | 338 return m_private->m_resourceRequest->useStreamOnResponse(); |
339 } | 339 } |
340 | 340 |
341 void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse) | 341 void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse) |
342 { | 342 { |
343 m_private->m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse); | 343 m_private->m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse); |
344 } | 344 } |
345 | 345 |
346 bool WebURLRequest::skipServiceWorker() const | 346 WebURLRequest::SkipServiceWorker WebURLRequest::skipServiceWorker() const |
347 { | 347 { |
348 return m_private->m_resourceRequest->skipServiceWorker(); | 348 return m_private->m_resourceRequest->skipServiceWorker(); |
349 } | 349 } |
350 | 350 |
351 void WebURLRequest::setSkipServiceWorker(bool skipServiceWorker) | 351 void WebURLRequest::setSkipServiceWorker(WebURLRequest::SkipServiceWorker skipSe
rviceWorker) |
352 { | 352 { |
353 m_private->m_resourceRequest->setSkipServiceWorker(skipServiceWorker); | 353 m_private->m_resourceRequest->setSkipServiceWorker(skipServiceWorker); |
354 } | 354 } |
355 | 355 |
356 bool WebURLRequest::shouldResetAppCache() const | 356 bool WebURLRequest::shouldResetAppCache() const |
357 { | 357 { |
358 return m_private->m_resourceRequest->shouldResetAppCache(); | 358 return m_private->m_resourceRequest->shouldResetAppCache(); |
359 } | 359 } |
360 | 360 |
361 void WebURLRequest::setShouldResetAppCache(bool setShouldResetAppCache) | 361 void WebURLRequest::setShouldResetAppCache(bool setShouldResetAppCache) |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 // Subclasses may call this directly so a self-assignment check is needed | 487 // Subclasses may call this directly so a self-assignment check is needed |
488 // here as well as in the public assign method. | 488 // here as well as in the public assign method. |
489 if (m_private == p) | 489 if (m_private == p) |
490 return; | 490 return; |
491 if (m_private) | 491 if (m_private) |
492 m_private->dispose(); | 492 m_private->dispose(); |
493 m_private = p; | 493 m_private = p; |
494 } | 494 } |
495 | 495 |
496 } // namespace blink | 496 } // namespace blink |
OLD | NEW |