| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 } | 296 } |
| 297 | 297 |
| 298 bool WebURLRequest::useStreamOnResponse() const { | 298 bool WebURLRequest::useStreamOnResponse() const { |
| 299 return m_resourceRequest->useStreamOnResponse(); | 299 return m_resourceRequest->useStreamOnResponse(); |
| 300 } | 300 } |
| 301 | 301 |
| 302 void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse) { | 302 void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse) { |
| 303 m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse); | 303 m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse); |
| 304 } | 304 } |
| 305 | 305 |
| 306 WebURLRequest::SkipServiceWorker WebURLRequest::skipServiceWorker() const { | 306 WebURLRequest::ServiceWorkerMode WebURLRequest::getServiceWorkerMode() const { |
| 307 return m_resourceRequest->skipServiceWorker(); | 307 return m_resourceRequest->getServiceWorkerMode(); |
| 308 } | 308 } |
| 309 | 309 |
| 310 void WebURLRequest::setSkipServiceWorker( | 310 void WebURLRequest::setServiceWorkerMode( |
| 311 WebURLRequest::SkipServiceWorker skipServiceWorker) { | 311 WebURLRequest::ServiceWorkerMode serviceWorkerMode) { |
| 312 m_resourceRequest->setSkipServiceWorker(skipServiceWorker); | 312 m_resourceRequest->setServiceWorkerMode(serviceWorkerMode); |
| 313 } | 313 } |
| 314 | 314 |
| 315 bool WebURLRequest::shouldResetAppCache() const { | 315 bool WebURLRequest::shouldResetAppCache() const { |
| 316 return m_resourceRequest->shouldResetAppCache(); | 316 return m_resourceRequest->shouldResetAppCache(); |
| 317 } | 317 } |
| 318 | 318 |
| 319 void WebURLRequest::setShouldResetAppCache(bool setShouldResetAppCache) { | 319 void WebURLRequest::setShouldResetAppCache(bool setShouldResetAppCache) { |
| 320 m_resourceRequest->setShouldResetAppCache(setShouldResetAppCache); | 320 m_resourceRequest->setShouldResetAppCache(setShouldResetAppCache); |
| 321 } | 321 } |
| 322 | 322 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 } | 427 } |
| 428 | 428 |
| 429 const ResourceRequest& WebURLRequest::toResourceRequest() const { | 429 const ResourceRequest& WebURLRequest::toResourceRequest() const { |
| 430 DCHECK(m_resourceRequest); | 430 DCHECK(m_resourceRequest); |
| 431 return *m_resourceRequest; | 431 return *m_resourceRequest; |
| 432 } | 432 } |
| 433 | 433 |
| 434 WebURLRequest::WebURLRequest(ResourceRequest& r) : m_resourceRequest(&r) {} | 434 WebURLRequest::WebURLRequest(ResourceRequest& r) : m_resourceRequest(&r) {} |
| 435 | 435 |
| 436 } // namespace blink | 436 } // namespace blink |
| OLD | NEW |