| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 bool WebURLRequest::allowStoredCredentials() const | 140 bool WebURLRequest::allowStoredCredentials() const |
| 141 { | 141 { |
| 142 return m_private->m_resourceRequest->allowStoredCredentials(); | 142 return m_private->m_resourceRequest->allowStoredCredentials(); |
| 143 } | 143 } |
| 144 | 144 |
| 145 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials) | 145 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials) |
| 146 { | 146 { |
| 147 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia
ls); | 147 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia
ls); |
| 148 } | 148 } |
| 149 | 149 |
| 150 WebURLRequest::CachePolicy WebURLRequest::cachePolicy() const | 150 WebURLRequest::CachePolicy WebURLRequest::getCachePolicy() const |
| 151 { | 151 { |
| 152 return static_cast<WebURLRequest::CachePolicy>( | 152 return static_cast<WebURLRequest::CachePolicy>( |
| 153 m_private->m_resourceRequest->cachePolicy()); | 153 m_private->m_resourceRequest->getCachePolicy()); |
| 154 } | 154 } |
| 155 | 155 |
| 156 void WebURLRequest::setCachePolicy(CachePolicy cachePolicy) | 156 void WebURLRequest::setCachePolicy(CachePolicy cachePolicy) |
| 157 { | 157 { |
| 158 m_private->m_resourceRequest->setCachePolicy( | 158 m_private->m_resourceRequest->setCachePolicy( |
| 159 static_cast<ResourceRequestCachePolicy>(cachePolicy)); | 159 static_cast<ResourceRequestCachePolicy>(cachePolicy)); |
| 160 } | 160 } |
| 161 | 161 |
| 162 WebString WebURLRequest::httpMethod() const | 162 WebString WebURLRequest::httpMethod() const |
| 163 { | 163 { |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 // Subclasses may call this directly so a self-assignment check is needed | 471 // Subclasses may call this directly so a self-assignment check is needed |
| 472 // here as well as in the public assign method. | 472 // here as well as in the public assign method. |
| 473 if (m_private == p) | 473 if (m_private == p) |
| 474 return; | 474 return; |
| 475 if (m_private) | 475 if (m_private) |
| 476 m_private->dispose(); | 476 m_private->dispose(); |
| 477 m_private = p; | 477 m_private = p; |
| 478 } | 478 } |
| 479 | 479 |
| 480 } // namespace blink | 480 } // namespace blink |
| OLD | NEW |