OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 | 151 |
152 ResourceTimingInfo* DocumentLoader::getNavigationTimingInfo() const { | 152 ResourceTimingInfo* DocumentLoader::getNavigationTimingInfo() const { |
153 return fetcher()->getNavigationTimingInfo(); | 153 return fetcher()->getNavigationTimingInfo(); |
154 } | 154 } |
155 | 155 |
156 const ResourceRequest& DocumentLoader::originalRequest() const { | 156 const ResourceRequest& DocumentLoader::originalRequest() const { |
157 return m_originalRequest; | 157 return m_originalRequest; |
158 } | 158 } |
159 | 159 |
160 const ResourceRequest& DocumentLoader::request() const { | 160 const ResourceRequest& DocumentLoader::getRequest() const { |
161 return m_request; | 161 return m_request; |
162 } | 162 } |
163 | 163 |
164 const KURL& DocumentLoader::url() const { | 164 const KURL& DocumentLoader::url() const { |
165 return m_request.url(); | 165 return m_request.url(); |
166 } | 166 } |
167 | 167 |
168 void DocumentLoader::setSubresourceFilter( | 168 void DocumentLoader::setSubresourceFilter( |
169 std::unique_ptr<WebDocumentSubresourceFilter> subresourceFilter) { | 169 std::unique_ptr<WebDocumentSubresourceFilter> subresourceFilter) { |
170 m_subresourceFilter = std::move(subresourceFilter); | 170 m_subresourceFilter = std::move(subresourceFilter); |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 m_writer ? m_writer->encoding() : emptyAtom, true, | 818 m_writer ? m_writer->encoding() : emptyAtom, true, |
819 ForceSynchronousParsing); | 819 ForceSynchronousParsing); |
820 if (!source.isNull()) | 820 if (!source.isNull()) |
821 m_writer->appendReplacingData(source); | 821 m_writer->appendReplacingData(source); |
822 endWriting(); | 822 endWriting(); |
823 } | 823 } |
824 | 824 |
825 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 825 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
826 | 826 |
827 } // namespace blink | 827 } // namespace blink |
OLD | NEW |