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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 WebURLRequest::FetchRequestMode WebURLRequest::fetchRequestMode() const | 315 WebURLRequest::FetchRequestMode WebURLRequest::fetchRequestMode() const |
316 { | 316 { |
317 return m_private->m_resourceRequest->fetchRequestMode(); | 317 return m_private->m_resourceRequest->fetchRequestMode(); |
318 } | 318 } |
319 | 319 |
320 void WebURLRequest::setFetchRequestMode(WebURLRequest::FetchRequestMode mode) | 320 void WebURLRequest::setFetchRequestMode(WebURLRequest::FetchRequestMode mode) |
321 { | 321 { |
322 return m_private->m_resourceRequest->setFetchRequestMode(mode); | 322 return m_private->m_resourceRequest->setFetchRequestMode(mode); |
323 } | 323 } |
324 | 324 |
| 325 WebURLRequest::FetchCredentialsMode WebURLRequest::fetchCredentialsMode() const |
| 326 { |
| 327 return m_private->m_resourceRequest->fetchCredentialsMode(); |
| 328 } |
| 329 |
| 330 void WebURLRequest::setFetchCredentialsMode(WebURLRequest::FetchCredentialsMode
mode) |
| 331 { |
| 332 return m_private->m_resourceRequest->setFetchCredentialsMode(mode); |
| 333 } |
| 334 |
325 WebURLRequest::ExtraData* WebURLRequest::extraData() const | 335 WebURLRequest::ExtraData* WebURLRequest::extraData() const |
326 { | 336 { |
327 RefPtr<ResourceRequest::ExtraData> data = m_private->m_resourceRequest->extr
aData(); | 337 RefPtr<ResourceRequest::ExtraData> data = m_private->m_resourceRequest->extr
aData(); |
328 if (!data) | 338 if (!data) |
329 return 0; | 339 return 0; |
330 return static_cast<ExtraDataContainer*>(data.get())->extraData(); | 340 return static_cast<ExtraDataContainer*>(data.get())->extraData(); |
331 } | 341 } |
332 | 342 |
333 void WebURLRequest::setExtraData(WebURLRequest::ExtraData* extraData) | 343 void WebURLRequest::setExtraData(WebURLRequest::ExtraData* extraData) |
334 { | 344 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 // Subclasses may call this directly so a self-assignment check is needed | 378 // Subclasses may call this directly so a self-assignment check is needed |
369 // here as well as in the public assign method. | 379 // here as well as in the public assign method. |
370 if (m_private == p) | 380 if (m_private == p) |
371 return; | 381 return; |
372 if (m_private) | 382 if (m_private) |
373 m_private->dispose(); | 383 m_private->dispose(); |
374 m_private = p; | 384 m_private = p; |
375 } | 385 } |
376 | 386 |
377 } // namespace blink | 387 } // namespace blink |
OLD | NEW |