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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 } | 52 } |
53 | 53 |
54 const WebURLRequest& WebDataSourceImpl::originalRequest() const { | 54 const WebURLRequest& WebDataSourceImpl::originalRequest() const { |
55 return m_originalRequestWrapper; | 55 return m_originalRequestWrapper; |
56 } | 56 } |
57 | 57 |
58 const WebURLRequest& WebDataSourceImpl::getRequest() const { | 58 const WebURLRequest& WebDataSourceImpl::getRequest() const { |
59 return m_requestWrapper; | 59 return m_requestWrapper; |
60 } | 60 } |
61 | 61 |
| 62 WebURLRequest& WebDataSourceImpl::getRequestWritable() { |
| 63 return m_requestWrapper; |
| 64 } |
62 const WebURLResponse& WebDataSourceImpl::response() const { | 65 const WebURLResponse& WebDataSourceImpl::response() const { |
63 return m_responseWrapper; | 66 return m_responseWrapper; |
64 } | 67 } |
65 | 68 |
66 bool WebDataSourceImpl::hasUnreachableURL() const { | 69 bool WebDataSourceImpl::hasUnreachableURL() const { |
67 return !DocumentLoader::unreachableURL().isEmpty(); | 70 return !DocumentLoader::unreachableURL().isEmpty(); |
68 } | 71 } |
69 | 72 |
70 WebURL WebDataSourceImpl::unreachableURL() const { | 73 WebURL WebDataSourceImpl::unreachableURL() const { |
71 return DocumentLoader::unreachableURL(); | 74 return DocumentLoader::unreachableURL(); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 WebDocumentSubresourceFilter* subresourceFilter) { | 162 WebDocumentSubresourceFilter* subresourceFilter) { |
160 DocumentLoader::setSubresourceFilter( | 163 DocumentLoader::setSubresourceFilter( |
161 SubresourceFilter::create(this, WTF::wrapUnique(subresourceFilter))); | 164 SubresourceFilter::create(this, WTF::wrapUnique(subresourceFilter))); |
162 } | 165 } |
163 | 166 |
164 DEFINE_TRACE(WebDataSourceImpl) { | 167 DEFINE_TRACE(WebDataSourceImpl) { |
165 DocumentLoader::trace(visitor); | 168 DocumentLoader::trace(visitor); |
166 } | 169 } |
167 | 170 |
168 } // namespace blink | 171 } // namespace blink |
OLD | NEW |