| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 int WebURLRequest::appCacheContextID() const | 202 int WebURLRequest::appCacheContextID() const |
| 203 { | 203 { |
| 204 return m_private->m_resourceRequest->appCacheContextID(); | 204 return m_private->m_resourceRequest->appCacheContextID(); |
| 205 } | 205 } |
| 206 | 206 |
| 207 void WebURLRequest::setAppCacheContextID(int appCacheContextID) | 207 void WebURLRequest::setAppCacheContextID(int appCacheContextID) |
| 208 { | 208 { |
| 209 m_private->m_resourceRequest->setAppCacheContextID(appCacheContextID); | 209 m_private->m_resourceRequest->setAppCacheContextID(appCacheContextID); |
| 210 } | 210 } |
| 211 | 211 |
| 212 WebCString WebURLRequest::securityInfo() const | |
| 213 { | |
| 214 return m_private->m_resourceRequest->securityInfo(); | |
| 215 } | |
| 216 | |
| 217 void WebURLRequest::setSecurityInfo(const WebCString& securityInfo) | |
| 218 { | |
| 219 m_private->m_resourceRequest->setSecurityInfo(securityInfo); | |
| 220 } | |
| 221 | |
| 222 ResourceRequest& WebURLRequest::toMutableResourceRequest() | 212 ResourceRequest& WebURLRequest::toMutableResourceRequest() |
| 223 { | 213 { |
| 224 ASSERT(m_private); | 214 ASSERT(m_private); |
| 225 ASSERT(m_private->m_resourceRequest); | 215 ASSERT(m_private->m_resourceRequest); |
| 226 | 216 |
| 227 return *m_private->m_resourceRequest; | 217 return *m_private->m_resourceRequest; |
| 228 } | 218 } |
| 229 | 219 |
| 230 const ResourceRequest& WebURLRequest::toResourceRequest() const | 220 const ResourceRequest& WebURLRequest::toResourceRequest() const |
| 231 { | 221 { |
| 232 ASSERT(m_private); | 222 ASSERT(m_private); |
| 233 ASSERT(m_private->m_resourceRequest); | 223 ASSERT(m_private->m_resourceRequest); |
| 234 | 224 |
| 235 return *m_private->m_resourceRequest; | 225 return *m_private->m_resourceRequest; |
| 236 } | 226 } |
| 237 | 227 |
| 238 void WebURLRequest::assign(WebURLRequestPrivate* p) | 228 void WebURLRequest::assign(WebURLRequestPrivate* p) |
| 239 { | 229 { |
| 240 if (m_private == p) | 230 if (m_private == p) |
| 241 return; | 231 return; |
| 242 if (m_private) | 232 if (m_private) |
| 243 m_private->dispose(); | 233 m_private->dispose(); |
| 244 m_private = p; | 234 m_private = p; |
| 245 } | 235 } |
| 246 | 236 |
| 247 } // namespace WebKit | 237 } // namespace WebKit |
| OLD | NEW |