Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2573523002: Rename request() method to getRequest(). (Closed)
Patch Set: Fixing a mistake I've made in USBDevice.cpp Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698