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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 WebURL WebURLResponse::appCacheManifestURL() const | 297 WebURL WebURLResponse::appCacheManifestURL() const |
298 { | 298 { |
299 return m_resourceResponse->appCacheManifestURL(); | 299 return m_resourceResponse->appCacheManifestURL(); |
300 } | 300 } |
301 | 301 |
302 void WebURLResponse::setAppCacheManifestURL(const WebURL& url) | 302 void WebURLResponse::setAppCacheManifestURL(const WebURL& url) |
303 { | 303 { |
304 m_resourceResponse->setAppCacheManifestURL(url); | 304 m_resourceResponse->setAppCacheManifestURL(url); |
305 } | 305 } |
306 | 306 |
307 WebCString WebURLResponse::securityInfo() const | |
308 { | |
309 // FIXME: getSecurityInfo is misnamed. | |
310 return m_resourceResponse->getSecurityInfo(); | |
311 } | |
312 | |
313 void WebURLResponse::setSecurityInfo(const WebCString& securityInfo) | |
314 { | |
315 m_resourceResponse->setSecurityInfo(securityInfo); | |
316 } | |
317 | |
318 void WebURLResponse::setHasMajorCertificateErrors(bool value) | 307 void WebURLResponse::setHasMajorCertificateErrors(bool value) |
319 { | 308 { |
320 m_resourceResponse->setHasMajorCertificateErrors(value); | 309 m_resourceResponse->setHasMajorCertificateErrors(value); |
321 } | 310 } |
322 | 311 |
323 WebURLResponse::SecurityStyle WebURLResponse::getSecurityStyle() const | 312 WebURLResponse::SecurityStyle WebURLResponse::getSecurityStyle() const |
324 { | 313 { |
325 return static_cast<SecurityStyle>(m_resourceResponse->getSecurityStyle()); | 314 return static_cast<SecurityStyle>(m_resourceResponse->getSecurityStyle()); |
326 } | 315 } |
327 | 316 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 { | 539 { |
551 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); | 540 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); |
552 } | 541 } |
553 | 542 |
554 WebURLResponse::WebURLResponse(ResourceResponse& r) | 543 WebURLResponse::WebURLResponse(ResourceResponse& r) |
555 : m_resourceResponse(&r) | 544 : m_resourceResponse(&r) |
556 { | 545 { |
557 } | 546 } |
558 | 547 |
559 } // namespace blink | 548 } // namespace blink |
OLD | NEW |